{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"prompt.BuildRCAProvisionalReviewSection (cyclomatic 16): prompt.BuildRCAProvisionalReviewSection has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/prompt/history.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc6f81d8a0d48177e2df9fd609e8929faac5dc03af94d67927e2ffffd30efd5"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.sdkEventToACP (cognitive 20): runtime.sdkEventToACP has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 12). 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":"docs/spikes/oas-runtime/internal/runtime/agent.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f5f539587efdef33eb25753cfe611ed1d74f23f81fbdd1397e3bc4b1135ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.ComputePodHealthStats (cognitive 20): controller.ComputePodHealthStats has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/pod_health.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839a16fcc9c44dc83141c117400258986e1cac07eef4e570e2625cdf7ba05a2"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt.BuildRCAProvisionalReviewSection (cognitive 20): prompt.BuildRCAProvisionalReviewSection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 2 (4 pts), boolean chains 1 (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, 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/kubernautagent/prompt/history.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a062e764d09d8493d87c9ff8a07748f89b817e38c767f0e791f16fb4c5d3ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"CRDSessionService.MaterializeCRD (cognitive 20): CRDSessionService.MaterializeCRD has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (3 pts), boolean chains 2 (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":"pkg/apifrontend/session/service.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"223dd122329337a0d762d9301ef62f676a3c48e0450dc1d7a89b2c196ce69fcb"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.BridgeEventsToA2A (cognitive 20): tools.BridgeEventsToA2A has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f5ed7c4007c780ed2db21e71f7b39db5e68b68fa23317918035839cb4edc08"}},{"ruleId":"D2","level":"warning","message":{"text":"DLQRetryWorker.writeToPostgres (cognitive 20): DLQRetryWorker.writeToPostgres has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 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":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dc487122414f4ec8cf71b5e2b74fae673b89061c0fde8eb8d6f3c39aa8401a"}},{"ruleId":"D2","level":"warning","message":{"text":"fleet.NewScopeChecker (cognitive 20): fleet.NewScopeChecker has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, loops 1, match/switch 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":"pkg/fleet/scope_factory.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a8f32713ea9bcb7457077711ec9a6a3bbf707e8b27abf7ff6c1e94c7a63a58"}},{"ruleId":"D2","level":"warning","message":{"text":"reconnectRun.manageDeadline (cognitive 20): reconnectRun.manageDeadline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (7 pts), loops 1 (nesting depth added 12). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"pkg/fleet/mcpclient/resilience.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbfc2c591a2ea1dff7aa08148647b0000eb89281f6a2f231bc79093f3e4078f"}},{"ruleId":"D2","level":"warning","message":{"text":"audit.buildSignalProcessedPayload (cognitive 20): audit.buildSignalProcessedPayload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (20 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b608571c69ec6b3326fee852f0231e8d69681926af699ec1afab5bfbc16da"}},{"ruleId":"D2","level":"warning","message":{"text":"main.testDenyDestructiveTool (cognitive 19): main.testDenyDestructiveTool has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd71d414f115d5e1e9e6dc2c01b512d9dff4eb61072adcb852cfc688ac3e639b"}},{"ruleId":"D2","level":"warning","message":{"text":"Investigator.continueRCAWithHistory (cognitive 19): Investigator.continueRCAWithHistory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, 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/kubernautagent/investigator/investigator.go"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f124ccbfdce7b458fb984bddcd4a678e8956a37ec4189951b0a8623e031a07e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Investigator.resolveTargetScopedCorrectionSubmission (cognitive 19): Investigator.resolveTargetScopedCorrectionSubmission has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), 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":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02d2cee83022a0432b1421b99a83246bbfd20effd5759705200481ccbc678a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 19): Config.Validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/config.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02ab8e6814884ace772eefdae11488cda990cdc571ecbd555e2bc9e2be3cf75"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWatcher.watchLoop (cognitive 19): FileWatcher.watchLoop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"pkg/apifrontend/config/hotreload.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b797a1b02bc9f3250357d246744cb8baf36ecc1a7b0e8faac417c476b38572f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.authorize (cognitive 19): Service.authorize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/service.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938569cf04e5c350a63a33936e6db0c72ff4b775e42e26bf956592b446e7d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"session.trimEventFunctionResponses (cognitive 19): session.trimEventFunctionResponses has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/trimming.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4615739ff644e5c064e1de4a105ce9c0a8435f720f2933f5354a071c10890063"}},{"ruleId":"D2","level":"warning","message":{"text":"Triager.triagePipeline (cognitive 19): Triager.triagePipeline has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dff35a4acf04adbe937969a4c8c4df640f0695f34abcd2bacc166173ced4e14"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferedAuditStore.writeBatchChunkWithRetry (cognitive 19): BufferedAuditStore.writeBatchChunkWithRetry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (4 pts), 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":"pkg/audit/store.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f34a603893536ec1eb9394db2e228af59755281cedfdc9b5268a9a7cd322a2"}},{"ruleId":"D2","level":"warning","message":{"text":"acm.inventoryResultPage (cognitive 19): acm.inventoryResultPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 2, match/switch 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":"pkg/fleet/acm/inventory.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"599f93098fd61ad86232b0b7fbfee681f2f8487e9d3eb30691a9c7bbc0ea5b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"FleetConfig.Validate (cognitive 19): FleetConfig.Validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3 (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":"pkg/fleet/config.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"947fde2f0b2a279bfdf36e5ec80441868de119e921643334515ff71dcf7061a5"}},{"ruleId":"D2","level":"warning","message":{"text":"geminifamily.accumulateContentBlocks (cognitive 19): geminifamily.accumulateContentBlocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), 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":"pkg/kubernautagent/llm/geminifamily/conv.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9256b35e91194c001026863dc8d805fb394971f3157c2af323fe8c3bd72ee9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWatcher.watchLoop (cognitive 19): FileWatcher.watchLoop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"pkg/shared/hotreload/file_watcher.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce3af884bcee55546e9064d6810f7f2130898dfa1e7ecc18556e5d85cc6935"}},{"ruleId":"D2","level":"warning","message":{"text":"K8sOwnerResolver.ResolveTopLevelOwnerWithAPIVersion (cognitive 19): K8sOwnerResolver.ResolveTopLevelOwnerWithAPIVersion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/k8s/ownerchain/owner_resolver.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a763904f919188d56a3df9bf48446c421990edad60da6086cffe1d34f8cead"}},{"ruleId":"D2","level":"warning","message":{"text":"types.typedParameterValueToEngineValue (cognitive 19): types.typedParameterValueToEngineValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). 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":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ab55df07cc5fbac91dd344cf8e79bdd6bab2315db5765b433de2ffcb9ebb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalProcessingReconciler.applyEnrichmentCustomLabels (cognitive 18): SignalProcessingReconciler.applyEnrichmentCustomLabels has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/signalprocessing_enriching.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f190a85bd0611d6488c08babb368868353ef0de86343616e183303c69eab2b08"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMRuntimeConfig.Validate (cognitive 18): LLMRuntimeConfig.Validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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/kubernautagent/config/config.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d5a906098805a5f4161dc3b8f89cc26aac766f915d55008a66fd09c3e0e4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"K8sAdapter.GetOwnerChain (cognitive 18): K8sAdapter.GetOwnerChain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0cb195dec311349672d4ddd1101dd2ee376757987adfd2bbb6edd18d44220e"}},{"ruleId":"D2","level":"warning","message":{"text":"K8sAdapter.getResourceWithFallback (cognitive 18): K8sAdapter.getResourceWithFallback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde546dc99cb95eb7be39a56aae82e5f2a034a270abfd94045c050512754b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.Cleanup (cognitive 18): Store.Cleanup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), 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/kubernautagent/session/store.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ad75b273a0516724ac3977001253d3c1e5ca863b2a8129955c64ac25f8f3c4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.historySanitizer (cognitive 18): agent.historySanitizer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/history_sanitizer.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cf1cd19d4033e7f342a7dcad8a736fc512d72057afffececbeb82d51c68a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"JWTValidator.Validate (cognitive 18): JWTValidator.Validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 1 (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":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"291c8ac8a06999ca9af4e77e941331117e4c78fca2bbe157a3d98b297a32b959"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.validateJWTProviders (cognitive 18): Config.validateJWTProviders has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/config.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"a643324ba9824712462259797e1d02396b7b94068ec2abafe5e3094763d59441"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.aggregateByPhase (cognitive 18): tools.aggregateByPhase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ds_tools.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"81daa7f9f8d45faaeb94325e22308f899f74e8b064fea1ac89b23558dba048bf"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ValidateWorkflowParameters (cognitive 18): tools.ValidateWorkflowParameters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, 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":"pkg/apifrontend/tools/ka_tools.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f225d0ce0b76a1d6ca8a4c0dc246c7273bf0a97748ac00b4d048d7d9422b3"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.HandleCompleteNoAction (cognitive 18): tools.HandleCompleteNoAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_tools.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf7762196c493b565f0deb3a76001e1c69e8531e9dd74b40e07ed19434b1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.collectNamespaceResources (cognitive 18): Client.collectNamespaceResources has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/inventory.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdce324aa6611f3d443b6257c057afda62365766a9016a4037dea986f204575"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeTool.executeWithBinding (cognitive 18): BridgeTool.executeWithBinding has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/bridge_tool.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498a7fbcb9632f51d1327c8b1f6b6b207619549c870560579a5a2157b395259"}},{"ruleId":"D2","level":"warning","message":{"text":"types.TypedParameterValueToJSONValue (cognitive 18): types.TypedParameterValueToJSONValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), boolean chains 1, match/switch 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":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d534209ef3619f4e962af03b065faaf3800cc9f2447f2fad267ba895321a96d"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationRequestReconciler.rebuildPagerDutyDeliveryServices (cognitive 17): NotificationRequestReconciler.rebuildPagerDutyDeliveryServices has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/routing_handler.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64762dcab224630b866ad8efda94ab2c3538bbf499868ac91acfb1b514c00f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler.Reconcile (cognitive 17): Reconciler.Reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (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":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d4de674e30e0455ea386b53657818877f0425511281b4b897978c16165374"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowExecutionReconciler.recordPendingSelectionAudit (cognitive 17): WorkflowExecutionReconciler.recordPendingSelectionAudit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_pending.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1e7e33341ec63f0c60cfa877623c4b6ca4698521672f5911622c497b5e2b60"}},{"ruleId":"D2","level":"warning","message":{"text":"enrichment.summarizeQuotas (cognitive 17): enrichment.summarizeQuotas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/label_detector.go"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ed5a2e606c9e6fcd2e4b16bf7ca688f6615f9bced36ee7c2b48fb25cf1b28"}},{"ruleId":"D2","level":"warning","message":{"text":"investigator.resourceListItemsWellFormed (cognitive 17): investigator.resourceListItemsWellFormed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, 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/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d1892109ba35a0f5cc1420dbaa6414f2edba108f38bc8b4c76eab144789ca2"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.waitForAgentSessionDispatch (cognitive 17): tools.waitForAgentSessionDispatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_start.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf974a16fa6389f9be5e07d419395fa22fcf2a9371b090c455d1614283cfc70"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.unwrapDoubleSerializedJSON (cognitive 17): parser.unwrapDoubleSerializedJSON has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8fe146062ad5e2ec3da3a8d530b0a16b9a6507c88a2bf6e23ebacde7ef5c99"}},{"ruleId":"D2","level":"warning","message":{"text":"Triager.Triage (cognitive 17): Triager.Triage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7bb9b0cd36d73d5e32473b6ca3451788faeb2cca28a8cd51bb0a37810e499"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.extractTargetResource (cognitive 17): adapters.extractTargetResource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fba4ad44d4a09f537d017c5bd18bd1f7a4914a7367ffc5b0f88d0d63216842"}},{"ruleId":"D2","level":"warning","message":{"text":"geminifamily.convertAssistantMessage (cognitive 17): geminifamily.convertAssistantMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/llm/geminifamily/conv.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb626d1aef9e02fec96be6e778a79fdae9aaed4e8fc75534c6a12058d626be"}},{"ruleId":"D2","level":"warning","message":{"text":"logs.fetchContainerLogs (cognitive 17): logs.fetchContainerLogs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/logs/fetch_pod_logs.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f7db7cf6fcad115666ff0ae9b0c8422c71bda1e6e9eb4c465369ec90c82934"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.watchLoop (cognitive 17): Resolver.watchLoop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/credentials/resolver.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc720bc18557b421fa35e7bd81f1b9ac767d7d4fe75e413ef59af3b879b2033f"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.ValidateCredentialRefs (cognitive 17): Config.ValidateCredentialRefs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/routing/config.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e101a8a1b5624f350ac229ddfc8f422073dbd0eec435e028e518477d3aa479d"}},{"ruleId":"D2","level":"warning","message":{"text":"remediationapprovalrequest.augmentValidationSchema (cognitive 17): remediationapprovalrequest.augmentValidationSchema has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/parameters.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb185e85d2c1c68e4cc2f18e2955531f96de581f73be5fc4f6849cbc0105250f"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutingEngine.FindRecentCompletedWFE (cognitive 17): RoutingEngine.FindRecentCompletedWFE has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c9baaf5f09d39b0582a454bae046c7c8777c23c9608a6ea8373efef0bb222f"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator.validateAndSanitizeLabels (cognitive 17): evaluator.validateAndSanitizeLabels has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/evaluator/evaluator.go"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c535726008d37d9bfd168363d4dcf734a1e81d785fa770d4c4d144c920b17"}},{"ruleId":"D2","level":"warning","message":{"text":"main.testStreamWithShadowForwarding (cognitive 16): main.testStreamWithShadowForwarding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2, match/switch 1 (2 pts), boolean chains 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":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0fe6cad30f2c9cd4a8e25e1f5d10208e5e748ac213826f6053a7915d37a592"}},{"ruleId":"D2","level":"warning","message":{"text":"Investigator.RunWorkflowDiscoveryFromRCA (cognitive 16): Investigator.RunWorkflowDiscoveryFromRCA has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_discovery.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b18e77df4396200fa6c96f2d7ea7d5ffd63ad7c1b14ba31f653c115b2deb1"}},{"ruleId":"D2","level":"warning","message":{"text":"Investigator.verifyExactTargetAPIVersion (cognitive 16): Investigator.verifyExactTargetAPIVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e0f15536d5f7efb3f22ad88430b0e46d7f537fd85bcd5fe186f386ed3ef06f"}},{"ruleId":"D2","level":"warning","message":{"text":"Investigator.retryForAPIVersion (cognitive 16): Investigator.retryForAPIVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d92eb5c250e9650772d9bff86d3d79467b8ef5c3b3a09064bee01815c47e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"InvestigateTool.handleMessage (cognitive 16): InvestigateTool.handleMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_takeover.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d325fefd42e3a774a5ab7a59223e75f1c683488eef718cab03b36769a02dc2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Validator.validateParameters (cognitive 16): Validator.validateParameters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/validator.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b2fa473b34f8a8231ed8d3069a306140a0970e145d075c067885aeaf973f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt.DetectDecliningEffectiveness (cognitive 16): prompt.DetectDecliningEffectiveness has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/prompt/history.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6238148624a8475cb933120f8d1e041d1a6a6f9a503e262cf067b28750a3753a"}},{"ruleId":"D2","level":"warning","message":{"text":"launcher.discoveryFromEvents (cognitive 16): launcher.discoveryFromEvents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2 (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":"pkg/apifrontend/launcher/completion_coordinator.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c2b5cfceb85307d08da69c8d1fcd3c98a26c70fb897c5a07e928c493261069"}},{"ruleId":"D2","level":"warning","message":{"text":"policyread.listTargets (cognitive 16): policyread.listTargets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/service.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3eab4d04f9291783aa40dd170757e8cf4b20c2ae9e61b5b735b7b41d844b781"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.readInventoryPage (cognitive 16): Service.readInventoryPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/service.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0faa82bc97e994803409329d91cee16a248fa595b98865e8eba913fcfe84173"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryTransport.RoundTrip (cognitive 16): RetryTransport.RoundTrip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"086b1516f120f2a2123b23268eee2f2144ba6bfbd6dd9ff9bbb170e14fadfc90"}},{"ruleId":"D2","level":"warning","message":{"text":"severity.labelsOverlap (cognitive 16): severity.labelsOverlap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, 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":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b682d6ea90c430ae5f7f40387bcf0c95081f3e92a2e9422466d5db2920fedb"}},{"ruleId":"D2","level":"warning","message":{"text":"Triager.collectTier2Rules (cognitive 16): Triager.collectTier2Rules has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c41d10cafa50a3468a521285186660d4284f61b86025a7ce0b2238db898488"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.HandleGetAlertDetails (cognitive 16): tools.HandleGetAlertDetails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, 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":"pkg/apifrontend/tools/af_alerts.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fca1cbb3f4cf6be8ca7d655b1f30cd97228bf2417688ff6e66a29a045f582a"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.drainStreamPass (cognitive 16): Client.drainStreamPass has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client_drain.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6648f1e8186b980acee636caafe05c20facb146ca96ea5f8c600f3bd4f420cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"RemediationHistoryRepository.QueryAIAnalysisDecisionContextBatch (cognitive 16): RemediationHistoryRepository.QueryAIAnalysisDecisionContextBatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"pkg/datastorage/repository/remediation_history_repository.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a3cbab29e787d8291c4f9a650474218b10fe56e4d0b14bf8a67020513f9a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.parseQueryFilters (cognitive 16): Server.parseQueryFilters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (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":"pkg/datastorage/server/audit_events_handler.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"95365c2c5e00b4847fb4581c30fe9c4b4be17775ff2881b9d369f4e0d43a3cee"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.explicitInventoryResources (cognitive 16): Client.explicitInventoryResources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/inventory.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2b2c7bf9b9417f0f1373798a3b1bd736cbd5ef159ae7e8c3ba65b95177d7b0"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpclient.ParseUnstructuredListResponse (cognitive 16): mcpclient.ParseUnstructuredListResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/parse.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d4957f61ecd07f8220c5586e5a0603fae75453e4e6261905db2b457735559e"}},{"ruleId":"D2","level":"warning","message":{"text":"apiResourcesListTool.Execute (cognitive 16): apiResourcesListTool.Execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts) (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"pkg/kubernautagent/tools/k8s/tools.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0f01e1c5322f22c69825662c9e7239d90e5fdb3b613050df8ebd66c771033a"}},{"ruleId":"D2","level":"warning","message":{"text":"audit.addApprovalDecisionParameters (cognitive 16): audit.addApprovalDecisionParameters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d6871c8697570c2c17b1f21be6bf56bfb33af36d5765c63a8ff33af5795204"}},{"ruleId":"D2","level":"warning","message":{"text":"Detector.GetPhaseTimeout (cognitive 16): Detector.GetPhaseTimeout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/timeout/detector.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bc4e9660ce1f8045e5a4e8e54228466eefd46164d2c1726426ba423567eb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"MockAuthorizer.CheckAccessWithGroup (cognitive 16): MockAuthorizer.CheckAccessWithGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/auth/mock_auth.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"94037dd21a576e8b3165d4434275725979e721b2d6540783b7030ecce636ac50"}},{"ruleId":"D2","level":"warning","message":{"text":"workflowschema.SpecToSchema (cognitive 16): workflowschema.SpecToSchema has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowschema/converter.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e540b2e21829ab1c23b9d6a0d3a2a110aff1bdc9cb670ef5feb4db149ab64a75"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Investigator: TooManyMethods \u2014 123 methods, declared across 15 files: investigator/investigator.go (20), investigator/investigator_loop.go (18), investigator/investigator_gates.go (15), investigator/investigator_workflow_selection.go (12), \u002B11 more file(s). The bar is 30 methods; this is 93 over it, 4.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/kubernautagent/investigator/investigator.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5970ee39688e08193a7dde8abaf3843e911496c86233eede69c18740c8ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Reconciler: TooManyMethods \u2014 119 methods, declared across 16 files: remediationorchestrator/reconciler_callbacks.go (18), remediationorchestrator/audit_events.go (14), remediationorchestrator/config_accessors.go (12), remediationorchestrator/terminal_transitions.go (11), \u002B12 more file(s). The bar is 30 methods; this is 89 over it, 3.97\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/controller/remediationorchestrator/reconciler.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1798dfec16a84426b07d97614d902041db084ebaebaac2b952471006596830"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: investigator/investigator_gates.go: FileTooLong \u2014 1266 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 766 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93860f974a8271d05191ed5074bcf636fc7aaae741482ed91b7a23c04192e725"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 63 methods, declared across 12 files: server/audit_events_handler.go (11), server/audit_events_batch_handler.go (8), server/handlers.go (8), server/server_lifecycle.go (8), \u002B8 more file(s). The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"pkg/datastorage/server/server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d87e5c705f0313103248bf02b541a9929392f350f72635fb67f4a069006292e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: InvestigationResult: TooManyFields \u2014 62 stored fields. The bar is 30 stored fields; this is 32 over it, 2.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/types/types.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eba8c946274881392474390d82eda9f3f27334d9e6a87871351f0521178f35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Reconciler: TooManyMethods \u2014 60 methods, declared across 11 files: effectivenessmonitor/events.go (12), effectivenessmonitor/reconcile_components.go (10), effectivenessmonitor/completion.go (9), effectivenessmonitor/target_resources.go (7), \u002B7 more file(s). The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/controller/effectivenessmonitor/reconciler.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d586217f7c9b9d3690c7c4d2247a55c8acdeb5ef65f274a618dcefd1a3a0f449"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowExecutionReconciler: TooManyMethods \u2014 57 methods, declared across 7 files: workflowexecution/workflowexecution_lifecycle.go (14), workflowexecution/workflowexecution_pending.go (12), workflowexecution/workflowexecution_status_marking.go (11), workflowexecution/workflowexecution_controller.go (8), \u002B3 more file(s). The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/controller/workflowexecution/workflowexecution_controller.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e5d0b8a4a65e8f74e60b7a4a8ac1909464673b5e87042a766555ba6d8e65c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: creator/notification.go: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: NotificationCreator (27 blocks, 74-1348). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b546e4dc9737e27c6b158a1bd88198c0d78c1394ab1f7887b2eae99c8b5c3794"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: investigator/investigator.go: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: Investigator (21 blocks, 300-1471). The bar is 500 significant lines; this is 335 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"986728f45fe68e9c5986a5f2324a5a9abdf15e24290d06330b736a0817c1e583"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 48 methods, declared across 7 files: gateway/server.go (18), gateway/signal_ingestion.go (10), gateway/audit_emission.go (5), gateway/server_constructors.go (4), \u002B3 more file(s). The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"pkg/gateway/server.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"935e1a40d3b1ceb381a55eeecdc99a78a3bb19efe3846108a19fc1858cbf4022"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotificationRequestReconciler: TooManyMethods \u2014 47 methods, declared across 3 files: notification/notificationrequest_controller.go (31), notification/retry_circuit_breaker_handler.go (8), notification/routing_handler.go (8). The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/controller/notification/notificationrequest_controller.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8d5fd7bef8f03b1953115cc8fb80ca4c9b826a208d654720994ff3bbf4fb0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotificationRequestReconciler: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, 32 blocks, lines 53-1449. The bar is 400 significant lines; this is 223 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2611724761f1c4a54deca0bd35953320a1c1a01a41733dc5448f06470d486c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Manager: TooManyMethods \u2014 45 methods, declared across 4 files: session/manager_query.go (17), session/manager.go (11), session/manager_interactive.go (9), session/manager_events.go (8). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/kubernautagent/session/manager.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782d39981e80e019958a200feb5a376c57e4a32293991fac17ec5a68add5411"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/crd_tools.go: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 222 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e240cae2107bf53eec4424dbdd9f18397ed241d650695f0295cca978d112b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InvestigateTool: TooManyMethods \u2014 43 methods, declared across 5 files: tools/investigate_autonomous.go (11), tools/investigate_start.go (11), tools/investigate_discovery.go (10), tools/investigate.go (6), \u002B1 more file(s). The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/kubernautagent/mcp/tools/investigate.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78afe83da61a7fbb8b9a1d900d0f65852e7cbde7d9796a7a34752dc4070fb95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotificationCreator: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods, 27 blocks, lines 74-1348. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7098d6255cae11b1909b94bc52f54d56a906673ffcaed7ce4a44775997ac5385"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/response_processor.go: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: ResponseProcessor (21 blocks, 68-1186). The bar is 500 significant lines; this is 209 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0499af786150ce648cb573e91fa9a685a227ff2f31ec85e7556529210edd5fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RemediationWorkflow: TooManyFields \u2014 41 stored fields beside 4 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/workflow.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b870e0eddbcd8d2c5dc4ed6e21ac3a97606b3b8b8ab8c45b64e5b84e8bc43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audit/manager.go: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: Manager (17 blocks, 108-1066). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54988b0179becacfac86949ee4706ec918979fc3301eaf428f47b4b9d631c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notification/notificationrequest_controller.go: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: NotificationRequestReconciler (32 blocks, 53-1449). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd856b10c470280a957502698ee4b4a9885bfe4a766676cc11ea745f5adb32f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apifrontend/main.go: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23c9bc1427373f6406ffd4c651478c221412b3dff25869f5d17e49489c367a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Dispatcher: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods, 31 blocks, lines 117-1159. The bar is 400 significant lines; this is 103 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"685bc0df6015aae4c7505be29cff83093f316f24d6a65f46ed35f273c3bfc101"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Investigator: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 123 methods, 21 blocks, lines 300-1471. The bar is 400 significant lines; this is 100 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83913acbb49e0bbc732c9cf0659467b4dcd35ade982b12ef9673b30e20ceec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routing/blocking.go: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: RoutingEngine (25 blocks, 92-1372). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb2b5117435d3139e6821fccb7876f52b8921c7f92b4b510b3eb7e08a6c66e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoutingEngine: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods, 25 blocks, lines 92-1372. The bar is 400 significant lines; this is 97 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccfd6fbb6c946b44e44e35ba56588db76b110f38ae04333d6f177ddb12928b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: investigator/investigator_loop.go: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Investigator (18 blocks, 42-1036). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7555545b041cea9dc5b112cb72de34d223ba724549ffd9a1a7c12f75d01184e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shadow-acp/main.go: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aecd93c116edc908366555bd9183385943f07b5e24461218842044b6e183857"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Manager: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods, 17 blocks, lines 108-1066. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeac5d77891408b57124e62439890e8ea6a2a7fc8d980249e14f2faa3926e61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agentsession/dispatcher.go: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: Dispatcher (31 blocks, 117-1159). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ccb2ef31e3872e9f3dfbb4c2bd465558adf5702b118d6ba369a55269c2a5e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/ka_investigate_mcp.go: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_mcp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf900eed5668f553af992fd5b782d85beeb13068c36a58586ad0aeada5cc43c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/job.go: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e1169379731401c46c5c41db50b29972de00764e92a0fb53b3445c4c504d87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dispatcher: TooManyMethods \u2014 34 methods, declared across 2 files: agentsession/dispatcher.go (30), agentsession/status_writer.go (4). The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7083981ed5c86a930fadfc2516994d2a6c8968f5dbce36aae26abe3b46e1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apifrontend/backend_deps.go: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13277dd1e8e16e8378fcfed1076311ca0368ed1527321993a59f9c4d33d1dd4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audit/store_adapter.go: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d8952cecace0af46c5093c903437f7903d21c3c423a37eddd998119c02b3bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResponseProcessor: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 21 blocks, lines 68-1186. The bar is 400 significant lines; this is 40 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9f9704ad06dc211ae9ad99307cb2f0eef3e300ec9691863f2c72b29c43046"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AuditEvent: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/audit_events_repository.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"08444f4d7eaea9f1f823eda5994d1630b663d420df208166e227c96a4b9424cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SignalProcessingReconciler: TooManyMethods \u2014 32 methods, declared across 6 files: signalprocessing/signalprocessing_controller.go (9), signalprocessing/signalprocessing_classifying.go (8), signalprocessing/signalprocessing_enriching.go (6), signalprocessing/signalprocessing_categorizing.go (5), \u002B2 more file(s). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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/controller/signalprocessing/signalprocessing_controller.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"888631533064307840f4932771a9597ae7def22b0b9951ab1d60bbd6c6546f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: investigator/investigator_audit.go: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aa033b561147e38ebd998428ebe0fb368df7637e846a30997b85bd675afc88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/ansible.go: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: AnsibleExecutor (19 blocks, 190-866). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/ansible.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0272aaa8644ed134e3b8b0e21511dd43597cbdb6ad9c77c57171fd9da7594e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Reconciler: TooManyFields \u2014 31 stored fields beside 119 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconciler.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e208c24b2479d68f3f7a5346e198fa3fce0fe3abeefadc8b07d06d8748ef49d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/typed_parameter.go: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a885e531dbebf2dc4adc82a7d31926f66ecb175a44e6d0a8ae519c7053968e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 16 shared lines): pkg/workflowexecution/executor/awx_client.go:63-101 | pkg/workflowexecution/executor/awx_client.go:200-240 | pkg/workflowexecution/executor/awx_client.go:284-329 | pkg/workflowexecution/executor/awx_client.go:354-395 \u2014 These 4 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a864b5e5f62d4327872b8e8633ee54ff635d097e1275767a5153dc9e648e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): internal/kubernautagent/tools/custom/tools.go:171-251 | internal/kubernautagent/tools/custom/tools.go:314-384 \u2014 These two members are variants of one another: 31 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5d08e5b30a5f934d85f0b9d621decfaf95e764b46dcaf3ed3e49348d0304da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): internal/controller/remediationorchestrator/notification_creation.go:222-253 | internal/controller/remediationorchestrator/timeout_handling.go:188-218 | pkg/remediationorchestrator/creator/notification.go:225-266 | pkg/remediationorchestrator/creator/notification.go:444-499 | pkg/remediationorchestrator/creator/notification.go:568-629 | pkg/remediationorchestrator/creator/notification.go:737-786 | pkg/remediationorchestrator/creator/notification.go:797-847 | pkg/remediationorchestrator/creator/notification.go:948-973 | pkg/remediationorchestrator/creator/notification.go:1235-1273 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/notification_creation.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c729e5d8f78cc0c34e635258c2ba33888f6046aae38af26a503e27f638de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): internal/controller/remediationorchestrator/blocked_transitions.go:135-165 | internal/controller/remediationorchestrator/blocked_transitions.go:171-197 | internal/controller/remediationorchestrator/blocking.go:164-194 | internal/controller/remediationorchestrator/notification_creation.go:82-122 | internal/controller/remediationorchestrator/notification_creation.go:158-176 | internal/controller/remediationorchestrator/notification_creation.go:255-303 | internal/controller/remediationorchestrator/terminal_transitions.go:654-681 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/blocked_transitions.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b304d3aa12710434c37cb5672d8bdc7898f3b94891c9a743ab83038c1b64498"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): cmd/authwebhook/main.go:158-198 | cmd/effectivenessmonitor/main.go:346-372 | cmd/notification/main.go:526-558 | cmd/remediationorchestrator/main.go:403-433 | cmd/workflowexecution/main.go:408-434 | pkg/gateway/server_constructors.go:486-530 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/authwebhook/main.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e59d9b53cb2610d15ac4ba4be7bbd6bd216740e2ab0db4e68f9cc69f2ad02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): pkg/effectivenessmonitor/audit/manager.go:146-205 | pkg/effectivenessmonitor/audit/manager.go:348-398 | pkg/effectivenessmonitor/audit/manager.go:513-545 | pkg/effectivenessmonitor/audit/manager.go:567-630 | pkg/effectivenessmonitor/audit/manager.go:639-701 | pkg/effectivenessmonitor/audit/manager.go:717-755 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d25794665b6392531e67af6b692e623932e4415992ef91240303da4d4ba962"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cmd/effectivenessmonitor/main.go:322-342 | cmd/notification/main.go:432-452 | cmd/remediationorchestrator/main.go:347-397 | cmd/workflowexecution/main.go:370-402 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c986f16b55722cff00e5103ba04aa09686315a7f199f9f811b0141806592a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/kubernautagent/server/ratelimit.go:126-144 | internal/kubernautagent/server/user_ratelimit.go:98-116 | pkg/apifrontend/ratelimit/ratelimit.go:83-101 | pkg/datastorage/server/middleware/ratelimit.go:101-119 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/server/ratelimit.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"472846b0cd475e1159a77d80662c19ba2d9d6793eae10beda03c4edac3dafd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/aianalysis/audit/audit.go:222-257 | pkg/aianalysis/audit/audit.go:337-381 | pkg/aianalysis/audit/audit.go:545-567 | pkg/aianalysis/audit/audit.go:576-603 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a97479a51088c0896a482df7dabdddf64685361d682715b8fb6393d9ea8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/aianalysis/status/manager.go:61-82 | pkg/remediationorchestrator/status/manager.go:66-86 | pkg/signalprocessing/status/manager.go:80-101 | pkg/workflowexecution/status/manager.go:58-77 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/status/manager.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1497942063e99484dfac08bd695e8c2a03adb206134e80749e4f1d8ecc1581d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/authwebhook/config/config.go:97-114 | pkg/fleet/fmc/config/config.go:153-170 | pkg/gateway/config/config.go:438-465 | pkg/workflowexecution/config/config.go:213-230 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/config/config.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6262cf222c1e3e9578b29399c71dd761d2d5a333b067089456d942ddf33a0b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/datastorage/dlq/client.go:200-244 | pkg/datastorage/dlq/client.go:249-302 | pkg/datastorage/dlq/client_consumer.go:243-287 | pkg/datastorage/dlq/client_consumer.go:293-337 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ccf888e9d36f71c59be72e8ddfa965d5514471510b63f5e99d67461bed6766"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/signalprocessing/audit/client.go:221-259 | pkg/signalprocessing/audit/client.go:390-449 | pkg/signalprocessing/audit/client.go:452-500 | pkg/signalprocessing/audit/client.go:503-540 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96486b2ca6405ae18be1242c14ed89e7212479f806858c64faff2492acf5f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/workflowexecution/audit/manager.go:212-278 | pkg/workflowexecution/audit/manager.go:297-355 | pkg/workflowexecution/audit/manager.go:437-518 | pkg/workflowexecution/audit/manager.go:702-770 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/audit/manager.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e425da7a9ff818044d0668003f0bb91e5165fc4df01073109b589ffda5e334a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): pkg/aianalysis/handlers/response_processor.go:1026-1079 | pkg/aianalysis/handlers/response_processor.go:1083-1143 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cbaf65e942492e099b70d6cbe4554b1edb27fb4671feaebce6d88005d081e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): cmd/apifrontend/backend_deps.go:624-696 | cmd/effectivenessmonitor/main.go:495-561 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"67083ddb2a520e12527beb1d8e27fb16ad44f386648e7296a8fb78932bf47739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): internal/kubernautagent/investigator/investigator_rca.go:275-316 | internal/kubernautagent/investigator/investigator_workflow_selection.go:671-723 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_rca.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac15699cb5b3d308dbb7336574720e87d669dabeaf8394b788409d45b23a30e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): internal/controller/remediationorchestrator/terminal_transitions.go:60-108 | internal/controller/remediationorchestrator/terminal_transitions.go:179-228 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/terminal_transitions.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e83f7a09e13340a09f6080bc2785e279669c64f8ee14c9dd403ddd02952148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 49\u002B corresponding lines): cmd/aianalysis/main.go:387-435 | cmd/authwebhook/main.go:379-427 | cmd/signalprocessing/main.go:559-607 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 49 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"135fa91a80cdd0de40c9d462dd1026ba38106687766e6451799de928bb164e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): cmd/effectivenessmonitor/main.go:738-787 | cmd/remediationorchestrator/main.go:815-869 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab55d7df29d3c26cc16a7b5c8a82378f764e479931a4882f3fe352d2556276b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/apifrontend/prometheus/client.go:49-95 | pkg/apifrontend/prometheus/client.go:98-138 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/prometheus/client.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bfe0d7050ab1d9efafacfe4bc9e2577dc3c350b9677251b009846382ecbe71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): pkg/remediationorchestrator/creator/aianalysis.go:112-169 | pkg/remediationorchestrator/creator/signalprocessing.go:110-162 | pkg/remediationorchestrator/creator/workflowexecution.go:199-259 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/aianalysis.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b614795826499184e68a1cfed13d76f09652d74dddf04d550db7c871f0bf9fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): internal/kubernautagent/audit/ds_buffered_store.go:90-137 | internal/kubernautagent/audit/ds_store.go:42-92 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_buffered_store.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"69140411846fb9362a818727c52749d0c301b81136f57ad77c523958a1d30532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/kubernautagent/enrichment/k8s_adapter.go:261-300 | pkg/kubernautagent/tools/k8s/resolver.go:215-254 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"71199a49b7c5d739477dad7614e8af1df80bf80e2c5fd828d2d7c1842cd48eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): pkg/aianalysis/audit/audit.go:167-217 | pkg/aianalysis/audit/audit.go:688-739 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5992a557bd36c10260c22ba741bcb860e832495a76bd1456713547a72b7a1d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): internal/controller/effectivenessmonitor/target_resources.go:257-306 | internal/controller/remediationorchestrator/pre_remediation_hash.go:162-204 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/target_resources.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e599fc3a4231337ee4ac1a9717c19bd0e3fa1b74ab61d86bee2bfeea7ddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/kubernautagent/tools/alertmanager/client.go:74-112 | pkg/kubernautagent/tools/prometheus/client.go:94-128 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/alertmanager/client.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"16045b60cdfce6b7c81f73812ed022b2a0d8972bceccff629409094d4976eb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): pkg/datastorage/server/audit_events_handler.go:457-512 | pkg/datastorage/server/helpers/query_helpers.go:56-104 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/audit_events_handler.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"760e7104f848d331ea3c2f3c1bf651fc08a9f4819a1522c2d923e9593162b8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): pkg/gateway/audit_emission.go:154-234 | pkg/gateway/audit_emission.go:238-303 | pkg/gateway/audit_emission.go:307-354 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/audit_emission.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"58421720b9c4b282be0d53d09c6697c07851a7b521f2190e408c0fa7976405ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): cmd/signalprocessing/main.go:288-339 | cmd/workflowexecution/main.go:474-517 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/signalprocessing/main.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"735e2b040dc77400c2b4f4d97c697b4f45484c047ee0f0e9a1b3f542bc7377dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): pkg/notification/delivery/pagerduty.go:49-100 | pkg/notification/delivery/slack.go:52-112 | pkg/notification/delivery/teams.go:41-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"378f69c62c8478291ca73f0b44ac335c4ff5f4ad509e753f80b6518f9950b8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): pkg/aianalysis/handlers/response_processor.go:865-909 | pkg/aianalysis/handlers/response_processor.go:917-960 | pkg/aianalysis/handlers/response_processor.go:968-1020 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"3204dc091bb16e852fcd224fb455cef997f40c194069aaa4675baeadefe9d80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): pkg/shared/types/typed_parameter.go:202-243 | pkg/shared/types/typed_parameter.go:254-296 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1bdb2f8ddb737d401e9895d826d1cd5314e80219050c2b1ba68e9b031249ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): internal/kubernautagent/agentsession/mapping.go:312-348 | pkg/aianalysis/handlers/evidence_status.go:24-60 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1403f904f0014a9d94cca4d7caf0914e5388ddf113dca5c800649371c6fd5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): internal/kubernautagent/session/manager_query.go:415-462 | internal/kubernautagent/session/manager_query.go:486-528 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager_query.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a65380a55b3cefe7feaeb1fc95dac8960f51f68b74f7c865381ba6659a1bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): pkg/datastorage/dlq/client_consumer.go:51-111 | pkg/datastorage/dlq/client_consumer.go:162-214 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25b888c54fdc55e92596f763c0d4e36e2357e79f52dd1d70a85a5bc720f6a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): pkg/notification/metrics/metrics.go:110-173 | pkg/notification/metrics/metrics.go:212-275 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/metrics/metrics.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eae03bcf5ca1608910a896942ded9fde02f0a15af124cdb92ef7aadb7be8780"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): pkg/datastorage/repository/audit_events_query.go:97-151 | pkg/datastorage/repository/audit_export.go:176-232 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/audit_events_query.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"758b8908c2b1fc342e00b3dd1dbf7f7bd5c9984b54d40e67d46531248cbedd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/shared/types/typed_parameter.go:358-397 | pkg/shared/types/typed_parameter.go:399-432 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"11407af9f95be5a2438d3bca10e10c7141bb2c888bb394e4a7535b612b2ccf99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): internal/controller/notification/routing_handler.go:264-309 | internal/controller/notification/routing_handler.go:314-364 | internal/controller/notification/routing_handler.go:369-414 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/routing_handler.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1012415bc94b5fd5f3665807b1a3d5698aa009aabd6d67a6578c9fc40a0e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 44\u002B corresponding lines): pkg/notification/audit/manager.go:142-193 | pkg/notification/audit/manager.go:212-265 | pkg/notification/audit/manager.go:282-325 | pkg/notification/audit/manager.go:342-386 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/audit/manager.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7d6ad7b1ef70e8a524e794a050e085f407c6f36526ab62972b7fcac5def536"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pkg/fleet/acm/client.go:113-151 | pkg/fleet/acm/client.go:205-242 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/client.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86fd17f03612b588dcb67e786dea42d5f5050ca4a748ca191978f0c9ee2db39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): internal/controller/remediationorchestrator/audit_events.go:554-603 | internal/controller/remediationorchestrator/audit_events.go:608-645 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3b7f4087d0572cbd9daaf55c0ee76fb54a8d6b920e168f3218b16866458dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/authwebhook/actiontype_handler.go:201-235 | pkg/authwebhook/remediationworkflow_handler.go:450-494 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/actiontype_handler.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9f4e7998c96c8b4cc5e2160fee7f93fd90cc35aa7b9ba34c7d093cababc8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): pkg/signalprocessing/evaluator/evaluator.go:230-280 | pkg/signalprocessing/evaluator/evaluator.go:285-328 | pkg/signalprocessing/evaluator/evaluator.go:380-423 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/evaluator/evaluator.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31a4dbfcf756e3d2c3725f7376d0a93ab815be596767d31ef9c8eac7b01c5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): internal/kubernautagent/investigator/investigator_gates.go:845-876 | internal/kubernautagent/investigator/investigator_gates.go:1000-1036 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bee1a7ea68b2326af03aafb8c13db7f17615e12674a6421b54d1e431cf5619c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): internal/controller/notification/notificationrequest_controller.go:1204-1252 | internal/controller/notification/notificationrequest_controller.go:1262-1317 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa293f9063c5da2c3b83e5b8ee9358110830aa249e22ac7ac9420dc27b50d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): internal/kubernautagent/mcp/tools/select_workflow.go:125-161 | pkg/apifrontend/tools/ka_tools.go:291-323 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/select_workflow.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5477c2fc208708b2160c61664b526c19bffca0544a59602916f54560c53c0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): cmd/kubernautagent/llm_builder.go:301-357 | pkg/apifrontend/launcher/model.go:355-406 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/llm_builder.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b160b5d00777b0c1920fbf2ae017cccf2382b9e0c1e9d17bd3637ca909052ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/kubernautagent/tools/k8s/resolver.go:393-427 | pkg/kubernautagent/tools/k8s/resolver.go:430-469 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"855031a8b51cd55f09e2611bd7d30a903ae34f697b9b659d2400f2e1b6dbc12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/signalprocessing/enricher/k8s_enricher.go:215-256 | pkg/signalprocessing/enricher/k8s_enricher.go:273-304 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/enricher/k8s_enricher.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"183eb0684bd83abf67a935a6b8ccb71f11c0b960c6fba2175cc618d8a1791cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): internal/controller/notification/notificationrequest_controller.go:1143-1192 | internal/controller/notification/notificationrequest_controller.go:1349-1395 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b999517bbc8c0e50e117192aaaf89f4e2fd57502c18532f2832f80150d9350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/effectivenessmonitor/client/prometheus_http.go:51-76 | pkg/effectivenessmonitor/client/prometheus_http.go:79-104 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07c7c4af33c138c18f2f406b01833b857ddc5ca887bfeed374ea51f006d6819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/apifrontend/ka/pooled_mcp_client.go:146-186 | pkg/apifrontend/ka/pooled_mcp_client.go:325-366 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/pooled_mcp_client.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897873a77e432968d36a8d0314ec506f53dd8e0d890f9079fc8cd7663801186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): cmd/aianalysis/main.go:150-200 | cmd/authwebhook/main.go:117-152 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff90d043b3433dba9ad93a46f5aef89c4627489f05dc4d01c20385af48061d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): internal/controller/notification/notificationrequest_controller.go:488-533 | internal/controller/notification/notificationrequest_controller.go:542-581 | internal/controller/notification/notificationrequest_controller.go:592-622 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"17df16c36ea13f1e5faf8baf6bf3b3df18cf6dada747fbe86b2b4d946a23f2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/signalprocessing/audit/client.go:95-134 | pkg/signalprocessing/audit/client.go:352-385 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc6c87129915c5133c5cd2c4092b7fd7367620c5203ec9b23cef339dc7b399d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/datastorage/repository/remediation_history_repository.go:212-263 | pkg/datastorage/server/effectiveness_handler.go:340-373 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/remediation_history_repository.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b7be3d6bf42bda364fe3ef5ee693d3aacda0ccd199e9c608ca1e602097270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): internal/kubernautagent/investigator/investigator_phases.go:399-444 | pkg/datastorage/models/workflow_labels.go:128-173 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_phases.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7414ca789cf4676076186ec7e49c210cd9b88cefb8aab87cf579f4806d61bb22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): api/agentsession/v1alpha1/evidence_types.go:20-106 | api/aianalysis/v1alpha1/evidence_types.go:20-106 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/agentsession/v1alpha1/evidence_types.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73fe2b50b07d63eb60e28156c936025d150aa948ea33c99eb70fa882a0ff13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/kubernautagent/audit/ds_payloads.go:144-166 | internal/kubernautagent/audit/ds_payloads.go:169-187 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2ae56130b252f31d1e93776cf751ceced0a600b64870e6afafd881a193fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 30\u002B corresponding lines): pkg/aianalysis/audit/audit.go:451-480 | pkg/authwebhook/audit_helpers.go:88-119 | pkg/effectivenessmonitor/audit/manager.go:770-804 | pkg/signalprocessing/audit/client.go:552-581 | pkg/workflowexecution/audit/manager.go:785-819 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"522d2c66b87354192328bf30865a97e753539c39d197af8dbadd2878a5740375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/datastorage/server/remediation_history_handler.go:323-350 | pkg/datastorage/server/remediation_history_handler.go:357-385 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/remediation_history_handler.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1ebcc70359da64f2478edfa380d73ca1bb4a2f5a29d26cdec4fe51e93573c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cmd/gateway/main.go:479-505 | cmd/remediationorchestrator/main.go:589-614 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"7540be009c0d480ab84dac6db39cb9490c8a82adf57f6b42e580eadbea21e6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): cmd/remediationorchestrator/main.go:89-135 | cmd/signalprocessing/main.go:98-135 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/remediationorchestrator/main.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865708a0debf71088cc6a461a6234a9688e8b3f451e3a1b9a9b9ad69a04f34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): pkg/remediationorchestrator/audit/manager.go:401-433 | pkg/remediationorchestrator/audit/manager.go:708-738 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e258a650f91e531e40e5f510beb151ad89cdf4d1530c650d43ab053fe59e902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): pkg/workflowexecution/executor/awx_client.go:103-129 | pkg/workflowexecution/executor/awx_client.go:160-193 | pkg/workflowexecution/executor/awx_client.go:247-282 | pkg/workflowexecution/executor/awx_client.go:397-431 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a754f122aae2793344c58edac32f8d4c4b015b88ce5004eaeafb55cf0cad64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/apifrontend/tools/crd_tools_session.go:66-97 | pkg/apifrontend/tools/crd_tools_session.go:208-239 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools_session.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"33884154b92806eaedd062df1fc5714619a356f3ae59aba8341038baf475f27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/apifrontend/ratelimit/ratelimit.go:368-395 | pkg/apifrontend/ratelimit/ratelimit.go:406-435 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/ratelimit.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c370ec0b5d6c518dcc03d3c244c1c5a54b0d8df297e687ab6190602b5bffce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/fleet/mcpclient/gateway_binding_resolver.go:71-103 | pkg/fleet/mcpclient/gateway_binding_resolver.go:105-149 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/gateway_binding_resolver.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b210c7607c8ac6d0ace4e91920aed35598b16ad75c33783b7dbd0eaed8de6928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/controller/apifrontend/agentsession_close.go:124-153 | internal/kubernautagent/agentsession/dispatcher.go:311-339 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/apifrontend/agentsession_close.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e96c0d0cb25fd12cd37cc75bf9fd710704ca7297a3e499ebc3e582ad21eff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/kubernautagent/tools/custom/discovery_audit.go:116-139 | internal/kubernautagent/tools/custom/discovery_audit.go:142-166 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/discovery_audit.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"328e812b95411d0f7d24615c5c29dd8b07a88c7f6fff33b684779fdcb21a0dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/aianalysis/handlers/investigating.go:665-693 | pkg/aianalysis/handlers/investigating.go:697-720 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/investigating.go"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8fc46341e2373010d97503f958ae78ba89d5dae48ff744a5734e81dc713d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/apifrontend/tools/kubectl_get.go:128-153 | pkg/apifrontend/tools/kubectl_list.go:82-107 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/kubectl_get.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97c72307bac4fef6f9d822376fc50b3aec91ab673a14bc7f307264f927db149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/remediationorchestrator/audit/manager.go:269-294 | pkg/remediationorchestrator/audit/manager.go:305-330 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d648deef16ebac3a760f06a81765686011b2f3c005306f10866b8226c9d63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cmd/datastorage/main.go:673-705 | cmd/gateway/main.go:612-646 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/datastorage/main.go"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"914c7313fafa355f11a0d79925cbe89d597adcf786e1be1b48403c15468dfb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/gateway/middleware/alertmanager_freshness.go:123-164 | pkg/gateway/middleware/event_freshness.go:75-110 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/middleware/alertmanager_freshness.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf406978889b44a73d3cf33432c04f1b8b965c8a1be99343557bc47f1f5988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/apifrontend/resilience/retry.go:48-83 | pkg/shared/transport/retry.go:92-127 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71853ee3f76a754ca2deb4d33bef563bdd54e0de3629834027aadfecfa606aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/fleet/registry/eaigw_registry.go:171-193 | pkg/fleet/registry/kuadrant_registry.go:129-151 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d271c6e9efd091a059ab801b3bcce44622ad35c3a4d801ceada125ae3e0d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/controller/aianalysis/phase_handlers.go:488-516 | internal/controller/aianalysis/phase_handlers.go:520-548 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/aianalysis/phase_handlers.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8191d45e8650b6e1ee3e3b8de7430a2180644debd8b69194b68e3667989a631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/controller/remediationorchestrator/audit_events.go:256-277 | internal/controller/remediationorchestrator/audit_events.go:280-301 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf01357ff0e4c1000cb183de301a28e9c0667719d9a87d1bed43b62d34c46bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/apifrontend/ka/mcp_sdk_client.go:70-105 | pkg/apifrontend/ka/mcp_sdk_client.go:476-504 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/mcp_sdk_client.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23a4b10639701a85aaf40afd453d32704ef00b7e8f0959665c295bee12df89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/apifrontend/policyread/kubernetes_sources.go:200-223 | pkg/apifrontend/policyread/kubernetes_sources.go:227-250 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/kubernetes_sources.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4f22afccc5931ed488b2b034b8761cdb76902f4388827ab58e8fd494e68e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): cmd/datastorage/main.go:731-764 | cmd/gateway/main.go:560-596 | cmd/workflowexecution/main.go:696-720 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/datastorage/main.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3965780cd1c67b96159df485e4860ffc67e3b4494081ddc05207dc2a2e000e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): pkg/aianalysis/audit/audit.go:126-161 | pkg/aianalysis/audit/audit.go:262-291 | pkg/aianalysis/audit/audit.go:296-332 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a85aefea3f0fa7d1239947c137542987efd2503c471295775667e3544373d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/audit/internal_client.go:111-151 | pkg/datastorage/repository/audit_events_batch.go:116-147 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/internal_client.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63fb0bf7a86bd0b93716d6403745d5f03c1011d7bd498e2417aae085f0292d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): pkg/notification/routing/router.go:91-123 | pkg/notification/routing/router.go:128-158 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/routing/router.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c53aab9575efe62ba0a231bd3248d7de6b8ba86662a1822a4190770114fd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/controller/workflowexecution/workflowexecution_lifecycle.go:303-328 | internal/controller/workflowexecution/workflowexecution_lifecycle.go:515-540 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_lifecycle.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f235125af3a959f754c944f40006fb84d5a2ee5c99593288519a30fa784fbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/gateway/processing/distributed_lock.go:230-254 | pkg/remediationorchestrator/locking/distributed_lock.go:178-202 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a11d98ab3f5dce827db361dd4e5ba1e412fad18f8ee0a38e28f96a61792032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/remediationorchestrator/handler/aianalysis.go:161-181 | pkg/remediationorchestrator/handler/aianalysis.go:360-383 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/handler/aianalysis.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fdfedabf46338bf72e68f966c69de14e53f7a3554b24fcf1a91e561d4862e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): pkg/remediationorchestrator/creator/notification.go:353-386 | pkg/remediationorchestrator/creator/notification.go:899-938 | pkg/remediationorchestrator/creator/notification.go:1204-1230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e724c782c3dbd9e590d59573e39a38f058c02a0071be9bfdc4999906e47061"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): pkg/remediationorchestrator/audit/manager.go:200-225 | pkg/remediationorchestrator/audit/manager.go:234-257 | pkg/remediationorchestrator/audit/manager.go:770-796 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"342fad3840eb20b94eb136b580961b48c56d325c75ef6c3ba0a3222ce55ed8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/aianalysis/handlers/analyzing.go:166-190 | pkg/aianalysis/handlers/analyzing.go:213-246 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/analyzing.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfe76d6cb40840b8499c6a7653a3b1dd06cf89a2c5a5355eca14bb293bc3f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/apifrontend/launcher/openai/adapter.go:90-111 | pkg/kubernautagent/llm/openai/client.go:102-122 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/openai/adapter.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d24313987c889653410a9715a62ccc52ca08a4210b4fc2e0008ea774ddd99d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/kubernautagent/agentsession/dispatcher.go:716-737 | internal/kubernautagent/agentsession/dispatcher.go:1045-1066 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6cec8cc8b3f0b5cff79f26f6ad12de3e93973164e5dbf10988e9caa6972a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/kubernautagent/server/http_metrics.go:33-60 | pkg/gateway/middleware/http_metrics.go:45-71 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/server/http_metrics.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce656844ce1979200ce472d5186f62b701fc6c77872abf3457261607c64d138f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/workflowexecution/metrics/metrics.go:106-139 | pkg/workflowexecution/metrics/metrics.go:153-185 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/metrics/metrics.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"584d15ccbf47aba5d0378a9b3fde9ec8550ade2d5c3ce5cbcf3d6102a52aa63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 34\u002B corresponding lines): internal/controller/remediationorchestrator/audit_events.go:201-234 | internal/controller/remediationorchestrator/audit_events.go:308-344 | internal/controller/remediationorchestrator/audit_events.go:350-386 | internal/controller/remediationorchestrator/audit_events.go:392-430 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8421cedc6d12a722700eb6e8153e0024f6ace6b30b8d81ff6c087a804db1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/kubernautagent/investigator/investigator_audit.go:49-68 | internal/kubernautagent/investigator/investigator_audit.go:83-102 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"153ef9746aa8bdc46dd6b59164e86156b25c406bcb13c50800e51fd1fbc772d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/fleet/mcpclient/resilience.go:276-295 | pkg/fleet/mcpclient/resilience.go:298-317 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/resilience.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"13708504c3c098d2ab944e38cff550cb3ebeaabe803dafdee6612af697321c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/aianalysis/status/manager.go:96-121 | pkg/remediationorchestrator/status/manager.go:100-125 | pkg/workflowexecution/status/manager.go:90-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/status/manager.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f68640b058d2aab63d0342288feea00f0e90c7d515c7b685eae30f890580cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/apifrontend/severity/anthropic.go:94-126 | pkg/apifrontend/severity/llm.go:75-99 | pkg/apifrontend/severity/openai_compatible.go:70-98 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/anthropic.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa77270ce9fd3d89f29043a549bc47c254ed177a45c9093f0bab400e1f6d03e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/fleet/registry/eaigw_registry.go:274-292 | pkg/fleet/registry/kuadrant_registry.go:165-184 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d0789da53e0df3385d81dcad2fc9a480bbfae610c5d17d9fced4a2d7e69f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/remediationorchestrator/handler/aianalysis.go:445-464 | pkg/remediationorchestrator/handler/aianalysis.go:544-569 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/handler/aianalysis.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4166d167cffb3515ff6ed142abcd77b10c1c799ff731eab3aaf218984270add"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): cmd/kubernautagent/llm_builder.go:80-101 | cmd/kubernautagent/llm_builder.go:106-127 | cmd/kubernautagent/llm_builder.go:134-163 | cmd/kubernautagent/llm_builder.go:184-210 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/llm_builder.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"660816f2c26395d9fd975c317305d69f42581d590b78b63f7ad6e4031fc2e2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/kubernautagent/audit/ds_payloads.go:304-320 | internal/kubernautagent/audit/ds_payloads.go:322-338 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"955672ed42652337b3bc7974508a9462ab8793fb1904881911f1edef77a0d23a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/gateway/adapters/prometheus_adapter.go:391-405 | pkg/gateway/adapters/prometheus_adapter.go:417-434 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed284c31f99ea3a5ce432ccce444dcf0eb34a68727907e78bda6a8b5b02bfee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/kubernautagent/tools/k8s/tools.go:353-376 | pkg/kubernautagent/tools/k8s/tools.go:487-505 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/tools.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e065b26775126b5e377b7bf0f599c42093582b3186f3551a4db0e079d969b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/shared/tls/tls.go:393-416 | pkg/shared/tls/tls.go:424-450 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/tls/tls.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"7110dfc9e11e68ba86f94614edfa421d1bc695ac4289dca20064cda9a99786a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/notification/delivery/orchestrator.go:408-433 | pkg/notification/delivery/orchestrator.go:835-857 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/orchestrator.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f030b485331b29e8a24df16f6ccd82b7860430515800ae44a317362ecfab5a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/kubernautagent/investigator/investigator_loop.go:496-513 | internal/kubernautagent/investigator/investigator_tools.go:172-184 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa70c7f4a7573422a44042903bff45cfa99785ce9c7efc8e3463c0c5201e0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/audit/openapi_client_adapter.go:126-176 | pkg/effectivenessmonitor/client/ds_querier.go:60-88 | pkg/remediationorchestrator/routing/ds_history_adapter.go:60-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/openapi_client_adapter.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0474bf4fa09d9223516ebbc2adcff128fb035ccd00f27d0eb686889e3b9a83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/kubernautagent/llm/instrumented_client.go:63-81 | pkg/kubernautagent/llm/instrumented_client.go:84-97 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/llm/instrumented_client.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e933fab60a95f85078643d8002a5b4d10f8bc0ffcd256fbe854ea3db289f6128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/controller/effectivenessmonitor/completion.go:35-55 | internal/controller/effectivenessmonitor/completion.go:89-108 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/completion.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd136acdd9d2ad75ed0256616a9a6589059626a5a7767e994a47367ffdf8055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/controller/remediationorchestrator/reconcile_loop.go:433-454 | internal/controller/remediationorchestrator/reconcile_loop.go:456-477 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe7d4a7e1df0a773b857a14c45a7a01d6a8d1acf693191f58d10e6ffa88fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/controller/workflowexecution/workflowexecution_pending.go:83-101 | internal/kubernautagent/agentsession/mapping.go:288-306 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_pending.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a05863acaa20156d1fc94a60a56cdfba2a702935e00e3e00a8571e75a526a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/kubernautagent/investigator/investigator_audit.go:516-536 | internal/kubernautagent/investigator/investigator_audit.go:541-565 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fd68c9ee341972ec193fb1de0581f7774453adcf882cb9db1ca539a065e64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): pkg/effectivenessmonitor/client/alertmanager_http.go:78-95 | pkg/effectivenessmonitor/client/prometheus_http.go:107-124 | pkg/workflowexecution/executor/awx_client.go:131-152 | pkg/workflowexecution/executor/awx_client.go:331-352 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f477d1f6cdbf477f8412c7e939a0aaf3bb3838b3f3f7ab0160dd0f6752327"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/kubernautagent/audit/ds_workflow_catalog_payloads.go:73-90 | internal/kubernautagent/audit/ds_workflow_catalog_payloads.go:92-111 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_workflow_catalog_payloads.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b2d164c0ca732ea58ce8f04ec8e669a34cf6e9f288754bfa36b3a2b48a2408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/apifrontend/launcher/event_bridge.go:381-405 | pkg/apifrontend/launcher/event_bridge.go:428-455 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/event_bridge.go"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29d67e9658c19214810af9f49c5dffe468c0f28471ceb6633298c8943ea6377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): pkg/notification/audit/manager.go:398-412 | pkg/notification/audit/manager.go:418-433 | pkg/remediationorchestrator/audit/manager.go:1031-1045 | pkg/remediationorchestrator/audit/manager.go:1051-1066 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/audit/manager.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed72eea8572134c718ac11bdebc2180c33e16aac20206100baafcd0b910a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): internal/kubernautagent/audit/ds_payloads.go:621-636 | internal/kubernautagent/audit/ds_payloads.go:638-656 | internal/kubernautagent/audit/ds_payloads.go:658-676 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"251ad3adebb37e75e732352ba596710aaa6dcf5828ca631af272adaf8d7bcff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/datastorage/audit/config_reload_event.go:39-58 | pkg/datastorage/audit/config_reload_event.go:63-87 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/audit/config_reload_event.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"63566a1652447580b809e8ace0e3fdb0434eeef4c8aea9699a6c58eaee997df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/controller/remediationorchestrator/cascade_terminal.go:70-90 | internal/controller/remediationorchestrator/cascade_terminal.go:92-108 | internal/controller/remediationorchestrator/cascade_terminal.go:110-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/cascade_terminal.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9fe95941cb87b2030da37735b8bf5e7c3b5a9f02fabb4a685743f41cc2540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/apifrontend/session/service.go:473-491 | pkg/apifrontend/session/service.go:567-587 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/service.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb21511b16d927c3a686a201114751a2adc2f683586355c67fd00333d8c3ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/apifrontend/backend_deps.go:787-806 | cmd/kubernautagent/llm_builder.go:48-74 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69b34adcb9af6e08f934a725a9198d30eef658095d33a3e868fc55f87cb4bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/notification/main.go:810-831 | cmd/workflowexecution/main.go:439-458 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/notification/main.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadfbe0045bfed7f107ea950b4e380fde27eb025c90d498f0a2d996ed653405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): docs/architecture/spikes/hitl-permission/main.go:621-635 | docs/architecture/spikes/hitl-permission/main.go:637-654 | docs/architecture/spikes/run-state-persistence/main.go:601-616 | docs/architecture/spikes/shadow-acp/main.go:751-766 | docs/architecture/spikes/shadow-acp/main.go:768-784 | docs/architecture/spikes/shadow-acp/main.go:786-801 | docs/architecture/spikes/shadow-acp/main.go:803-816 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52fb5ff329879ecf719f7e40a8ca6eb212a1a1251af659c89412837d5766f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/kubernautagent/tools/logs/fetch_pod_logs.go:200-219 | pkg/kubernautagent/tools/logs/fetch_pod_logs.go:221-240 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/logs/fetch_pod_logs.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a846cf4cabbfe2c225c4cc58dbf04bfab30058cece38fbe12ad347defdc776"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/kubernautagent/types/evidence.go:233-258 | pkg/kubernautagent/types/evidence.go:262-282 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/types/evidence.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"500acb25bd92d18be81bf64f59ca5b2d0fc44867909c6c0f8319e9a756225cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/apifrontend/session/service.go:591-612 | pkg/apifrontend/session/service.go:741-762 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/service.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf639b05a1e89ab41bb157fbce2db24df5b11e105b72ce3073f7090069588f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/kubernautagent/session/manager_query.go:101-122 | internal/kubernautagent/session/manager_query.go:133-160 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager_query.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef467a5acf64bac52255509b2a87759471772a7ed20b17b2ed1a359efe01997d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/apifrontend/handler/status_handler.go:445-467 | pkg/apifrontend/handler/status_handler.go:469-488 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b1e562f14becd0269ba49a8545050a1637bc270a7acb9235481d5e2a094d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/aianalysis/rego/evaluator.go:390-414 | pkg/signalprocessing/evaluator/evaluator.go:164-181 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/rego/evaluator.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae7548fd121789ba93f1dfea03724826dc9079d210a64efa118f7311191c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): docs/architecture/spikes/hitl-permission/main.go:18-61 | docs/architecture/spikes/run-state-persistence/main.go:39-75 | docs/architecture/spikes/shadow-acp/main.go:25-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d72b7635d49a2ddbb95cd7f2c45a589ece4ad2b5179dc6ed66912572910b30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/controller/remediationorchestrator/reconcile_loop.go:675-697 | internal/controller/workflowexecution/workflowexecution_controller.go:428-451 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5948d5cfa39a2a98c7eb77180073b6a23816f796de4a4931ecaa79adda7653b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/controller/signalprocessing/signalprocessing_classifying.go:267-282 | internal/controller/signalprocessing/signalprocessing_enriching.go:113-129 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/signalprocessing_classifying.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c004554933bf037d57bef14f2d9546b33e33b720b8524de496b9f3bdbfeb7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/authwebhook/actiontype_audit.go:35-65 | pkg/authwebhook/agentsession_handler.go:124-148 | pkg/authwebhook/agentsession_handler.go:151-175 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/actiontype_audit.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9052d7c1c785186efbe014ff4a519e749369a27c98f3573e119397ea722e453a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/fleet/registry/eaigw_registry.go:154-168 | pkg/fleet/registry/kuadrant_registry.go:112-126 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccd039fd33c234a46dd9904e41777b28c4509efa904c9b7de340bece46450a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/fleet/mcpclient/discover.go:77-100 | pkg/fleet/mcpclient/discover.go:147-163 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/discover.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938d77bc47677fa1a26f35c5752618d8c61c47f4d1f283848a27d2bd058852c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/apifrontend/audit/store_adapter.go:434-448 | pkg/apifrontend/audit/store_adapter.go:450-466 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7754fa70e8f4da849d903a6549b6a8fa9340ba0e2add7874ecd25f1758c07af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/apifrontend/severity/anthropic.go:65-86 | pkg/apifrontend/severity/llm.go:46-67 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/anthropic.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef641a3ca9469741100d7eddb72d83c8a61238d37a380b1ce264fc00807df48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/shared/types/typed_parameter.go:698-711 | pkg/shared/types/typed_parameter.go:713-726 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3fd5be9356e407f98f031257b38e793a21bfa3c66342e2c4c12f1425424e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cmd/apifrontend/backend_deps.go:712-722 | cmd/signalprocessing/main.go:463-479 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411cbb1752f738f5c122090e9e14012467d10624bbf60ee9bdd482c2ea8ffac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/kubernautagent/agentsession/mapping.go:606-623 | pkg/aianalysis/handlers/response_processor.go:659-680 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d280158a1061073243e8ff0c54b15e38d6e2eca69a216bf653741cbe484a1b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/datastorage/server/remediation_history_logic.go:341-357 | pkg/datastorage/server/remediation_history_logic.go:483-499 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/remediation_history_logic.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c34f00bb0a93c4d5bc25c2740be3d6ca5d3d2dded0396f0bf68c02097fa00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/apifrontend/ratelimit/ratelimit.go:207-220 | pkg/apifrontend/ratelimit/ratelimit.go:264-277 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/ratelimit.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b3f01d444ebfabf3e0ff328652e4c4d6c20b605d3f0ad89eaa5b810b58e478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/fleet/registry/eaigw_registry.go:96-112 | pkg/fleet/registry/kuadrant_registry.go:58-74 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ddf30d9da8854e35924f05439370e20b75bd8e662d9ca5f1392d64f61e2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/kubernautagent/mcp/adapters/adapters.go:52-64 | internal/kubernautagent/mcp/adapters/adapters.go:129-141 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/adapters/adapters.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1ecfac8cd822bf64252cf874e7babf091a1514883d3aa02d36a25677f936bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): internal/kubernautagent/mcp/reconstruct.go:136-150 | internal/kubernautagent/mcp/tools/investigate_autonomous.go:334-348 | internal/kubernautagent/mcp/tools/investigate_autonomous.go:351-366 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/reconstruct.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bdd6063b607cbc2f3a73480f4ec6c483e305566b15ce981028b8190955ef04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/kubernautagent/alignment/llmproxy.go:41-57 | internal/kubernautagent/alignment/llmproxy.go:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/alignment/llmproxy.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e74cad865441ba342f281dc285d0c3f9bfdff6290577e496482e24b581f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/kubernautagent/server/ratelimit.go:111-124 | internal/kubernautagent/server/user_ratelimit.go:83-96 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/server/ratelimit.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f5d925c4a45a66f63069a2aea3ee1bda16f9e29976bf78f922d7ea66ab0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): pkg/shared/hash/configmap.go:119-139 | pkg/shared/hash/configmap.go:167-183 | pkg/shared/hash/configmap.go:187-207 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/hash/configmap.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"37735118d54d763d036876868dbf573449d65e808050c09fd0587593fceef71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/gateway/http_errors.go:56-83 | pkg/gateway/middleware/content_type.go:48-64 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/http_errors.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12b422fc7fc094e60251dc14e361dbbe800759e5a7c8c4e4d80a3dd7b95b897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/kubernautagent/investigator/investigation_metrics.go:203-220 | internal/kubernautagent/investigator/token_scope.go:132-149 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigation_metrics.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4cb85f327e9215b393c2b14b79b4c5546e86d9166a6ba19a59abbc31bca1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pkg/apifrontend/ka/rest_client.go:178-190 | pkg/apifrontend/ka/rest_client.go:193-205 | pkg/shared/llm/openaicompat/client.go:84-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/rest_client.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1aa2c0deef9a20e451056dccad4bede7e6108cf0cd045c0221f048015e8171"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/effectivenessmonitor/startup/readiness.go:91-107 | pkg/effectivenessmonitor/startup/readiness.go:113-129 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/startup/readiness.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29ce2377f20e0c0e126965fffd0e6fbd10384d05fd335c82feee652ef5ce23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cmd/apifrontend/backend_deps.go:844-861 | pkg/apifrontend/launcher/model.go:235-255 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48e1bc340880e3599f789154a05596093dab517be1982bdf0eea4907b834253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/fleet/mcpclient/auth.go:110-123 | pkg/fleet/mcpclient/reloadable_auth.go:220-237 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/auth.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e39f5c3ae2c789556ae7cf3e8d93d0e824f427243fbf0825515285a1d30d29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/kubernautagent/mcp/tools/select_workflow.go:758-773 | pkg/aianalysis/handlers/response_processor.go:640-654 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/select_workflow.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"069d8debeed5d87ef456fdac6f4dbfb5fa258a09b2efa65ac3f6a66834aff69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/gateway/server_constructors.go:710-728 | pkg/gateway/server_constructors.go:734-748 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/server_constructors.go"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb1b9c507f877e481be1232a381f73b56a6d85cdacbfb778037c6d1e53b8be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): internal/kubernautagent/investigator/investigator_gates.go:677-689 | internal/kubernautagent/investigator/investigator_gates.go:691-703 | internal/kubernautagent/investigator/investigator_gates.go:730-745 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ea25cc52fae17f7d97d061f792941bdfcfae4768bde795a323c21b64623bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/datastorage/repository/audit_events_hashchain.go:94-110 | pkg/datastorage/repository/audit_events_hashchain.go:120-134 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/audit_events_hashchain.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42fd32e47c3116aded71dff59154592292e48862805506c4c97ac2baca0dc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/aianalysis/handlers/generated_helpers.go:54-70 | pkg/apifrontend/auth/jwt.go:447-463 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/generated_helpers.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24ecbf04e8ebdd1abeb12495f3f6df7c26068a3408d6ea2998db4aee5f2ed9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/apifrontend/auth/jwt.go:292-308 | pkg/apifrontend/auth/jwt.go:310-326 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ac52abc061be0335028b8f899121c02ab9db7a713c9efed29901bb6e39542e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): pkg/datastorage/server/effectiveness_handler.go:164-175 | pkg/datastorage/server/effectiveness_handler.go:179-190 | pkg/datastorage/server/effectiveness_handler.go:194-205 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/effectiveness_handler.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e0611667787a36f18342d996a819b6f898f198c95c66cd0d0d8b7ebcc9e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): pkg/apifrontend/tools/crd_tools_session.go:155-170 | pkg/apifrontend/tools/crd_tools_session.go:311-326 | pkg/apifrontend/tools/ka_investigate_mcp.go:1130-1148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools_session.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8783f9c81e6961c9c63eb96cc227300922ed993e8c988b10c92dc283f0be16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/datastorage/models/workflow_labels.go:201-217 | pkg/shared/types/enrichment.go:221-238 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/workflow_labels.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1986cd0adec6810962ea90a0e1d935115fc66452669df9b836938d7845510a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/datastorage/server/middleware/maxbytes.go:62-74 | pkg/datastorage/server/middleware/ratelimit.go:171-183 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/middleware/maxbytes.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbafdc67182024adf5202a77b6ad1cfa4f071a9e628d5ea388d6d39bb677cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/datastorage/config/config_accessors.go:57-77 | pkg/datastorage/config/config_accessors.go:82-102 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config_accessors.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce2a081f27ab1e74978c363237c72278b980ad22df1a4ba37abb0afd8db687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/kubernautagent/audit/ds_payloads.go:410-423 | internal/kubernautagent/audit/ds_payloads.go:425-437 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c71c009e8f92e349fdc3b7013c47c67533dbf5f982a8117ae1e2890096330d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/kubernautagent/enrichment/label_detector.go:271-285 | internal/kubernautagent/enrichment/label_detector.go:484-495 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/label_detector.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421f62b466055b46de0165410b42b9a8cd1c4c9c6797e25552247684cbba42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/apifrontend/config/hotreload.go:65-83 | pkg/shared/hotreload/file_watcher.go:72-87 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/hotreload.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ea6cf6248e2b2310212b693ec61943b3d6818afada108cf6fecf6ca47d1e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/apifrontend/handler/status_handler.go:214-224 | pkg/apifrontend/handler/status_handler.go:356-369 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b07374b82c303b9a3bff76c58732373fa037ae23ada73bf79d093e82358ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/apifrontend/severity/anthropic.go:205-217 | pkg/kubernautagent/llm/anthropicfamily/client.go:587-599 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/anthropic.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd61ea4a912146afb76a2f5d90495b3f817fc6c95a35b2e7fa90df56effb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): pkg/audit/typed_parameter_payload.go:14-28 | pkg/shared/types/typed_parameter.go:165-179 | pkg/shared/types/typed_parameter.go:184-198 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/typed_parameter_payload.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0187ecae7f37b8fc484a8719a9a134450536540f8c70f4287e06aaa495f90938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cmd/effectivenessmonitor/main.go:219-232 | cmd/workflowexecution/main.go:346-365 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea5180d77326b79f1ded2d6ff81c6f36e7b3a9ab912a80e6e3a88c51b43968d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): internal/kubernautagent/workflowcatalog/cache.go:265-274 | internal/kubernautagent/workflowcatalog/cache.go:282-291 | internal/kubernautagent/workflowcatalog/cache.go:319-328 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/workflowcatalog/cache.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f62b9e937c87fcaf130fc685cf618de0e65e643cc3df2342c90807c2c2d0ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/apifrontend/agent/phase_guard.go:592-604 | pkg/apifrontend/agent/phase_guard.go:761-776 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e873c54ed8f6a39ed7dc05eb0d8ff406dddba8cc67d39b779bed60135ab4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): pkg/gateway/adapters/testing_exports.go:36-96 | pkg/gateway/adapters/testing_exports.go:116-176 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/testing_exports.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"992cd63d0df8e139aad5707c7551f6b951bef50ac253c8acfdac21629516b3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/http/cors/cors.go:130-139 | pkg/http/cors/cors.go:165-174 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/http/cors/cors.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fb6f48f97174fc053279a60eb0c520a8c6fd183a33108ef6876febb08c713e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/effectivenessmonitor/client/ca_reloader.go:107-122 | pkg/shared/tls/ca_reloader.go:150-167 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/ca_reloader.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e0731bc0c15f47affb280aa3e7c6bf0ab5b40f53b45ab1601583ac4e0204ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/kubernautagent/tools/k8s/jq.go:56-67 | pkg/kubernautagent/tools/k8s/jq.go:82-93 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/jq.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91da6761ccba9bdc635424762e1c621885a2739d4a1a8c516048792658207a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): cmd/datastorage/main.go:711-724 | cmd/notification/main.go:838-851 | cmd/remediationorchestrator/main.go:876-889 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/datastorage/main.go"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"28083cf18f60d5f0cd382255e1681f0deeab8860a08dddcaf09a4e235097807b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/kubernautagent/investigator/token_scope.go:86-98 | internal/kubernautagent/investigator/token_scope.go:102-114 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/token_scope.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"556b6e095a521537f160f1a1d70841eb5b9a1f585b5037b8336fe560c4704d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/datastorage/dlq/client.go:305-319 | pkg/datastorage/dlq/client_consumer.go:340-352 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f7708c0d33608ab7ff03f6f2dffb9c1879410f5afff8442c2187f583970a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/apifrontend/policyread/kubernetes_sources.go:252-264 | pkg/apifrontend/policyread/local_inventory.go:249-261 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/kubernetes_sources.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2fee5a90b0cf88c608f493faac7c1c4bf8d0bb813bfc156a5a8ac60f6c27d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/datastorage/reconstruction/query.go:339-349 | pkg/datastorage/reconstruction/query.go:361-371 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/reconstruction/query.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"220fa566a720398c4d5dc36cbf2a2714bc8934fc6232c4d5ac6812998c3fde1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/kubernautagent/investigator/fleet_overlay.go:163-171 | internal/kubernautagent/investigator/fleet_overlay.go:177-185 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/fleet_overlay.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b45a1ac95791205fcaa6d5b717aebfd4c9388746c69602cbe4f788ec8070ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/kubernautagent/investigator/investigator_gates.go:878-888 | internal/kubernautagent/investigator/investigator_gates.go:1038-1048 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c17503dfb169b0a05d4547db3fca3c9a268d6d1a684cf5bf9297f0112ce43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/shared/hash/configmap.go:92-105 | pkg/shared/hash/configmap.go:150-163 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/hash/configmap.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"173d11799aee123716037c55b11c3bd567e73fead07b851300ff49a8949a1d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): docs/architecture/spikes/hitl-permission/main.go:222-232 | docs/architecture/spikes/run-state-persistence/main.go:271-281 | docs/architecture/spikes/shadow-acp/main.go:346-356 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef999bae849d28a69b23e6489f440c2adf2e7ca6b7a5945cf93210033d3a30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/fleet/mcpclient/client.go:184-196 | pkg/fleet/mcpclient/writer.go:76-88 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/client.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd895d250811c4671cd912b47b6a701a7d3a17e1b67de7571f82c42116100c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): internal/kubernautagent/parser/parser_llm_types.go:182-198 | internal/kubernautagent/parser/parser_llm_types.go:203-219 | internal/kubernautagent/parser/parser_llm_types.go:249-264 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6500f4d6b15c61f7ce3bb7d67fbd66bf5502a28a4ec930b208702a43ab30c334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): pkg/apifrontend/ratelimit/config.go:75-85 | pkg/datastorage/config/config.go:287-299 | pkg/notification/config/config.go:128-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/config.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56696d3c700176687f7d4ea9525c8477035f94e32c372992273d53b91b91517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/apifrontend/resilience/k8s_dynamic.go:110-118 | pkg/apifrontend/resilience/k8s_dynamic.go:216-224 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/k8s_dynamic.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a249cb092d835df55d2f3d29071e3d58c875c6f5106ddad007756a40e8f555"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/remediationorchestrator/metrics/metrics.go:224-246 | pkg/remediationorchestrator/metrics/metrics.go:251-272 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/metrics/metrics.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffb4afe6ec4a29174f0a4eff852635ca2e843478d1552b5acad4db550e60a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/kubernautagent/mcp/tools/agentsession_checker.go:46-57 | internal/kubernautagent/mcp/tools/rr_checker.go:42-52 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/agentsession_checker.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"874c29e84d5e8fd1c21527131a45f6c61a1cd6ac2710c940f53d7e0c9b4379ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/apifrontend/audit/store_adapter.go:516-526 | pkg/apifrontend/audit/store_adapter.go:528-538 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee86a67441726d3d1a512cf672137730728ddca05b45e2fce1ee8609167fa70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): docs/architecture/spikes/shadow-acp/main.go:136-145 | docs/spikes/oas-runtime/internal/acp/server.go:57-65 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e299688385233149f639b420fec65f032642c969110af681e834b034fd7cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/controller/signalprocessing/signalprocessing_categorizing.go:192-204 | internal/controller/signalprocessing/signalprocessing_categorizing.go:209-221 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/signalprocessing_categorizing.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b6c0a558d005150af20750b408d4126a2924b1b409a21d526043689551b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/aianalysis/handlers/request_builder.go:135-144 | internal/kubernautagent/agentsession/mapping.go:395-404 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/request_builder.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3557ded73423f9efba6228945b85e7915a63159f74dbf27e669e98dc29b61e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/apifrontend/handler/console_policyread.go:96-103 | pkg/apifrontend/handler/console_policyread.go:121-128 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/console_policyread.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2595c8a01ff1e57774ce32813d6decb9320589cd0809f328a8555bfdc14c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/gateway/adapters/resource_registry.go:291-303 | pkg/gateway/adapters/resource_registry.go:359-371 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/resource_registry.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b583d73bc944ecf17d04042b4fcb8e04d26e70477fe556f416245e8f290a0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/apifrontend/agent/root.go:522-535 | pkg/apifrontend/handler/mcp_bridge.go:835-848 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/root.go"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb68151696c025f55634392f8b128a329e4fc7d9754cf189855655d4ab9e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): pkg/kubernautagent/tools/k8s/tools.go:295-303 | pkg/kubernautagent/tools/k8s/tools.go:305-313 | pkg/kubernautagent/tools/k8s/tools.go:315-323 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/tools.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e544d12b5ef10908e1a1fcd2364b62d80169f3c6b2af7f81abe3b9e6bffae46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/apifrontend/auth/jwks_cache.go:190-201 | pkg/apifrontend/auth/jwks_cache.go:206-217 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/jwks_cache.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abf95326c6431f857a9f2a648408d470bed744f2c8ed8a02e99b0d34c86eaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/apifrontend/tlswiring/tlswiring.go:189-202 | pkg/shared/tls/tls.go:102-114 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tlswiring/tlswiring.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40bff613ca9b76fee0f4246ab7b63b65882613bd22c8c2ff6735fb9c3fa2c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/fleet/mcpclient/client.go:163-172 | pkg/fleet/mcpclient/writer.go:58-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/client.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"48834b9791890944c157959da2dd86a3227758985b9d4e49c9af518643808c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/kubernautagent/audit/ds_payloads.go:389-399 | internal/kubernautagent/audit/ds_payloads.go:528-538 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"451026f1410e529ee04fffe9e5b77197c98d8c5576d031ddc73e967f3537f74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/apifrontend/tools/discover_cache.go:29-38 | pkg/signalprocessing/cache/cache.go:57-66 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/discover_cache.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf6be17268e6ecb2f242b552ae0a2c10cd43baf2236eb1938540c1775666db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cmd/gateway/main.go:125-138 | cmd/notification/main.go:202-219 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c557eea2bee438231310045cf8b6e28bedfb383413ce7b173daa71e0e6066cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/apifrontend/agent/phase_guard.go:867-881 | pkg/apifrontend/launcher/completion_coordinator.go:138-152 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"37529f620ff02cd6de91aa6eb78b3b578ecfecb693ad2b0ebf2c8acc2a07dd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/kubernautagent/llm/transport/resolver.go:45-55 | pkg/shared/types/llm.go:431-441 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/llm/transport/resolver.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a596a0b725d73b5771d60bc5758a3f2ea1ddddfdaa77f48ccf69098d6d7d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): internal/kubernautagent/tools/custom/fleet_resource_context.go:124-129 | pkg/fleet/mcpclient/notfound.go:53-58 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/fleet_resource_context.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"096ac8544d6ec56ebcdecd306653c15a79e960d3c4c1aeb21c8e2bcd07694b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): pkg/apifrontend/ratelimit/ratelimit.go:67-76 | pkg/apifrontend/ratelimit/ratelimit.go:140-149 | pkg/apifrontend/ratelimit/ratelimit.go:152-161 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/ratelimit.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bf13d298cb4d46880e080579a9e3e55318adefff707578aa0d2f8ab4a1642c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): pkg/apifrontend/security/redact.go:30-43 | pkg/shared/k8s/validation.go:63-82 | pkg/workflowexecution/executor/filter.go:41-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/security/redact.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b0367205a0e5a495ea3361643cbf19ef0820ef7e75d50be96ee862291d516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/apifrontend/severity/triage.go:95-109 | pkg/apifrontend/launcher/streaming_executor.go:57-66 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1cb7b9dadd681d8b8f793405bc39145f18dbbe171c7ad51362cbeea18acd0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): docs/spikes/multi-cluster-mcp-gateway/spike-s2-cluster-registry/crd_watcher.go:81-90 | internal/kubernautagent/investigator/phase_resolver.go:117-125 | pkg/gateway/adapters/registry.go:137-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/multi-cluster-mcp-gateway/spike-s2-cluster-registry/crd_watcher.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"124b2119c7e234317daccd44deb2c6a550d726b541c5914bb1ad774370b8fa57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/gateway/server.go:602-611 | pkg/datastorage/server/handlers.go:78-84 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/server.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e41a8a9717117fa684f7889b9c16e1f2cdc4b927d5b17388169a048ad825d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/fleet/registry/eaigw_registry.go:262-272 | pkg/fleet/registry/kuadrant_registry.go:153-163 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"142f508057d9ef5f6dc923e50b741266034070a9a3313db3ab82816d591014e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/kubernautagent/audit/ds_response_mapping.go:81-93 | pkg/aianalysis/handlers/generated_helpers.go:36-51 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0671aadcaae3aaef6cc27403beec68a6f8d6ce882327f5867594bc74370282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/kubernautagent/mcp/notification_bus.go:76-86 | internal/kubernautagent/mcp/timeout_manager.go:149-160 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/notification_bus.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d919184553a71c5bcda9821b9ec5f10e839aacca1584ca0dcf52fa5b67766e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/kubernautagent/prompt/builder.go:427-436 | pkg/apifrontend/tools/af_alerts.go:361-370 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/prompt/builder.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"831567783496571a8d3beb2f6af4bd5e94566b227107a396be0354ca3e6d2fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/apifrontend/auth/middleware.go:178-190 | pkg/apifrontend/tools/ka_investigate_mcp.go:175-187 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/middleware.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e49ded6f80639a7eb5c76ca33301f51c88fb52a52edf51ef5b13b1747add672"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/aianalysis/main.go:70-82 | cmd/workflowexecution/main.go:73-82 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bbf7e1f30cead06e4bb41352f27a78c3397c1c65c97cca6ae098280c7a0034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/apifrontend/severity/types.go:129-140 | pkg/remediationorchestrator/creator/notification_extensions.go:79-90 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/types.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a27581e4eb05f50b0ad2c8d89714d1ede175123167eb85970a4161e8cd9d49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/fleet/acm/client.go:63-74 | pkg/fleet/fmc/http_client.go:83-94 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/client.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d611c6a2cc544f1d0869a2ccc80a80fc58fac033ed0820b3890bb7da5e06a80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/kubernautagent/audit/ds_response_mapping.go:204-213 | pkg/apifrontend/launcher/part_converter.go:545-555 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c03db368705a76d720f25064a6bc9ae9aa84cafeb1d5a0011d40dd741642add"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/apifrontend/launcher/part_converter.go:338-348 | pkg/apifrontend/session/reinvoke.go:175-185 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/part_converter.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210480edf48d7c4e3245e7e4cff32858ba21923f50fd60c891c244e6dd418d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/controller/notification/routing_handler.go:131-141 | pkg/apifrontend/auth/jwt.go:427-436 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/routing_handler.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefdddb4b33e5be31fd179b29bf3de99a59a5bffa923b650054b3ec0542baaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): internal/kubernautagent/investigator/investigator_anomaly_scope.go:98-111 | internal/kubernautagent/mcp/disconnect_handler.go:240-251 | internal/kubernautagent/session/store.go:356-369 | pkg/datastorage/server/dlq_retry_worker.go:280-292 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_anomaly_scope.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"442f8ba0a5abd0794a4d3d9857f9656f70e3855c3b114d3dd2740efd722e0791"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/config/config.go:31-37 | pkg/apifrontend/config/config.go:380-389 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/config/config.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ef4ce669c344c08a24fe75bca57bad63aa216d68c53bc2979df0852ca3681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/notification/phase/manager.go:105-114 | pkg/remediationorchestrator/phase/manager.go:48-57 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/phase/manager.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008911e93c30d027d8c5323f6fb0e3effa77aa114f8fef6f34b54b0d2bed1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/config/config.go:40-46 | pkg/notification/config/config.go:154-161 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/config/config.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cbb658f5fd307411883a472266cb9092e5982ea9c04b21e08e034a5c03410f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/kubernautagent/server/ratelimit.go:191-205 | pkg/gateway/middleware/trusted_realip.go:69-80 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/server/ratelimit.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a5eb9dcd23469f8e385208a8ae163193db6e3c4271e4a611597233a8bac63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/effectivenessmonitor/client/tls.go:32-41 | pkg/shared/tls/ca_reloader.go:140-146 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/tls.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2efc6399da359c753daa225723ea41ec14d252adc2c9dbe8a917da330081c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/kubernautagent/tools/alertmanager/tools.go:78-84 | pkg/kubernautagent/tools/prometheus/tools.go:219-225 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/alertmanager/tools.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6d98836e3cf1af2b88e44345dc322defe77b0bc34bb653f0e1af072615fed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/mcp/timeout_manager.go:127-133 | internal/kubernautagent/session/store.go:243-249 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/timeout_manager.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77585ef8fd11b8307991df207101882778e90256000b1274047f1e1cf2d6edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/mcp/timeout_manager.go:139-145 | internal/kubernautagent/session/store.go:252-258 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/timeout_manager.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cdda2c9779da4000a10625b7e680cea5923c118d2e592b65925dab075420b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/controller/apifrontend/ttl.go:226-234 | pkg/apifrontend/session/service.go:322-331 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/apifrontend/ttl.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73bb844cf88aecb32fe7b6f222c9d25bb317e0692dca6c60487014af5feb643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/investigator/investigator_gates.go:1334-1340 | internal/kubernautagent/workflowcatalog/metadata.go:87-93 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c16867ef620bfa9a7a950c3901fc41a4584b036571771bcb999393fc4d874c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): pkg/apifrontend/audit/store_adapter.go:30-35 | pkg/apifrontend/handler/console_access.go:28-37 | pkg/apifrontend/handler/console_policyread.go:35-40 | pkg/apifrontend/handler/status_handler.go:42-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb150a39bc5e5a2f0c10cb6605f7ff219e6a15f4dfbc83c6580572ec7256ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/datastorage/models/workflow_schema.go:531-537 | pkg/datastorage/repository/audit_events_batch.go:45-52 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/workflow_schema.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c324d85ce87e05b6f82e91e3e2ffb30da42e489879de813cc535109b5abdee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): internal/controller/apifrontend/agentsession_close.go:111-116 | internal/controller/apifrontend/lease_sync.go:50-59 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/apifrontend/agentsession_close.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe951dc8575fd693d70dd82f31498408126163e004d3f53f5a0878db11237ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/kubernautagent/alignment/evaluator.go:59-65 | internal/kubernautagent/mcp/tools/complete_no_action.go:154-160 | internal/kubernautagent/mcp/tools/select_workflow.go:381-387 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/alignment/evaluator.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"737418a9686961bee4e9a39bfc905acb7a2f41a9e1cd3f72bce93cda7205f74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/kubernautagent/audit/ds_response_mapping.go:28-35 | pkg/aianalysis/handlers/generated_helpers.go:23-33 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b48536859b0f4ec72f9010b35203fa0a5f657c5519c0920b9bc13938af65e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/kubernautagent/audit/ds_response_mapping.go:72-79 | pkg/aianalysis/handlers/generated_helpers.go:73-83 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daeeebbb6ef4491db1c8029b8fef07f246b3c3250aad9b95d0384e989a0f067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): internal/kubernautagent/mcp/session_manager.go:279-288 | internal/kubernautagent/mcp/tools/select_workflow.go:791-800 | pkg/apifrontend/launcher/completion.go:141-147 | pkg/workflowexecution/executor/job.go:313-319 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/session_manager.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5bda9843edef455d7d9ea39547c0dbd8bb22510a196408cd3c017b7c2ba05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/apifrontend/agent/checkpoint_tool_filter.go:125-132 | pkg/apifrontend/session/reinvoke.go:137-147 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/checkpoint_tool_filter.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7674e2e849404b661b66dcb0b942777113cf03e50515b2af7a193f8aa0cd72fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/gateway/adapters/kubernetes_event_adapter.go:273-282 | pkg/gateway/adapters/prometheus_adapter.go:517-525 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/kubernetes_event_adapter.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7111f0a692ad57ed2229806fc9573d1bb1ffe00d7b48e70a4f5af7310bc95b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/kubernautagent/mcp/session_manager.go:679-687 | pkg/workflowexecution/executor/tekton.go:357-363 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/session_manager.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaae8925666015cbe1f913322d2c83b87b96d03fc5d6e44949f89fe394196c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/apifrontend/agent/checkpoint_tool_filter.go:68-75 | pkg/apifrontend/session/reinvoke.go:98-108 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/checkpoint_tool_filter.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d2bd648b8380cb454dcc5687bc9caa654c21d08e2169cec4ba00bc6c89f09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/apifrontend/ka/mcp_sdk_client.go:340-349 | pkg/kubernautagent/llm/chat_helpers.go:28-33 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/mcp_sdk_client.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6836cb5f8e3e54ee2597bccaec52d5215f5571c9cf8b9c99b2f295cce299a32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/fleet/mcpclient/resilience.go:609-617 | pkg/kubernautagent/llm/openai/client.go:64-70 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/resilience.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2718b748ace07f085a315d1de41de0ddb2c37654397712a70dd8ab510f540b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/kubernautagent/mcp/session_manager.go:195-206 | pkg/datastorage/repository/audit_events_repository.go:252-261 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/session_manager.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab12752d36e16b2a1a9f1386a5aa025760865609117913ceb5d50870657a760d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/datastorage/query/audit_events_builder.go:60-73 | pkg/datastorage/server/handler.go:113-124 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/query/audit_events_builder.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"850980698c08f51d9a6eb24eb81c0355a27bed07a2c3c177710afabadf4d4ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/remediationapprovalrequest/conditions.go:147-153 | pkg/remediationrequest/conditions.go:195-201 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/conditions.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4762d5a413e281513c9b2eedf6e3446754d9014ff82126b5a2be1d8d15a157c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/remediationapprovalrequest/conditions.go:180-186 | pkg/remediationrequest/conditions.go:215-221 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/conditions.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9ddd2f937eda57572dfe5bf8b67b559a1ca34365b470cb5ee0f9142c2bf26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/kubernautagent/mcp/tools/investigate.go:461-469 | pkg/notification/delivery/orchestrator.go:672-681 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"49764961b780a70aab9dc199e407f56afd0877a8997571b66faa77f21898c79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): pkg/aianalysis/phase/types.go:131-138 | pkg/effectivenessmonitor/phase/types.go:95-102 | pkg/signalprocessing/phase/types.go:118-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/phase/types.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"351537fd23b8493f3437f319f90140562019bd931e624bb142475e6337ac9482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): api/agentsession/v1alpha1/evidence_types.go:34-106 | api/aianalysis/v1alpha1/evidence_types.go:34-106 \u2014 before extracting anything, compare \u0060api/agentsession/v1alpha1/evidence_types.go\u0060 and \u0060api/aianalysis/v1alpha1/evidence_types.go\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/agentsession/v1alpha1/evidence_types.go:34\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":"api/agentsession/v1alpha1/evidence_types.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855efa19fc7497f6f398fb650ba7bc6f50ce796c310f83d7456fc85d1bff8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): pkg/notification/metrics/metrics.go:111-160 | pkg/notification/metrics/metrics.go:213-262 \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":"pkg/notification/metrics/metrics.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"faccdbf6bcfdab631f4320231e68c7052b902941d943a12c85023a56498cc67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): internal/kubernautagent/audit/ds_buffered_store.go:94-134 | internal/kubernautagent/audit/ds_store.go:46-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_buffered_store.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"874e318d44d96b10aca7c05998aa41867b92c1b603099d7539f3f6b56b80f563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201341 lines \u00D7 2): pkg/audit/openapi_client_adapter.go:127-167 | pkg/effectivenessmonitor/client/ds_querier.go:61-83 \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 \u0060pkg/audit/openapi_client_adapter.go:127\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":"pkg/audit/openapi_client_adapter.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d19816039d46f49e5a6feaf5f63af0ec8591bd7ecf11f97a9a5617b9d2ee1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): internal/controller/workflowexecution/workflowexecution_status_marking.go:51-88 | pkg/workflowexecution/executor/tekton.go:291-326 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Check import visibility before settling on that home: \u0060internal/controller/workflowexecution/workflowexecution_status_marking.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_status_marking.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd183351a70fde405e89c7afba0752704fb6082812644d4070d0de404819a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3): cmd/aianalysis/main.go:399-435 | cmd/authwebhook/main.go:391-427 | cmd/signalprocessing/main.go:571-607 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/aianalysis/main.go:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060configPath\u0060 in one and \u0060configFile\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b35488e7ef8eff87dde13ee219499d7fef5bfd82735909c72da8f08057e53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): cmd/aianalysis/main.go:90-125 | cmd/remediationorchestrator/main.go:91-126 \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 \u0060cmd/aianalysis/main.go:90\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":"cmd/aianalysis/main.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bd0cf805eb55af76bb610d85192589946cea5a8c6a65d65751eeb735c8d1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201335 lines \u00D7 2): internal/controller/effectivenessmonitor/assess_components.go:202-226 | pkg/effectivenessmonitor/audit/manager.go:241-275 \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 \u0060internal/controller/effectivenessmonitor/assess_components.go:202\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. Check import visibility before settling on that home: \u0060internal/controller/effectivenessmonitor/assess_components.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/assess_components.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a9906881b1a3cc3534d3cb179169c13078e665ff90c18f391a5847d2b008e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): api/agentsession/v1alpha1/evidence_types.go:20-53 | api/aianalysis/v1alpha1/evidence_types.go:20-53 | pkg/kubernautagent/types/evidence.go:63-96 \u2014 before extracting anything, compare \u0060api/agentsession/v1alpha1/evidence_types.go\u0060 and \u0060api/aianalysis/v1alpha1/evidence_types.go\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/agentsession/v1alpha1/evidence_types.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c310addb09d63b78bb70d4311ff018834112006b4a3b54438f4a0cef9fc38e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201332 lines \u00D7 2): pkg/gateway/audit_emission.go:166-197 | pkg/gateway/audit_emission.go:250-271 \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 \u0060pkg/gateway/audit_emission.go:166\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":"pkg/gateway/audit_emission.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d2fc469be9d574c47f3892b5b5a7badab100d1045355ac8b40ed08223f0308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): pkg/workflowexecution/executor/awx_client.go:71-101 | pkg/workflowexecution/executor/awx_client.go:365-395 \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 \u0060pkg/workflowexecution/executor/awx_client.go:71\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 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":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c97d3167263f34b08198b7d2e8e02d5994d8c08492994185a9ad65af62cd86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): docs/architecture/spikes/hitl-permission/main.go:32-61 | docs/architecture/spikes/run-state-persistence/main.go:46-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c4eb4b54dc8724668baed1f0c67736fcf94f9cbbe908d5ab5c8552495e1458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): pkg/aianalysis/metrics/metrics.go:163-192 | pkg/aianalysis/metrics/metrics.go:240-269 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/metrics/metrics.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c874bc8ed71e8f63e10bc0eca6f655fb889a8018e7bab4385fd0521329b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201330 lines \u00D7 2): pkg/signalprocessing/audit/client.go:174-203 | pkg/signalprocessing/audit/client.go:322-345 \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":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e460c41d758453eb68ec39a41de84e20685fdb565c51ec344e8525972e6d895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 2): pkg/gateway/signal_ingestion.go:140-168 | pkg/gateway/signal_ingestion.go:246-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 \u0060pkg/gateway/signal_ingestion.go:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/gateway/signal_ingestion.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d5243936d80e9864feb31bff8c27765de99423978b1fcb61496538cd1ca983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): pkg/gateway/processing/distributed_lock.go:156-182 | pkg/remediationorchestrator/locking/distributed_lock.go:71-94 \u2014 before extracting anything, compare \u0060pkg/gateway/processing/distributed_lock.go\u0060 and \u0060pkg/remediationorchestrator/locking/distributed_lock.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"de574359ecee4ae70277b9b8b81ec3a398524c33a4eb93d95b3c44a73ff5e0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:330-354 | pkg/fleet/registry/kuadrant_registry.go:249-273 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"454bfa01d8d790e4393366ffa407dcd74ce7171a799a03917d92f5b3deda993c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): pkg/notification/status/manager.go:58-81 | pkg/notification/status/manager.go:227-249 \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":"pkg/notification/status/manager.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba5250b4ea1201f28eac62ccb3892fbeebf8b820561a6cd6b8ba3da6aa0d050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): pkg/workflowexecution/metrics/metrics.go:107-130 | pkg/workflowexecution/metrics/metrics.go:154-176 \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":"pkg/workflowexecution/metrics/metrics.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c66fc4db7e8cc14620870117a88eb049cc3e3dc2bc67003b70796da083301e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): cmd/gateway/main.go:480-501 | cmd/remediationorchestrator/main.go:590-611 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/gateway/main.go:502\u0060 calls \u0060SetFleetReadinessGate\u0060 and \u0060cmd/remediationorchestrator/main.go:612\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea66aa46a27ed1994a8382afe9b1bcf8aa1f38e023fc7a2201ccc63bf198d910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/gateway/adapters/prometheus_adapter.go:284-305 | pkg/gateway/adapters/prometheus_adapter.go:462-483 \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 \u0060pkg/gateway/adapters/prometheus_adapter.go:284\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":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7489caada2d870b0afb7068ae3dc89bbdf3efe5bce8441dc6bfffb6c02e0b3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/gateway/processing/distributed_lock.go:233-254 | pkg/remediationorchestrator/locking/distributed_lock.go:181-202 \u2014 before extracting anything, compare \u0060pkg/gateway/processing/distributed_lock.go\u0060 and \u0060pkg/remediationorchestrator/locking/distributed_lock.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gateway/processing/distributed_lock.go:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc5ba8c1180e164e90d92f16fc1a08ef72e71d857f82a911b48d89f104c094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): pkg/notification/status/manager.go:159-177 | pkg/notification/status/manager.go:273-294 \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":"pkg/notification/status/manager.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9f5b1f2b9cb5881367f2de36b4d659366f6fc5bbf8d12956f58b52fe4dfe30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/signalprocessing/config/config.go:200-221 | pkg/workflowexecution/config/config.go:263-284 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/config/config.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fb3494557626fc664f148e47b150f8017a18a4c4ab2c3b49703409bd928b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): internal/config/aianalysis/config.go:138-158 | internal/config/effectivenessmonitor/config.go:155-175 | internal/config/remediationorchestrator/config.go:318-338 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/aianalysis/config.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"595cf9938b0bdb668643672a5b480726d57e175b0c69a40fc70a33999d2252bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): cmd/apifrontend/backend_deps.go:950-967 | pkg/apifrontend/ka/rest_client.go:68-87 \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 \u0060cmd/apifrontend/backend_deps.go:950\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":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da7a3a9d22211492c11fa23219eec8e0917600c0e4d8c79458a87ff659da00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:88-106 | docs/architecture/spikes/run-state-persistence/main.go:102-120 | docs/architecture/spikes/shadow-acp/main.go:101-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c96b590cf046c30c8d372c0fa5ed6fb5b51f9becc1acff61879d1ed636bfdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/kubernautagent/config/config.go:466-484 | pkg/shared/types/llm.go:411-429 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Check import visibility before settling on that home: \u0060internal/kubernautagent/config/config.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/config/config.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49d563ad36dea996bb3859de68280e9a03157f7bc5d6a2067d4cb37d6d9d187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/apifrontend/ka/mcp_sdk_client.go:162-180 | pkg/apifrontend/ka/pooled_mcp_client.go:290-308 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/ka/mcp_sdk_client.go:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/apifrontend/ka/mcp_sdk_client.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"50460747718fd244410dc8aae39bd1fdad53110097686f0498429d1fcb5aaa3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/apifrontend/resilience/circuitbreaker.go:59-77 | pkg/apifrontend/resilience/k8s_cb.go:32-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/resilience/circuitbreaker.go:59\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":"pkg/apifrontend/resilience/circuitbreaker.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b66f0cf74a6da2187b8a5de0dca7c63c5ec23fcb0a0cdd3f4589eb26d59cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): internal/kubernautagent/server/ratelimit.go:127-144 | internal/kubernautagent/server/user_ratelimit.go:99-116 | pkg/apifrontend/ratelimit/ratelimit.go:84-101 | pkg/datastorage/server/middleware/ratelimit.go:102-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Check import visibility before settling on that home: \u0060internal/kubernautagent/server/ratelimit.go\u0060, \u0060internal/kubernautagent/server/user_ratelimit.go\u0060 sit under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/server/ratelimit.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c59dc9ea12c3a6b3dd32f4c927da6beb1f8ee80b3ba3af2def42859a3f538b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/apifrontend/ka/mcp_sdk_client.go:76-93 | pkg/apifrontend/ka/pooled_mcp_client.go:157-174 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/mcp_sdk_client.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c48cd2c62c0cd0a1522c1f836cba7df095a445c603fabd236d411b7a24b6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): pkg/authwebhook/notificationrequest_handler.go:85-101 | pkg/authwebhook/notificationrequest_validator.go:111-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/notificationrequest_handler.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4322cd9d0052c79e3480e1c74d446abbed87a72c885634e58be0002fd23fbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/notification/routing/config.go:469-486 | pkg/notification/routing/config.go:505-522 \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 \u0060pkg/notification/routing/config.go:469\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/routing/config.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd2ef91c96fedc34a4a841206bd1ab49bc73556898e5e3664dfa9f6d8d0feba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/controller/effectivenessmonitor/completion.go:39-55 | internal/controller/effectivenessmonitor/completion.go:92-108 \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/controller/effectivenessmonitor/completion.go:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/controller/effectivenessmonitor/completion.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcc6d6967cb52fc3430c22267bb5298f6092aabaffe2c6f29a1b3579945744d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/datastorage/query/service.go:106-122 | pkg/datastorage/query/service.go:211-227 \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 \u0060pkg/datastorage/query/service.go:106\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":"pkg/datastorage/query/service.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a8346e8fa09e0af98acf28a81251d0686a869595f4412b44eea3af7ebb9c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:275-290 | pkg/fleet/registry/kuadrant_registry.go:166-182 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6e7e57b2c65e1c3b23ef92af18e8f949ffb163affb79fe0b1754c91da5c95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): pkg/notification/audit/manager.go:144-160 | pkg/notification/audit/manager.go:214-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/audit/manager.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"253f167afae1e5794c2ee5adb6a2af8d6ee1169ae34db2bb04e08c965ca01876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): cmd/aianalysis/main.go:402-416 | cmd/authwebhook/main.go:394-408 | cmd/effectivenessmonitor/main.go:754-768 | cmd/remediationorchestrator/main.go:833-848 | cmd/signalprocessing/main.go:574-588 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/aianalysis/main.go:402\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060configPath\u0060 in one and \u0060configFile\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a1b095e81bf535f99f947951630e037336f01d05d0baa44d132dc5460e5244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): pkg/effectivenessmonitor/audit/manager.go:174-189 | pkg/effectivenessmonitor/audit/manager.go:514-529 | pkg/effectivenessmonitor/audit/manager.go:598-613 \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 \u0060pkg/effectivenessmonitor/audit/manager.go:174\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/effectivenessmonitor/audit/manager.go:513\u0060 calls \u0060storeEvent\u0060 and \u0060pkg/effectivenessmonitor/audit/manager.go:171\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"81889335d35a4db93fa24b9ab9fcb20beea56387b97be21d695ccc16cafc1f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/gateway/main.go:581-596 | cmd/notification/main.go:789-804 \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 \u0060cmd/gateway/main.go:581\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/gateway/main.go:579\u0060 calls \u0060EmitConfigReloadAudit\u0060 and \u0060cmd/notification/main.go:788\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"affb2c1ea2cba968c6e198e55f3923cfb919f205832b699caeb363c19e14d609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/kubernautagent/enrichment/ds_adapter.go:193-208 | internal/kubernautagent/enrichment/ds_adapter.go:246-261 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/ds_adapter.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b620f4ebae2554ca319abc4267d2a9ecc9ebec0d887190822bcdee7da53c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/kubernautagent/investigator/investigator_audit.go:518-533 | internal/kubernautagent/investigator/investigator_audit.go:546-561 \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/kubernautagent/investigator/investigator_audit.go:518\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/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ec48be7f8e6685705ea0d2960ea38380f569e4187d7950e4be92bfa1cfef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): pkg/apifrontend/config/hotreload.go:207-221 | pkg/shared/hotreload/file_watcher.go:225-240 \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 \u0060pkg/apifrontend/config/hotreload.go:207\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/shared/hotreload/file_watcher.go:241\u0060 calls \u0060V\u0060, \u0060Info\u0060 and \u0060pkg/apifrontend/config/hotreload.go:222\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/hotreload.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d89b0c2ec757b740d38437ac7207a8a72b8fd847a00c820578a055b6530b12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): pkg/apifrontend/tools/af_check_existing_rr.go:69-84 | pkg/apifrontend/tools/af_create_rr.go:180-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/tools/af_check_existing_rr.go:69\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":"pkg/apifrontend/tools/af_check_existing_rr.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295cf57aa0ce604e921342878dd0133c50ff3ea98a86094c4970384d14104d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/fleet/mcpclient/gateway_binding_resolver.go:88-103 | pkg/fleet/mcpclient/gateway_binding_resolver.go:134-149 \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 \u0060pkg/fleet/mcpclient/gateway_binding_resolver.go:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060pkg/fleet/mcpclient/gateway_binding_resolver.go:134\u0060 is reached only past a guard at line 128 that tests \u0060r.generations\u0060 and leaves the function early, and \u0060pkg/fleet/mcpclient/gateway_binding_resolver.go:88\u0060 reads \u0060r.generations\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/gateway_binding_resolver.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a6228d1afdfa0038018b6bb744fb49815607840117edc8fba484935f2dadc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:175-190 | pkg/fleet/registry/kuadrant_registry.go:133-148 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fleet/registry/eaigw_registry.go:175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"250aac5a1d173619f9ea5755407f11a27ce25380334b433a532f303fd07b5fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): pkg/remediationorchestrator/audit/manager.go:408-423 | pkg/remediationorchestrator/audit/manager.go:476-489 \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 \u0060pkg/remediationorchestrator/audit/manager.go:408\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":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"68068f06d733160992e002cb39bacfff15bc7ab4bff3ee69f5c187e5e7c3a225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): cmd/effectivenessmonitor/main.go:347-357 | cmd/notification/main.go:529-543 | cmd/remediationorchestrator/main.go:406-418 | cmd/workflowexecution/main.go:411-423 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"71076b5228dcf5b66de503d503bb0da4e5ebdb305c1d52b4391ec664981670ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): pkg/workflowexecution/audit/manager.go:229-241 | pkg/workflowexecution/audit/manager.go:314-326 | pkg/workflowexecution/audit/manager.go:466-480 | pkg/workflowexecution/audit/manager.go:722-732 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/audit/manager.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e835ce3bbe59b51e128fee21cc4dc40b1a852a9611720577af8258b3d48b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/gateway/main.go:632-646 | cmd/kubernautagent/bootstrap.go:648-662 \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 \u0060cmd/gateway/main.go:632\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":"cmd/gateway/main.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c5fc760cf10de2a891bb87a1621c29e4567198e3d77050b8ac36ba3a9879f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/notification/main.go:779-793 | cmd/workflowexecution/main.go:697-711 \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 \u0060cmd/notification/main.go:779\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":"cmd/notification/main.go"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f3ee43f041fe752c6034aa7b9c60890990de1eeebaf62f765506840ba40b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): internal/kubernautagent/alignment/llmproxy.go:43-57 | internal/kubernautagent/alignment/llmproxy.go:63-75 \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/kubernautagent/alignment/llmproxy.go:43\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/kubernautagent/alignment/llmproxy.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8d30d4576de753b3fd52101733419cb3d0cd2ad9b5a76b3ad521a74052b9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/apifrontend/severity/llm.go:85-99 | pkg/apifrontend/severity/openai_compatible.go:84-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/severity/llm.go:85\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/apifrontend/severity/llm.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2f1d000981105e9696a6de6a5a44ac74972150a236c44f129567ff9317003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): pkg/gateway/processing/distributed_lock.go:198-212 | pkg/remediationorchestrator/locking/distributed_lock.go:119-130 \u2014 before extracting anything, compare \u0060pkg/gateway/processing/distributed_lock.go\u0060 and \u0060pkg/remediationorchestrator/locking/distributed_lock.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c347454fb95a9973815c06223a1d5aa0fc3f825846eb0fccfdd86e5c7087e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): pkg/kubernautagent/llm/instrumented_client.go:67-81 | pkg/kubernautagent/llm/instrumented_client.go:87-97 \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 \u0060pkg/kubernautagent/llm/instrumented_client.go:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/kubernautagent/llm/instrumented_client.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"66416fec439f91d3dffc3ecdb957b0947ede85018c09d5c9c7f37bde04eaf4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/kubernautagent/types/evidence.go:133-147 | pkg/kubernautagent/types/evidence.go:150-164 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/types/evidence.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7343c0cecb06b52f8f719cc6b5f86feb7761be2eae2f4c7e1d0f8a483e8338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): pkg/remediationorchestrator/handler/aianalysis.go:454-464 | pkg/remediationorchestrator/handler/aianalysis.go:555-569 \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 \u0060pkg/remediationorchestrator/handler/aianalysis.go:454\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/remediationorchestrator/handler/aianalysis.go:452\u0060 calls \u0060Info\u0060 and \u0060pkg/remediationorchestrator/handler/aianalysis.go:555\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/handler/aianalysis.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa82abc3849c89868209932a223dcc4b08dafe171c4dc1977db9532188b80270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/remediationorchestrator/routing/blocking.go:251-265 | pkg/remediationorchestrator/routing/blocking.go:312-326 \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":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cecd7df93f954de515256bbe35d6f15028f9edee3ac3d216a979e3d39c7449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/shared/k8s/ownerchain/owner_resolver.go:67-81 | pkg/shared/scope/manager.go:86-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/k8s/ownerchain/owner_resolver.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e406bff1e1dfc850037421e10ade49a1c19f03abdf287d5f80c7682d95ba16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/shared/types/typed_parameter.go:206-220 | pkg/shared/types/typed_parameter.go:299-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 \u0060pkg/shared/types/typed_parameter.go:206\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/shared/types/typed_parameter.go:221\u0060 calls \u0060IsNaN\u0060, \u0060IsInf\u0060, \u0060Errorf\u0060 and \u0060pkg/shared/types/typed_parameter.go:314\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/typed_parameter.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff77e8ea26ccba28ebd6c2609f8b89c5c5f8f005a6f6db64bf8d37965077d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cmd/aianalysis/main.go:165-178 | cmd/signalprocessing/main.go:166-179 \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 \u0060cmd/aianalysis/main.go:165\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":"cmd/aianalysis/main.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e290b630044d4cc322935c4770f61e504d463af26a718abc7e12591ed6061d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/kubernautagent/llm/transport/oauth2_credentials.go:44-57 | pkg/fleet/mcpclient/auth.go:45-58 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Check import visibility before settling on that home: \u0060internal/kubernautagent/llm/transport/oauth2_credentials.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/llm/transport/oauth2_credentials.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd0c01be75c3534893a886124a45d0cfc04c622b5ac4cf5c8a6bec4bdedb457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/kubernautagent/mcp/tools/select_workflow.go:148-161 | pkg/apifrontend/tools/ka_tools.go:310-323 \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 \u0060internal/kubernautagent/mcp/tools/select_workflow.go:148\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. Check import visibility before settling on that home: \u0060internal/kubernautagent/mcp/tools/select_workflow.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/kubernautagent/mcp/tools/select_workflow.go:164\u0060 calls \u0060actingUserOverride\u0060 and \u0060pkg/apifrontend/tools/ka_tools.go:326\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/select_workflow.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b69f2c9b7e0d0fe1f5f97c2379a5558703019214c20e36c42083ae8c1fd9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/kubernautagent/session/manager_interactive.go:194-207 | internal/kubernautagent/session/manager_interactive.go:248-261 \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/kubernautagent/session/manager_interactive.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc453b518f08f185f98fa825b42d7a402fe39ad0e74f8b090a71eb36caefc16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/apifrontend/ratelimit/ratelimit.go:35-48 | pkg/datastorage/server/middleware/ratelimit.go:64-77 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/ratelimit.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b627d46c0ec8445577a9106c0b0b1a82c194262d11bd6448de717a21af968d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/datastorage/repository/sql/builder.go:201-214 | pkg/datastorage/repository/sql/builder.go:254-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/sql/builder.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9a698e7e42cff470853820b2050cc65ec09327e55dcb937986c7fd8c7b01cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): pkg/fleet/mcpclient/discover.go:87-100 | pkg/fleet/mcpclient/discover.go:151-163 \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 \u0060pkg/fleet/mcpclient/discover.go:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/fleet/mcpclient/discover.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b8c4380e1795cff065f149924e8698ada8a800516d04617189c7bef6a44252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:314-327 | pkg/fleet/registry/kuadrant_registry.go:233-246 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fleet/registry/eaigw_registry.go:314\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":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"606310292730c125085cc90842ab2d67579b0156e70165d5994d16541634d1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 9): internal/controller/remediationorchestrator/notification_creation.go:224-235 | internal/controller/remediationorchestrator/timeout_handling.go:190-201 | pkg/remediationorchestrator/creator/notification.go:227-239 | pkg/remediationorchestrator/creator/notification.go:449-461 | pkg/remediationorchestrator/creator/notification.go:590-602 | pkg/remediationorchestrator/creator/notification.go:758-769 | pkg/remediationorchestrator/creator/notification.go:819-830 | pkg/remediationorchestrator/creator/notification.go:950-962 | pkg/remediationorchestrator/creator/notification.go:1243-1254 \u2014 there are 9 copies across 3 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 9 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/controller/remediationorchestrator/notification_creation.go:224\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. Check import visibility before settling on that home: \u0060internal/controller/remediationorchestrator/notification_creation.go\u0060, \u0060internal/controller/remediationorchestrator/timeout_handling.go\u0060 sit under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/remediationorchestrator/creator/notification.go:754\u0060 calls \u0060Sprintf\u0060, \u0060buildEscalationBody\u0060 and \u0060pkg/remediationorchestrator/creator/notification.go:585\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/notification_creation.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ac82516b75fae199c00dd1128f21e27958aa0c500fe8c1e7aba8dfc5d87a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/aianalysis/main.go:244-256 | cmd/signalprocessing/main.go:193-205 \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 \u0060cmd/aianalysis/main.go:244\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":"cmd/aianalysis/main.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"186bfb7547aadc7166670091421980295344b5fb898b1c6e1507bd7389c91149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:647-659 | docs/architecture/spikes/shadow-acp/main.go:829-841 \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. 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":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4dd9d946a4677b4765043c1620a82b9ff9893dc0ebebb9dfbb12148448dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/controller/effectivenessmonitor/target_resources.go:276-288 | internal/controller/remediationorchestrator/pre_remediation_hash.go:174-186 \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 \u0060internal/controller/effectivenessmonitor/target_resources.go:276\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/controller/effectivenessmonitor/target_resources.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d98022b342c341768b102050652342002f784e573ee372780298f14a15c7b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/kubernautagent/enrichment/k8s_adapter.go:284-296 | pkg/kubernautagent/tools/k8s/resolver.go:238-250 \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 \u0060internal/kubernautagent/enrichment/k8s_adapter.go:284\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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/k8s_adapter.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d94024719f6e709b6b82459cb55e0c6c414a86f66573ce2485f365870ff830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/kubernautagent/prompt/history.go:744-756 | internal/kubernautagent/prompt/history.go:758-770 \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/kubernautagent/prompt/history.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf589b1883efa2a5344c3676221918e7fb41d719e89af6241ecf84a1999f4ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pkg/aianalysis/audit/audit.go:194-206 | pkg/aianalysis/audit/audit.go:717-728 \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 \u0060pkg/aianalysis/audit/audit.go:194\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":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c45fa4e395cb1efa87a4e48ddc063dc53f0ed775af0f51abc3c99ccb94be0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/apifrontend/ratelimit/ratelimit.go:52-64 | pkg/datastorage/server/middleware/ratelimit.go:82-94 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/ratelimit.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dbaa477ab426128c776643ca1f695249fd15dfe42680bd983c2bb436df4e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/datastorage/reconstruction/parser.go:202-214 | pkg/datastorage/reconstruction/parser.go:224-236 \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":"pkg/datastorage/reconstruction/parser.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f932b17a36cd66fc169b4b70e52115b5a9b8d8d81dc272a262cb63de5e927f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/effectivenessmonitor/client/ca_reloader.go:108-120 | pkg/effectivenessmonitor/client/tls.go:65-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/ca_reloader.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e03d854999f60d2ba7e97f32c36086c2ff2b25b97bbac34d47c720782239d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:357-369 | pkg/fleet/registry/kuadrant_registry.go:276-288 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd09549cf099ecd13ff598c92a6817d33a47ecefa779e56f5dfaa096146b22b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/gateway/adapters/prometheus_adapter.go:240-252 | pkg/gateway/adapters/prometheus_adapter.go:317-329 \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":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"67212a88ad99adf64d7ca4e60282d63f23928a9f10f7dee7e664eb0032def54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/gateway/middleware/alertmanager_freshness.go:125-137 | pkg/gateway/middleware/event_freshness.go:77-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/middleware/alertmanager_freshness.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eb5c5fe3b91d9f5f8eb3421644c77f9de2f7aeb43718bdda4275fab6222a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/notification/audit/manager.go:284-296 | pkg/notification/audit/manager.go:344-356 \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":"pkg/notification/audit/manager.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48b0abb3cd36023d0b2dbae00cb655ab168712676684f907a0d1e648e83afec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): pkg/aianalysis/status/manager.go:71-82 | pkg/remediationorchestrator/status/manager.go:75-86 | pkg/signalprocessing/status/manager.go:90-101 | pkg/workflowexecution/status/manager.go:66-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/aianalysis/status/manager.go:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/aianalysis/status/manager.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d4f76627b7a540643a3eb1d3da57f240e03127209699523f067e893b21995e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): pkg/apifrontend/ka/pooled_mcp_client.go:74-85 | pkg/apifrontend/ka/pooled_mcp_client.go:118-129 | pkg/apifrontend/ka/pooled_mcp_client.go:147-158 | pkg/apifrontend/ka/pooled_mcp_client.go:326-337 \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 \u0060pkg/apifrontend/ka/pooled_mcp_client.go:74\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":"pkg/apifrontend/ka/pooled_mcp_client.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5278f70dd66312df9e2c00ece8f34643c8e0eae5bd929670cf05df74e644432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): pkg/authwebhook/config/config.go:100-111 | pkg/fleet/fmc/config/config.go:156-167 | pkg/gateway/config/config.go:441-452 | pkg/workflowexecution/config/config.go:216-227 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"pkg/authwebhook/config/config.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d99af23884c0ec154d6ede04caefe08016860de36cbb12184490422c498f9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/kubernautagent/agentsession/mapping.go:469-480 | internal/kubernautagent/investigator/investigator_audit.go:524-535 | internal/kubernautagent/investigator/investigator_audit.go:552-563 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/kubernautagent/investigator/investigator_audit.go:570\u0060 calls \u0060applyReviewReasonFields\u0060 and \u0060internal/kubernautagent/agentsession/mapping.go:481\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f9d9d626bbb9bbfafa4187963d65638a96fd4adde289b67a18449d73b70c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): docs/architecture/spikes/hitl-permission/main.go:311-322 | docs/architecture/spikes/hitl-permission/main.go:469-480 \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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774e07f51e7f332f8a6513629c484cb2804e0116a3d6a585e00ba15b6a98f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:217-228 | docs/architecture/spikes/shadow-acp/main.go:269-280 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1fc9ee7654517f3e2140f15bada78810e8b012a16639a4e4050c4b3f99494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/controller/remediationorchestrator/notification_creation.go:182-193 | pkg/remediationorchestrator/handler/aianalysis.go:81-92 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Check import visibility before settling on that home: \u0060internal/controller/remediationorchestrator/notification_creation.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/notification_creation.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5d84044557d2685271318264f2a83e0ca3807905cb7623dc782f546e3e5d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/kubernautagent/audit/ds_payloads.go:307-318 | internal/kubernautagent/audit/ds_payloads.go:325-336 \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/kubernautagent/audit/ds_payloads.go:307\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac482cfd551c4752857dac805ab77aa9581f7c8d92bff17ebbc3304894db771e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/apifrontend/tools/af_alerts.go:226-237 | pkg/apifrontend/tools/af_alerts.go:319-330 \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 \u0060pkg/apifrontend/tools/af_alerts.go:226\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":"pkg/apifrontend/tools/af_alerts.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"900078b66274de2b2048d2951106b9daa7c113e8fe3b2e7cdc16e307a325c075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): pkg/datastorage/dlq/client_consumer.go:52-63 | pkg/datastorage/dlq/client_consumer.go:163-172 \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":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96a7b0c9b151bde693a2a5019c7d6ee7c0ebea8cb5ca092a5b7be3584fed565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/workflowexecution/audit/manager.go:415-426 | pkg/workflowexecution/audit/manager.go:598-609 \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 \u0060pkg/workflowexecution/audit/manager.go:415\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/workflowexecution/audit/manager.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a089c90732d13904832155cfb9be74b6ed057c7335c30e09ae18a9570b872b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): cmd/effectivenessmonitor/main.go:332-342 | cmd/notification/main.go:442-452 | cmd/remediationorchestrator/main.go:387-397 | cmd/workflowexecution/main.go:392-402 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/effectivenessmonitor/main.go:332\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":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d5a27566971e4a949346b1e44c3d56a5f84453f2c6dc291dd1b0627bdd624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): cmd/effectivenessmonitor/main.go:763-773 | cmd/notification/main.go:782-792 | cmd/remediationorchestrator/main.go:843-853 | cmd/workflowexecution/main.go:700-710 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/effectivenessmonitor/main.go:763\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1158ac4352d76dfb6d6592313847c156c789dcdb89b9a41b2cfc92addad005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/kubernautagent/audit/ds_payloads.go:624-634 | internal/kubernautagent/audit/ds_payloads.go:641-651 | internal/kubernautagent/audit/ds_payloads.go:661-671 \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/kubernautagent/audit/ds_payloads.go:624\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_payloads.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fabf598097b77583c0f63a91c13fe76adbc1dde38cb58595d0ef39a2b70bc8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): pkg/datastorage/dlq/client.go:223-233 | pkg/datastorage/dlq/client.go:281-291 | pkg/datastorage/dlq/client_consumer.go:308-317 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/datastorage/dlq/client.go:223\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":"pkg/datastorage/dlq/client.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d33fe4bef82cd4493e3ec8c71d697ef0de1e0e7900266c48e42e50167d9be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/kubernautagent/agentsession/mapping.go:321-331 | pkg/aianalysis/handlers/evidence_status.go:33-43 \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 \u0060internal/kubernautagent/agentsession/mapping.go:321\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Check import visibility before settling on that home: \u0060internal/kubernautagent/agentsession/mapping.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"564b2d46525b36b1741986a68cf8e08ff9f388f88501d51a98d460317cd0c29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/kubernautagent/enrichment/ds_adapter.go:175-185 | internal/kubernautagent/enrichment/ds_adapter.go:227-237 \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/kubernautagent/enrichment/ds_adapter.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7791dc865e8627f10ebbdbff14d0b5734135a33224f7289bc45727279504998e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/kubernautagent/enrichment/k8s_adapter.go:262-279 | pkg/kubernautagent/tools/k8s/resolver.go:216-233 \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 \u0060internal/kubernautagent/enrichment/k8s_adapter.go:262\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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/k8s_adapter.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7963c023c8769a5c61cd4105131b685e77525c251edbf2f6baf3cb37b3a0e8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/kubernautagent/investigator/investigator_rca.go:165-175 | internal/kubernautagent/investigator/investigator_workflow_selection.go:279-289 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/kubernautagent/investigator/investigator_rca.go:165\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_rca.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"679de0144614b5e9638b15075e587bc7ebed7f1278428b005ab3f8d41cebd5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/kubernautagent/session/manager.go:176-186 | internal/kubernautagent/session/manager_interactive.go:33-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03f2be004868b04e8f82ef653b2093b7efe4bb330ced24daac417a5b7383367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/apifrontend/ka/mcp_sdk_client.go:482-492 | pkg/apifrontend/ka/pooled_mcp_client.go:336-346 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/mcp_sdk_client.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefbc57e3a436a10c1528c27b372d8fc789a03155c664b3ff68671fba6923f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/apifrontend/launcher/openai/adapter.go:92-102 | pkg/kubernautagent/llm/openai/client.go:104-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/openai/adapter.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"876a6644f92fcf695d0abadedfb5a1aed1802621628271aaf02546b4b69d5f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/apifrontend/tools/af_alerts.go:124-134 | pkg/apifrontend/tools/af_alerts.go:272-282 \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":"pkg/apifrontend/tools/af_alerts.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f42512540c4c95071ac6df0595bd16528619820523ebc3fff1e0eaf30bf2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/authwebhook/actiontype_handler.go:204-214 | pkg/authwebhook/remediationworkflow_handler.go:453-463 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/authwebhook/actiontype_handler.go:204\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":"pkg/authwebhook/actiontype_handler.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5f439d180014eb5d3868a097a0f2e867183b176e19987a1ca669de33e26f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): pkg/effectivenessmonitor/audit/manager.go:161-171 | pkg/effectivenessmonitor/audit/manager.go:499-508 \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 \u0060pkg/effectivenessmonitor/audit/manager.go:161\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/effectivenessmonitor/audit/manager.go:513\u0060 calls \u0060storeEvent\u0060 and \u0060pkg/effectivenessmonitor/audit/manager.go:174\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758df5d7c86c47139c65e0ff7fa5804fd0d7ec41c342ae5f9018370f4745c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): pkg/effectivenessmonitor/timing/derived.go:94-103 | pkg/effectivenessmonitor/timing/derived.go:116-126 \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 \u0060pkg/effectivenessmonitor/timing/derived.go:94\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":"pkg/effectivenessmonitor/timing/derived.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd63a8fb095fb1439e2ddd7234c57992636835499235e273bf4b6c3575473f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/gateway/middleware/alertmanager_freshness.go:108-118 | pkg/gateway/middleware/timestamp.go:89-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"pkg/gateway/middleware/alertmanager_freshness.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aed28b0bec54ed039df70cf6f0bc5d3166c306b66e1a0786e39de4f0ab9ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/gateway/middleware/event_freshness.go:140-150 | pkg/gateway/middleware/timestamp.go:152-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/middleware/event_freshness.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ee0a62730b89be88cf0f2766febcfc7c41d9a645ad8ef57b44b373094aa5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/kubernautagent/types/evidence.go:244-254 | pkg/kubernautagent/types/evidence.go:272-282 \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 \u0060pkg/kubernautagent/types/evidence.go:244\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/kubernautagent/types/evidence.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5979293228053356fcd8b32cbaa54b109e258aeebcd9b3e9c1a8867c81a320ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): pkg/remediationorchestrator/handler/aianalysis.go:165-175 | pkg/remediationorchestrator/handler/aianalysis.go:366-374 \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":"pkg/remediationorchestrator/handler/aianalysis.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf10c30c1b81951e87f122e549a974b85a281b41c610c13896b42a0460e234df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/shared/tls/tls.go:406-416 | pkg/shared/tls/tls.go:440-450 \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 \u0060pkg/shared/tls/tls.go:406\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/shared/tls/tls.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"413cafecd52a3273e909ba0c4381a93c9b93697e62e0ec304e3d8f1adbb62ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): cmd/aianalysis/main.go:408-417 | cmd/authwebhook/main.go:400-409 | cmd/effectivenessmonitor/main.go:760-769 | cmd/notification/main.go:779-788 | cmd/remediationorchestrator/main.go:840-849 | cmd/signalprocessing/main.go:580-589 | cmd/workflowexecution/main.go:697-706 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/aianalysis/main.go:408\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060configPath\u0060 in one and \u0060configFile\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ca46f2dcec403e6915a022d31cb502724c6a338ed6a2615c3a29cb6e3c9d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): pkg/remediationorchestrator/audit/manager.go:207-217 | pkg/remediationorchestrator/audit/manager.go:240-249 | pkg/remediationorchestrator/audit/manager.go:275-284 | pkg/remediationorchestrator/audit/manager.go:311-320 | pkg/remediationorchestrator/audit/manager.go:358-368 | pkg/remediationorchestrator/audit/manager.go:777-788 | pkg/remediationorchestrator/audit/manager.go:841-850 \u2014 all 7 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 \u0060pkg/remediationorchestrator/audit/manager.go:207\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":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43246e526f02098ffe412c897dc2edf9686b470e8b7c46c57c36e99bf477d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): cmd/aianalysis/main.go:388-397 | cmd/authwebhook/main.go:380-389 | cmd/signalprocessing/main.go:560-569 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/aianalysis/main.go:388\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":"cmd/aianalysis/main.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7d8d5a6d24910a40018bad6d179a5c3b487548329960bf9e20a3f34475aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 3): cmd/authwebhook/main.go:166-175 | cmd/workflowexecution/main.go:418-426 | pkg/gateway/server_constructors.go:515-520 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/authwebhook/main.go:166\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060pkg/gateway/server_constructors.go:515\u0060 is reached only past a guard at line 487 that tests \u0060cfg.DataStorage.URL\u0060 and leaves the function early, and \u0060cmd/authwebhook/main.go:166\u0060 reads \u0060cfg.DataStorage.URL\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/authwebhook/main.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"515bbcae28ad23c40da41bc75ada6054a97dde51a106f5260334e6339ec7b8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:610-619 | docs/architecture/spikes/run-state-persistence/main.go:680-689 | docs/architecture/spikes/shadow-acp/main.go:470-479 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea1b17ae7fd8003cf801ffcc871fb9d39ac86ce8281f8cec4f6aa25e619c531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/kubernautagent/toolregistry.go:546-555 | cmd/workflowexecution/main.go:643-652 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/toolregistry.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31863298925df70e8169d6f5c1619f921e45ec4d33375a043632eba0e97a43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docs/spikes/oas-runtime/internal/runtime/agent.go:98-107 | docs/spikes/oas-runtime/internal/runtime/agent.go:161-170 \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 \u0060docs/spikes/oas-runtime/internal/runtime/agent.go:98\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":"docs/spikes/oas-runtime/internal/runtime/agent.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cccb2431d298cafe34db8a1dcc974dc7b2df4c91c9e7ab6933bb34287b7217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/controller/remediationorchestrator/audit_events.go:257-266 | internal/controller/remediationorchestrator/audit_events.go:281-290 \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/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59a84a1fea895a1e2c09184ef2b5142d53a913acdae5ef405834ebc6925fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): internal/controller/remediationorchestrator/blocking.go:179-194 | internal/controller/remediationorchestrator/terminal_transitions.go:667-681 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/controller/remediationorchestrator/blocking.go:179\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/controller/remediationorchestrator/blocking.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecad10be327a686973f1152c0e984868c8202e4a14951efe749807de7e53a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/kubernautagent/alignment/evaluator.go:170-179 | internal/kubernautagent/alignment/grounding.go:46-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/kubernautagent/alignment/evaluator.go:170\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/kubernautagent/alignment/evaluator.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b5bb6d75581aa3bb08d8913d2dd90b5a41b732eaea467faf4d376342eca479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): internal/kubernautagent/enrichment/label_detector.go:206-213 | pkg/apifrontend/tools/resource_reader.go:86-95 \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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/label_detector.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/label_detector.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"541780424b0f994904d95c0af0d522ab2630932040b93e49cb4455da785d3052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/kubernautagent/session/manager.go:220-229 | internal/kubernautagent/session/manager_interactive.go:62-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e936b4f3de8e511f40d1bc78ad9c8a76518b0bec38691850fc3b8d58fd4d75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/aianalysis/handlers/response_processor.go:867-876 | pkg/aianalysis/handlers/response_processor.go:919-928 \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 \u0060pkg/aianalysis/handlers/response_processor.go:867\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":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3eb3d6525f263d302b6e2c4c1748b4a2ce2e6e38304b97a5ec7fa0cd3864bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/datastorage/repository/audit_events_query.go:142-151 | pkg/datastorage/repository/audit_export.go:223-232 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/datastorage/repository/audit_events_query.go:142\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/datastorage/repository/audit_events_query.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a3b805bdd89c854cfbb616d3dc4ef81b91ed0d51edc825e5521a7e7a7f7e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/gateway/audit_emission.go:334-343 | pkg/gateway/audit_emission.go:433-442 \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 \u0060pkg/gateway/audit_emission.go:334\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/audit_emission.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7012009e42dcc24586a69475807abf817a7c0bb8659e9707408ba9dceaffb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/gateway/processing/distributed_lock.go:125-134 | pkg/remediationorchestrator/locking/distributed_lock.go:142-151 \u2014 before extracting anything, compare \u0060pkg/gateway/processing/distributed_lock.go\u0060 and \u0060pkg/remediationorchestrator/locking/distributed_lock.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gateway/processing/distributed_lock.go:125\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":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedb76e095301d189b28745435761ab39e23ef5dfbf3cec286803e1e43859d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/kubernautagent/tools/alertmanager/client.go:83-92 | pkg/kubernautagent/tools/prometheus/client.go:103-112 \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 \u0060pkg/kubernautagent/tools/alertmanager/client.go:83\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":"pkg/kubernautagent/tools/alertmanager/client.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec4f7176058e88ed8713486713b1b9a19a04e3540e351dad87bfc13b42d5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/workflowschema/converter.go:49-58 | pkg/workflowschema/converter.go:122-131 \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 \u0060pkg/workflowschema/converter.go:49\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowschema/converter.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"564ec1f8c503802090d4660ce37ab6bd4778fcfb87f594eb7464b50d5ac81c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/workflowschema/converter.go:219-228 | pkg/workflowschema/converter.go:240-249 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowschema/converter.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f704997a5bb82eadf2a51be1d11758d6cd9268a41a8a4c11e9a8781368dff07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): pkg/remediationorchestrator/audit/manager.go:149-157 | pkg/remediationorchestrator/audit/manager.go:274-282 | pkg/remediationorchestrator/audit/manager.go:357-365 | pkg/remediationorchestrator/audit/manager.go:407-415 | pkg/remediationorchestrator/audit/manager.go:840-848 \u2014 all 5 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/remediationorchestrator/audit/manager.go:416\u0060 calls \u0060SetDuration\u0060 and \u0060pkg/remediationorchestrator/audit/manager.go:284\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3510abb933211221ccff022b4eb2f53a9470a6fe296690c0083fc0cdf3be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/effectivenessmonitor/audit/manager.go:186-194 | pkg/effectivenessmonitor/audit/manager.go:378-386 | pkg/effectivenessmonitor/audit/manager.go:526-534 | pkg/effectivenessmonitor/audit/manager.go:610-618 \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 \u0060pkg/effectivenessmonitor/audit/manager.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d100556d5326ec8657d543626e163a5151a268f91150d05b0741369864607c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/remediationorchestrator/audit/manager.go:206-214 | pkg/remediationorchestrator/audit/manager.go:239-247 | pkg/remediationorchestrator/audit/manager.go:714-722 | pkg/remediationorchestrator/audit/manager.go:776-784 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/remediationorchestrator/audit/manager.go:723\u0060 calls \u0060SetSeverity\u0060 and \u0060pkg/remediationorchestrator/audit/manager.go:217\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"935513de006b397b3469064930381048c8b64bcdeb9ef63d84ec3589fc74c324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/effectivenessmonitor/audit/manager.go:159-167 | pkg/effectivenessmonitor/audit/manager.go:497-505 | pkg/effectivenessmonitor/audit/manager.go:576-584 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5a7f3d3cfa567d5fb18e23aa5e3576bbc30984131b7d000aac097dc40d5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/kubernautagent/llm_builder.go:303-311 | pkg/apifrontend/launcher/model.go:357-365 \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 \u0060cmd/kubernautagent/llm_builder.go:303\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":"cmd/kubernautagent/llm_builder.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dfdb4684c76c5b75c8e192b933845fe1d675b49e98077b6efa74c7622b1d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): cmd/notification/main.go:812-820 | cmd/workflowexecution/main.go:440-447 \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 \u0060cmd/notification/main.go:812\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":"cmd/notification/main.go"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8877f022a3d98dc0e9c02a4de9d8afa0516e13d0235a1989c048c78c4d2d0ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/signalprocessing/main.go:294-302 | cmd/workflowexecution/main.go:480-488 \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 \u0060cmd/signalprocessing/main.go:294\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":"cmd/signalprocessing/main.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb65d4920716ac42cf4ec385bdd87484330c5e1942ccf8f1529899c11e5622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/architecture/spikes/hitl-permission/main.go:657-665 | docs/architecture/spikes/run-state-persistence/main.go:619-627 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b8008d9855b3d24e084bbb9db1c2d7f3ededac3cceb05ad8148c3231851392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/spikes/oas-runtime/internal/runtime/agent.go:364-372 | docs/spikes/oas-runtime/internal/runtime/agent.go:416-424 \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 \u0060docs/spikes/oas-runtime/internal/runtime/agent.go:364\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":"docs/spikes/oas-runtime/internal/runtime/agent.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b131179ec81d94e08823628553fb9163f8985a2644dad8469ececf6323e161a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/enrichment/ds_adapter.go:142-150 | internal/kubernautagent/enrichment/ds_adapter.go:212-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/kubernautagent/enrichment/ds_adapter.go:142\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/ds_adapter.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa9d9f274ad64a87493179c685c06e2e9ee3b270474798f835a69508a4af5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/mcp/tools/investigate_autonomous.go:78-86 | internal/kubernautagent/mcp/tools/investigate_start.go:32-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_autonomous.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f515227678d6f40733f1c1b7c3a86bd103da10c74ddb2b5fa239f34e76f0c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/session/manager_interactive.go:259-268 | internal/kubernautagent/session/manager_interactive.go:312-320 \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/kubernautagent/session/manager_interactive.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbcae952eb6d8c738b02c3b48c03c621131fbf81ce29460053a9c7243e78d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/aianalysis/audit/audit.go:317-325 | pkg/aianalysis/audit/audit.go:425-433 \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":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb6d0945214e8129cbda42a5015eaea28d2339d8b786d55c807ef4749f8089a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/datastorage/server/remediation_history_logic.go:366-374 | pkg/datastorage/server/remediation_history_logic.go:507-515 \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 \u0060pkg/datastorage/server/remediation_history_logic.go:366\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/remediation_history_logic.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62efade75c2fcdc33dae277966c88cef8f68b6f68c85c8c7188b171ecd1a87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/datastorage/server/server_lifecycle.go:54-62 | pkg/gateway/server.go:461-469 \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 \u0060pkg/datastorage/server/server_lifecycle.go:54\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":"pkg/datastorage/server/server_lifecycle.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b150e229c38fd7bc91e6a707f84c6b2fb11bf2154272b6f1d7c40405344695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/notification/audit/manager.go:83-91 | pkg/notification/delivery/log.go:153-161 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/audit/manager.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4267d3a4e42d804243c71a9a1a611451153ed772f8e7ec83092057a7c55fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/remediationorchestrator/audit/manager.go:310-318 | pkg/remediationorchestrator/audit/manager.go:475-483 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/remediationorchestrator/audit/manager.go:484\u0060 calls \u0060SetDuration\u0060 and \u0060pkg/remediationorchestrator/audit/manager.go:320\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"092f15b28c0bb6e0df3756fc11a51286c2b956662a64d5574a74357146a9f641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): pkg/effectivenessmonitor/audit/manager.go:184-191 | pkg/effectivenessmonitor/audit/manager.go:376-383 | pkg/effectivenessmonitor/audit/manager.go:524-531 | pkg/effectivenessmonitor/audit/manager.go:608-615 | pkg/effectivenessmonitor/audit/manager.go:682-689 | pkg/effectivenessmonitor/audit/manager.go:731-738 \u2014 all 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/audit/manager.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cf66b01944fb0b52df04a510cc7c7287ea9be92c794e7706e24eddfd844594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/authwebhook/main.go:226-233 | cmd/signalprocessing/main.go:532-539 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/authwebhook/main.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb4c049082d853273939ea3bea040a1b4f7a50e9fcf0968148f23eafd6d7f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): internal/controller/remediationorchestrator/analyzing_handler.go:128-134 | pkg/remediationorchestrator/handler/aianalysis.go:108-115 \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 \u0060internal/controller/remediationorchestrator/analyzing_handler.go:128\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. Check import visibility before settling on that home: \u0060internal/controller/remediationorchestrator/analyzing_handler.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"398183bb94a2847592959ac43062cd0a523559a0aac3565c28366cbc0cfe8967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/controller/remediationorchestrator/audit_events.go:578-585 | internal/controller/remediationorchestrator/audit_events.go:622-629 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/controller/remediationorchestrator/audit_events.go:586\u0060 calls \u0060SetDuration\u0060 and \u0060internal/controller/remediationorchestrator/audit_events.go:631\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a267542d01ebc897a666f11e944eb531b1acf6e71b1009c278fc06b536354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/enrichment/k8s_adapter.go:212-220 | pkg/kubernautagent/tools/k8s/resolver.go:323-331 \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 \u0060internal/kubernautagent/enrichment/k8s_adapter.go:212\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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/k8s_adapter.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/kubernautagent/tools/k8s/resolver.go:332\u0060 calls \u0060notifySecretAccess\u0060 and \u0060internal/kubernautagent/enrichment/k8s_adapter.go:221\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1969c697ce32584a65dde41d5d79cc9855001618907bb6af14f1699518970df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/kubernautagent/investigator/investigator_audit.go:52-59 | internal/kubernautagent/investigator/investigator_audit.go:86-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/kubernautagent/investigator/investigator_audit.go:52\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/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e685a763148aea9d41a37bfc26ac41fef72856794b2850b3e197bf34691dbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/kubernautagent/investigator/investigator_gates.go:847-854 | internal/kubernautagent/investigator/investigator_gates.go:1005-1012 \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/kubernautagent/investigator/investigator_gates.go:847\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b4ebe28ec2af2b9775726e9546e695b6f07dea7fefc27eedc80e86ded0b6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): internal/kubernautagent/investigator/investigator_gates.go:857-864 | internal/kubernautagent/investigator/investigator_gates.go:1018-1024 \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/kubernautagent/investigator/investigator_gates.go:857\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/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd7fcdf9625de942082a8be82ec2a69331766e6f5f27a1b7b680218b337a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/kubernautagent/server/audit_middleware.go:70-77 | internal/kubernautagent/server/audit_middleware.go:81-88 \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/kubernautagent/server/audit_middleware.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"788fd199ca6b37badd4598549c33424a419acd1656f372680502484397f3431f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/kubernautagent/workflowcatalog/cache.go:148-155 | pkg/gateway/server_constructors.go:312-319 \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 \u0060internal/kubernautagent/workflowcatalog/cache.go:148\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. Check import visibility before settling on that home: \u0060internal/kubernautagent/workflowcatalog/cache.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/workflowcatalog/cache.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6610524635566c807d305c71805c617a0faae8453d5f9c4e57279e918f28a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/aianalysis/audit/audit.go:184-191 | pkg/aianalysis/audit/audit.go:707-714 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/aianalysis/audit/audit.go:703\u0060 calls \u0060toOptErrorDetails\u0060 and \u0060pkg/aianalysis/audit/audit.go:180\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc304aa03c1c662d35b1ce74f0d886b73549d5f73978f02d2adf0a01b507ff7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/apifrontend/resilience/k8s_dynamic.go:111-118 | pkg/apifrontend/resilience/k8s_dynamic.go:217-224 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/k8s_dynamic.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"478be6ae00f71e193053484099d4b5d4c7c2886f9cc40865520a9521f1f96f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/apifrontend/tools/crd_tools_session.go:313-320 | pkg/apifrontend/tools/ka_investigate_mcp.go:1135-1142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/tools/crd_tools_session.go:313\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":"pkg/apifrontend/tools/crd_tools_session.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbaffaeb2ee8480af3103b870b3f6dabc5255929dc359fa97efb862c5465921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fleet/mcpclient/writer.go:151-158 | pkg/fleet/mcpclient/writer.go:243-250 \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":"pkg/fleet/mcpclient/writer.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2af1b1bab01a5804653c23490c6b3592af2508efb0e2d49fd95a5136a220a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): pkg/gateway/signal_ingestion.go:188-195 | pkg/gateway/signal_ingestion.go:383-389 \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 \u0060pkg/gateway/signal_ingestion.go:188\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":"pkg/gateway/signal_ingestion.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cfa554f7691c446bb0cb8579cb8652b466be05af91962c6f4525b557e3b819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/kubernautagent/llm/geminifamily/client.go:239-246 | pkg/kubernautagent/llm/geminifamily/client.go:261-268 \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":"pkg/kubernautagent/llm/geminifamily/client.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c4022d872905dd3691eff47becf0df2a7ab0f0ce4cdf9ff2f092f8295d7d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/kubernautagent/tools/k8s/jq.go:57-64 | pkg/kubernautagent/tools/k8s/jq.go:83-90 \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":"pkg/kubernautagent/tools/k8s/jq.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74706e6d70d20c45a8b3f0cfec2dc230425a8d88901ad90941d5bb6e7d9e3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/fleet/registry/eaigw_registry.go:342-349 | pkg/fleet/registry/kuadrant_registry.go:219-225 | pkg/fleet/registry/kuadrant_registry.go:261-268 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fleet/registry/eaigw_registry.go:342\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/fleet/registry/eaigw_registry.go:350\u0060 calls \u0060NilSafeIncReconcile\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go:226\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc53d9525364698081b8ad4114c5a74e7d4d2b8319d1b5a71abfdd29b138f4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/notification/audit/manager.go:182-188 | pkg/notification/audit/manager.go:314-320 | pkg/notification/audit/manager.go:375-381 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/audit/manager.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df7a45939b4d54565a2e74e076008d5d285b0abac0edb75b4e22af4aac17ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/datastorage/main.go:675-681 | cmd/remediationorchestrator/main.go:817-823 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/datastorage/main.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"425269b52dadd2933a7ec654dacaee3a211bd256c78c6198d476658be6fd9b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/kubernautagent/llm_builder.go:81-87 | cmd/kubernautagent/llm_builder.go:185-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/kubernautagent/llm_builder.go:198\u0060 calls \u0060WithBaseURL\u0060 and \u0060cmd/kubernautagent/llm_builder.go:89\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/llm_builder.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5931a0625c959a71bfffce1f1da3ab89096828d192a75dc7ac7f2eb4412255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/kubernautagent/llm_builder.go:107-113 | cmd/kubernautagent/llm_builder.go:135-141 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/kubernautagent/llm_builder.go:151\u0060 calls \u0060WithHTTPOptions\u0060 and \u0060cmd/kubernautagent/llm_builder.go:115\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/llm_builder.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c5fae84a79a5636b9b5417a11ce1b68384fe4838d787631d3bc51dff0ad342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/controller/apifrontend/lease_sync.go:71-77 | internal/controller/apifrontend/ttl.go:80-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/apifrontend/lease_sync.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2eac49afa32dcb0b771488b574ad70a30180d4a0a2721678bd1ae91459a989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/controller/signalprocessing/signalprocessing_categorizing.go:150-156 | internal/controller/signalprocessing/signalprocessing_categorizing.go:166-172 \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/controller/signalprocessing/signalprocessing_categorizing.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/controller/signalprocessing/signalprocessing_categorizing.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbd52109bf54a1c005a214b62bb94fdc915a5a0f0dacfed28139eaedfec05cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/kubernautagent/agentsession/dispatcher.go:1025-1031 | internal/kubernautagent/agentsession/dispatcher.go:1150-1156 \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/kubernautagent/agentsession/dispatcher.go:1025\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/kubernautagent/agentsession/dispatcher.go:1023\u0060 calls \u0060V\u0060, \u0060Info\u0060 and \u0060internal/kubernautagent/agentsession/dispatcher.go:1149\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5158cb292ec1db63fcda0010c12ce6febee95697f78f4a4a3dbdda04514a78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/kubernautagent/mcp/tools/investigate_autonomous.go:45-51 | internal/kubernautagent/mcp/tools/investigate_takeover.go:208-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_autonomous.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4fc712fdec5a49322e51cbecb1b5af3a8f1d55aeaba47a011ab00d105cf2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/kubernautagent/tools/custom/discovery_audit.go:121-127 | internal/kubernautagent/tools/custom/discovery_audit.go:152-158 \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/kubernautagent/tools/custom/discovery_audit.go:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/discovery_audit.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"51823ffd0ff84cf1209c735aad5f338c476da62c0fcfae3bc9f49c8d5ab1b3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/kubernautagent/tools/custom/discovery_audit.go:219-225 | internal/kubernautagent/tools/custom/discovery_audit.go:231-237 \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/kubernautagent/tools/custom/discovery_audit.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a19e150c7b578e76bfd579ca99299442ad3c83026bbb9b5e7e71681c88a68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/aianalysis/audit/audit.go:274-281 | pkg/aianalysis/audit/audit.go:638-644 \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":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"23340bb35f1db4b5214872ed18a6724afe27a9e9ff8af680ce0825cbb596aae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/authwebhook/startup_reconciler.go:219-225 | pkg/authwebhook/startup_reconciler.go:247-253 \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 \u0060pkg/authwebhook/startup_reconciler.go:219\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":"pkg/authwebhook/startup_reconciler.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e134424acf89d8dad26bfa055ac66867a7ec413fe4f99038d6f34e84db9bbde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/datastorage/repository/audit_events_batch.go:201-207 | pkg/datastorage/repository/audit_events_create.go:56-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/audit_events_batch.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bbabbd12bd7e9e4d0889b3a39460a907d7802957e7ee5938637d39496df756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/remediationorchestrator/creator/aianalysis.go:150-156 | pkg/remediationorchestrator/creator/signalprocessing.go:143-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/remediationorchestrator/creator/aianalysis.go:150\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":"pkg/remediationorchestrator/creator/aianalysis.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52dda918292eb1c8d723fad6c811dcd8316b4a8164e86c53b417df5db20f716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/remediationorchestrator/routing/blocking.go:984-990 | pkg/remediationorchestrator/routing/blocking.go:1084-1090 \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 \u0060pkg/remediationorchestrator/routing/blocking.go:984\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/remediationorchestrator/routing/blocking.go:1081\u0060 calls \u0060Duration\u0060 and \u0060pkg/remediationorchestrator/routing/blocking.go:980\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"04265624aa94d914f46141209f7e2f921ad2d13295e35e17fc88149d552e3ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/signalprocessing/audit/client.go:556-562 | pkg/workflowexecution/audit/manager.go:794-800 \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 \u0060pkg/signalprocessing/audit/client.go:556\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":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"493d9191556a5d93a43436998d3fca9edeff3346195ed92335bee9f6398c66f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): pkg/aianalysis/audit/audit.go:243-250 | pkg/aianalysis/audit/audit.go:367-374 | pkg/aianalysis/audit/audit.go:556-561 | pkg/aianalysis/audit/audit.go:588-593 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/audit.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9074453a3ab52427709e9a3e752fb25d08ed686b0cb1ee7e481b7cba262ced5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/effectivenessmonitor/main.go:717-722 | cmd/workflowexecution/main.go:601-606 \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. 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":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9a4ef1d23fb0c6cc230b49838d03a9db0246138b710e153e0121c1b68a5683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:602-607 | docs/architecture/spikes/shadow-acp/main.go:752-757 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"00afdaa9107a041247763309c7da60fc64f65adf80d6b79e94e77f3f3196988d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:630-635 | docs/architecture/spikes/shadow-acp/main.go:819-824 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"5595a1d46e4ea9f881495337a47bd40fd583acf9a4599cb9dd38b6855664901b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/investigator/investigator_rca.go:296-301 | internal/kubernautagent/investigator/investigator_workflow_selection.go:692-697 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_rca.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"151fd47de2b218c94d1eb4405e523d3cce8f246fc77deac44a646789efb86ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/mcp/adapters/adapters.go:54-59 | internal/kubernautagent/mcp/adapters/adapters.go:131-136 \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/kubernautagent/mcp/adapters/adapters.go:54\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/kubernautagent/mcp/adapters/adapters.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdee99e5dd97a26a73066e61e2b48276b699c6abcc25657c0b29d0211ff0d3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gateway/middleware/event_freshness.go:61-66 | pkg/gateway/middleware/timestamp.go:71-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/gateway/middleware/event_freshness.go:61\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":"pkg/gateway/middleware/event_freshness.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"38745eb2ca60ecc099f28477ac8743130e945447f97412c400a5e2d7d23255d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/kubernautagent/tools/alertmanager/client.go:95-102 | pkg/kubernautagent/tools/prometheus/client.go:115-122 \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 \u0060pkg/kubernautagent/tools/alertmanager/client.go:95\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":"pkg/kubernautagent/tools/alertmanager/client.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"870e6bde4a393596e197a40067e34044dda05cd5254f0f6a6cf7c4ddb6885a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/signalprocessing/evaluator/evaluator.go:247-252 | pkg/signalprocessing/evaluator/evaluator.go:302-307 \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 \u0060pkg/signalprocessing/evaluator/evaluator.go:247\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":"pkg/signalprocessing/evaluator/evaluator.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c13cf77b77e45807100ec09f984cb2356a0f48efc7d21b031f90f07c97ee99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/controller/remediationorchestrator/analyzing_handler.go:374-383 | internal/controller/remediationorchestrator/awaiting_approval_handler.go:395-404 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/controller/remediationorchestrator/analyzing_handler.go:374\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/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b2ddd236e9a39e408f7f957f22ba8271499ecdd6c36785ec37bd3835288d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/controller/workflowexecution/workflowexecution_pending.go:131-135 | internal/controller/workflowexecution/workflowexecution_pending.go:139-143 \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/controller/workflowexecution/workflowexecution_pending.go:131\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/controller/workflowexecution/workflowexecution_pending.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ab296b8699f85cc92c770d86e1d42fc83c253fe2218729762b5d5fc81178f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/kubernautagent/enrichment/enricher.go:154-163 | internal/kubernautagent/tools/custom/resource_context.go:173-177 \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 \u0060internal/kubernautagent/enrichment/enricher.go:154\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/kubernautagent/enrichment/enricher.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca48bc20e04ce8841074abc5f2c6f37e67fcfd026684a63df62ba6fa2b385f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/kubernautagent/enrichment/enricher.go:751-755 | internal/kubernautagent/enrichment/enricher.go:785-789 \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/kubernautagent/enrichment/enricher.go:751\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/kubernautagent/enrichment/enricher.go:793\u0060 calls \u0060enrichmentFailureCode\u0060 and \u0060internal/kubernautagent/enrichment/enricher.go:756\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/enricher.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eed2cd5c578cfffb17a4c84e1543287e58a0eaebd79e2bd3bee461244e46d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/investigator/evidence_handoff.go:360-365 | internal/kubernautagent/investigator/evidence_handoff.go:378-383 \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/kubernautagent/investigator/evidence_handoff.go:360\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/kubernautagent/investigator/evidence_handoff.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c0b0c75e741bcf61cb12bd1401af6b8a76008fb61cab9baf9827a86f79aa88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/apifrontend/handler/mcp_bridge.go:592-598 | pkg/apifrontend/handler/mcp_bridge.go:640-644 \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 \u0060pkg/apifrontend/handler/mcp_bridge.go:592\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":"pkg/apifrontend/handler/mcp_bridge.go"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce787dbde49e4a162e018534cb6afae74276716a3bf531b0d70adfc5f0225ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/datastorage/server/remediation_history_logic.go:378-383 | pkg/datastorage/server/remediation_history_logic.go:516-521 \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":"pkg/datastorage/server/remediation_history_logic.go"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ce3034e5ecc1c9207f6ec8fef2d40dcbf500d271bc9af71ef1846cb4b7ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/notification/delivery/orchestrator.go:689-693 | pkg/notification/delivery/orchestrator.go:703-707 \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 \u0060pkg/notification/delivery/orchestrator.go:689\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":"pkg/notification/delivery/orchestrator.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b32b135fd09338714e2f26ff6b103f5329c99d76b073af11e3e2a111a6dcd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/signalprocessing/audit/client.go:165-170 | pkg/signalprocessing/audit/client.go:284-289 \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":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034f3df1ab2e430995ffc494bdc6c74f31786aac1f0037a4242a9d119d5f78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/workflowexecution/executor/job.go:365-369 | pkg/workflowexecution/executor/job.go:507-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 \u0060pkg/workflowexecution/executor/job.go:365\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":"pkg/workflowexecution/executor/job.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"37830a2d96b0a77d45f0012a6e510f5cbcdcd4915ab2a27b726f267cfba8d395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): api/actiontype/v1alpha1/description_conversion.go:24-31 | api/remediationworkflow/v1alpha1/description_conversion.go:24-31 | internal/kubernautagent/workflowcatalog/cache_convert.go:215-222 | pkg/datastorage/models/workflow_labels.go:240-247 \u2014 before extracting anything, compare \u0060api/actiontype/v1alpha1/description_conversion.go\u0060 and \u0060api/remediationworkflow/v1alpha1/description_conversion.go\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Check import visibility before settling on that home: \u0060internal/kubernautagent/workflowcatalog/cache_convert.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/actiontype/v1alpha1/description_conversion.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"21982fa574ca13c3976ed33c1018bef07a008bd0f3b2e1628a6eeb6c337c182a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): api/actiontype/v1alpha1/groupversion_info.go:28-37 | api/aianalysis/v1alpha1/groupversion_info.go:27-37 | api/effectivenessassessment/v1alpha1/groupversion_info.go:27-37 | api/notification/v1alpha1/groupversion_info.go:27-37 | api/remediation/v1alpha1/groupversion_info.go:27-37 | api/remediationworkflow/v1alpha1/groupversion_info.go:28-37 | api/signalprocessing/v1alpha1/groupversion_info.go:29-39 | api/workflowexecution/v1alpha1/groupversion_info.go:27-36 \u2014 before extracting anything, compare \u0060api/actiontype/v1alpha1/groupversion_info.go\u0060 and \u0060api/notification/v1alpha1/groupversion_info.go\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/actiontype/v1alpha1/groupversion_info.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66ece81adcaf1231e42612fe2df773f81d3d21346946b4f358dce0dbcb4f643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/agentsession/v1alpha1/groupversion_info.go:31-40 | api/investigationsession/v1alpha1/groupversion_info.go:28-37 \u2014 before extracting anything, compare \u0060api/agentsession/v1alpha1/groupversion_info.go\u0060 and \u0060api/investigationsession/v1alpha1/groupversion_info.go\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/agentsession/v1alpha1/groupversion_info.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf93fe7638d01e39b61330278dc9183cce8da228c3343e32472a962987bd5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/gateway/main.go:162-170 | cmd/kubernautagent/main.go:260-268 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80d643bd2ebc8dcb927699dca56a60d5d3f1449f50983550a7da178c4476b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/gateway/main.go:176-182 | cmd/kubernautagent/main.go:275-281 \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. 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":"cmd/gateway/main.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0994f804bbd2628cb5badd4f34c4de03296e337f5afc74e437c6698e79547300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/architecture/spikes/acp-enforcement/enforcement.go:199-205 | internal/kubernautagent/investigator/anomaly.go:178-184 \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. 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. Check import visibility before settling on that home: \u0060internal/kubernautagent/investigator/anomaly.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/acp-enforcement/enforcement.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af5133886db6441c9f3f46f00f64bd523e99d0edb7e21dd24c189309260ab86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:63-68 | docs/architecture/spikes/run-state-persistence/main.go:77-82 | docs/architecture/spikes/shadow-acp/main.go:76-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0384d7c785c90cc927b717c6e3fcf4f3fd0f2698d9e3e21f36b5d5a3478f9219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:70-75 | docs/architecture/spikes/run-state-persistence/main.go:84-89 | docs/architecture/spikes/shadow-acp/main.go:83-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccad51eee892633c9f8e4bd9d8e087e1d20767c2ee4795337faf82954d66bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:77-85 | docs/architecture/spikes/run-state-persistence/main.go:91-99 | docs/architecture/spikes/shadow-acp/main.go:90-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7874d0925c711ec7e87ef6d3cfc43bd9170f0a5f882e3af053bea317926e72a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): docs/architecture/spikes/hitl-permission/main.go:286-290 | docs/architecture/spikes/run-state-persistence/main.go:283-287 | docs/architecture/spikes/shadow-acp/main.go:406-410 | docs/spikes/oas-runtime/internal/acp/server.go:277-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Check import visibility before settling on that home: \u0060docs/spikes/oas-runtime/internal/acp/server.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb181b67ad477585e08308f73a41350256ed389383566723d4881fe600f43576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/config/effectivenessmonitor/config.go:231-239 | internal/config/remediationorchestrator/config.go:393-401 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/effectivenessmonitor/config.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a64a707aa19e10495d07c34f7e3d98036b5977e746d76217112a11ab15bfa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/kubernautagent/enrichment/k8s_adapter.go:246-252 | pkg/kubernautagent/tools/k8s/resolver.go:195-201 \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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/k8s_adapter.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aad3e1e0fe0e627d9d23f3b6e09b60e15c3e487a1c90179043e7d7b8ed4db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/aianalysis/conditions.go:118-128 | pkg/effectivenessmonitor/conditions/conditions.go:150-160 | pkg/signalprocessing/conditions.go:160-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/conditions.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bfa0e2734470c8023afe782c6181ecfbfbada9bb2747ddf2927fc2719e5280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): pkg/aianalysis/phase/types.go:113-124 | pkg/effectivenessmonitor/phase/types.go:81-92 | pkg/notification/phase/types.go:138-149 | pkg/remediationorchestrator/phase/types.go:112-123 | pkg/signalprocessing/phase/types.go:103-114 | pkg/workflowexecution/phase/types.go:116-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/phase/types.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84de277d33c4ab2d72871a4b340904e29079f7d7ef2be6d9697c5440eb4642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/apifrontend/auth/middleware.go:235-244 | pkg/shared/auth/middleware.go:284-293 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/middleware.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"392c52ef816e91f8c8894dd57a53cc4c288efee36c72c3ec7f9705d449b760fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/apifrontend/auth/trusted_source.go:77-83 | pkg/gateway/middleware/trusted_realip.go:83-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/trusted_source.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69bd9d9896caae4d303dcd5db03a095e62473d6f2945476bfdd9e9dbb1576e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/apifrontend/handler/status_handler.go:97-101 | pkg/datastorage/server/server.go:177-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d434d59b485727f5d7ad56c6eeb3539b270b76c027a642df42ce62a041f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/apifrontend/resilience/retry.go:88-98 | pkg/shared/transport/retry.go:131-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f772b38914e9f8627a11474116a7104bbe80a8a27bd921251b79703673e10f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/apifrontend/resilience/retry.go:153-158 | pkg/shared/transport/retry.go:195-200 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"768a03cc7158be58401c83e7ac6b566efc4cf6975b3d279443b8bdc9e8d55ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/apifrontend/resilience/retry.go:169-175 | pkg/shared/transport/retry.go:202-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"022cde76cb8a04d426036275c5236ceafc7519d9d6b6783c2eabac57187d11a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): pkg/apifrontend/resilience/retry.go:177-189 | pkg/apifrontend/tools/ka_investigate_mcp.go:155-167 | pkg/shared/transport/retry.go:210-222 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3402f397e9cc4cf429fe55ad61cb2b4617e1b0804bdb28a4aa8201282ff1092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/audit/helpers.go:150-163 | pkg/audit/helpers.go:184-197 | pkg/shared/auth/jwt_auth.go:239-249 \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":"pkg/audit/helpers.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d6efa0c217fbb760237a78be5c0dedc2cc58d9020305843112d7994be42e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/authwebhook/actiontype_handler.go:68-79 | pkg/authwebhook/remediationworkflow_handler.go:119-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/actiontype_handler.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a1533986f827c4946cd9fd93fc5429f577553cc1a5d198448d6277a87c5e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/datastorage/repository/audit_events_query.go:282-287 | pkg/datastorage/repository/notification_audit_repository.go:188-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/repository/audit_events_query.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"da24b401c637ac3c52547c383d0643a9f63b6771cea6176630e407081307c4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fleet/mcpclient/client.go:316-324 | pkg/fleet/mcpclient/writer.go:99-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/client.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5723b704f0633c9646a4fe7107cfa503f41a1c127cc4d83f4e7c3b7cd31983f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:115-123 | pkg/fleet/registry/kuadrant_registry.go:76-84 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also 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":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"010a47f1f92c5b0d233e48c66902db891a1a72f3691d8052f9114935dfac57b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:126-131 | pkg/fleet/registry/kuadrant_registry.go:86-91 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also 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":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53d9e6b67984cb892b6f7d0094b5227e42a89b4a59be7aca653fc503ca244c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fleet/registry/eaigw_registry.go:145-150 | pkg/fleet/registry/kuadrant_registry.go:103-108 \u2014 before extracting anything, compare \u0060pkg/fleet/registry/eaigw_registry.go\u0060 and \u0060pkg/fleet/registry/kuadrant_registry.go\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060w *EAIGWRegistry) markWatchUnhealthy(err\u0060 in one and \u0060w *KuadrantRegistry) markWatchUnhealthy(err\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/eaigw_registry.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f8888f2cb807c7c1bba3b0ce373ec2caa8b98d40f8d409f45d1ba288cc545a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/gateway/processing/distributed_lock.go:186-192 | pkg/remediationorchestrator/locking/distributed_lock.go:109-115 \u2014 before extracting anything, compare \u0060pkg/gateway/processing/distributed_lock.go\u0060 and \u0060pkg/remediationorchestrator/locking/distributed_lock.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eda8b41b7f7b0ad23a8058c56310541c80d61d8d1aadc7315ab7a34c0416cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/kubernautagent/config/headers.go:56-71 | pkg/shared/types/llm.go:371-386 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/config/headers.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd09e5ec830a4f69fc193e0101398f609183299f530a9b75238a5f10b6fa571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/kubernautagent/llm/anthropicfamily/client.go:212-218 | pkg/kubernautagent/llm/geminifamily/client.go:120-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/llm/anthropicfamily/client.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca845fd2f645ea86d4cf17f8127c6b0c94455ddba6e45952db5cbcaa61392ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/remediationapprovalrequest/conditions.go:101-114 | pkg/remediationrequest/conditions.go:149-162 \u2014 \u0060pkg/remediationapprovalrequest/conditions.go\u0060 and \u0060pkg/remediationrequest/conditions.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/conditions.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76dc79988750128e81ec72005d293163c7543dbbb27e867c447110d04dea37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/remediationapprovalrequest/conditions.go:127-133 | pkg/remediationrequest/conditions.go:175-181 \u2014 \u0060pkg/remediationapprovalrequest/conditions.go\u0060 and \u0060pkg/remediationrequest/conditions.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/conditions.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e441e6abd725334f784de384c83c1cd9d43d44886ea713ac06b13152b88f401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/shared/auth/composite_auth.go:51-57 | pkg/shared/auth/jwt_auth.go:158-164 | pkg/shared/auth/k8s_auth.go:40-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/auth/composite_auth.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e973ec7b40459ac838f6e57e6253ab5720554617c591207e523d9196cefaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): api/actiontype/v1alpha1/description_conversion.go:34-41 | api/remediationworkflow/v1alpha1/description_conversion.go:34-41 | pkg/datastorage/models/workflow_labels.go:250-257 \u2014 before extracting anything, compare \u0060api/actiontype/v1alpha1/description_conversion.go\u0060 and \u0060api/remediationworkflow/v1alpha1/description_conversion.go\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/actiontype/v1alpha1/description_conversion.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"48926674d173d1640b0d5fa4f8275c39f269a75e47c20401b01219994c3f3cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/controller/effectivenessmonitor/reconciler.go:301-306 | internal/controller/remediationorchestrator/config_accessors.go:71-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/reconciler.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"642e0c34f1fabb6fc4553a07c5a0dbc93e095e8f512f799680627a50cd0cbaa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/enrichment/k8s_adapter.go:313-318 | pkg/kubernautagent/tools/k8s/resolver.go:306-311 \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. Check import visibility before settling on that home: \u0060internal/kubernautagent/enrichment/k8s_adapter.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21dcd924c16b2aec1c9dd898ea697b703c99a168251e1985d59c5a0ebd441a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/investigator/investigator_audit.go:719-727 | pkg/apifrontend/security/redact.go:103-111 \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. Check import visibility before settling on that home: \u0060internal/kubernautagent/investigator/investigator_audit.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df9e4d0eb3933e6bb160ffcc98382a443519def34b88280ba8651199df3f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/apifrontend/logging/logging.go:49-54 | pkg/gateway/middleware/request_id.go:145-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/logging/logging.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bfadc1ed17ef7aa0fed599d4ffbc235142c534a2b65e6e08ffb51f5abfb20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fleet/fmc/valkey_writer.go:47-55 | pkg/fleet/scopecache/valkey_reader.go:46-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/fmc/valkey_writer.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6087f529f9fdb236a72ea9d4bb380751fc524a857f28b551ab94f3d3b4cec46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/fleet/mcpclient/reader_factory.go:42-52 | pkg/workflowexecution/executor/client_factory.go:100-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/reader_factory.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1f2f131d8cce9763a5ea70a6e16c78f184c60877821ed633ace7e2d98af14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/fleet/mcpclient/reader_factory.go:64-75 | pkg/workflowexecution/executor/client_factory.go:125-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/reader_factory.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32d9f63e01dc08fa0759f00d159caa800daa4f131c1e269d45eac08aa05ab25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/kubernautagent/llm/anthropicfamily/client.go:312-318 | pkg/kubernautagent/llm/openai/client.go:141-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/llm/anthropicfamily/client.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f6b0444cc34c11e8af634ed11f6f05aa684c73d1a9ef3c663e21b369b6ac5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): pkg/remediationapprovalrequest/conditions.go:136-144 | pkg/remediationapprovalrequest/conditions.go:156-164 | pkg/remediationrequest/conditions.go:184-192 | pkg/remediationrequest/conditions.go:204-212 | pkg/remediationrequest/conditions.go:224-232 | pkg/remediationrequest/conditions.go:255-263 \u2014 \u0060pkg/remediationapprovalrequest/conditions.go\u0060 and \u0060pkg/remediationrequest/conditions.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060bool\u0060 to \u0060pending\u0060 in one and \u0060expired\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/conditions.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe3a1d504af6444398cf13d4397f43883dce1dab6d4b2c09a39a6dfeb861138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/aianalysis/rego/evaluator.go:398-414 | pkg/signalprocessing/evaluator/evaluator.go:170-181 \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 \u0060pkg/aianalysis/rego/evaluator.go:398\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/aianalysis/rego/evaluator.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234d550a3352d555c74523b197c20889b8a583334567a7412862331667d1baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/remediationorchestrator/handler/aianalysis.go:332-348 | pkg/remediationorchestrator/handler/aianalysis.go:394-408 \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 \u0060pkg/remediationorchestrator/handler/aianalysis.go:332\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":"pkg/remediationorchestrator/handler/aianalysis.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e1ce8e581a18b5a2cb6ce343054db313db554d6d9bca0643849f0da2578c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/notification/delivery/pagerduty.go:84-95 | pkg/notification/delivery/slack.go:92-106 | pkg/notification/delivery/teams.go:76-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/notification/delivery/pagerduty.go:84\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":"pkg/notification/delivery/pagerduty.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4d28f4993856a45067a162a44193c04dff2558d2d6c5ee070ccbc2bcf39478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cmd/aianalysis/main.go:89-103 | cmd/remediationorchestrator/main.go:90-104 | cmd/signalprocessing/main.go:99-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ade1a0c151e3c9f1782208e213fd490e2a4b5911dc9e5279c237472ec6bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/notification/delivery/pagerduty.go:73-81 | pkg/notification/delivery/slack.go:75-88 | pkg/notification/delivery/teams.go:65-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65f461e8bd6f10f7ff3b98456860f70f9c470698a7416cb75048a62a7e6fc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): pkg/apifrontend/severity/anthropic.go:113-126 | pkg/apifrontend/severity/llm.go:86-99 | pkg/apifrontend/severity/openai_compatible.go:85-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/apifrontend/severity/anthropic.go:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/apifrontend/severity/anthropic.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d886c0390ff122dc9d87875d30a6428a9482e0254ba1aa507d4459525c9cee70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/datastorage/dlq/client.go:209-222 | pkg/datastorage/dlq/client.go:267-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 \u0060pkg/datastorage/dlq/client.go:209\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3092e8cf80ab6813c3feb6ae88d03eba0268aacfb1b8b3982fd2c7b19752b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/apifrontend/policyread/kubernetes_sources.go:210-223 | pkg/apifrontend/policyread/kubernetes_sources.go:237-250 \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 \u0060pkg/apifrontend/policyread/kubernetes_sources.go:210\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/apifrontend/policyread/kubernetes_sources.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8492e142bace5b712f5c236798aba9d6af58fac950a976bcfc90cb5e212e15ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/audit/store.go:472-484 | pkg/audit/store.go:536-547 \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 \u0060pkg/audit/store.go:472\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060pkg/audit/store.go:472\u0060 is reached only past a guard at line 461 that tests \u0060state.batch\u0060 and leaves the function early, and \u0060pkg/audit/store.go:536\u0060 reads \u0060state.batch\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/store.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbab956815511e01656f791945dfa9ea04ad8d6568245c1d832c0dd0590056a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/controller/remediationorchestrator/audit_events.go:329-341 | internal/controller/remediationorchestrator/audit_events.go:371-383 | internal/controller/remediationorchestrator/audit_events.go:486-498 \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/controller/remediationorchestrator/audit_events.go:329\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/audit_events.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c12b6ddb716a03b2b54827eab290238a0f0710f3b9798e123d33b8914e2155b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/kubernautagent/alignment/observer.go:201-213 | internal/kubernautagent/alignment/observer.go:267-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/kubernautagent/alignment/observer.go:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/kubernautagent/alignment/observer.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a218a76b3b1cd75b04a0f0f2cf8187d0abba47ffcf4aaf296cb891e57203dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/controller/notification/notificationrequest_controller.go:512-524 | internal/controller/notification/notificationrequest_controller.go:567-578 \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/controller/notification/notificationrequest_controller.go:512\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/controller/notification/notificationrequest_controller.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a64b9ceefad7635c4c66cdfa6fca8431cb175da8671d29b71db9fc1ea948026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/shared/hash/configmap.go:125-136 | pkg/shared/hash/configmap.go:169-180 | pkg/shared/hash/configmap.go:189-200 \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 \u0060pkg/shared/hash/configmap.go:125\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":"pkg/shared/hash/configmap.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7f2c3cca95399e38cf56cce85bc13b152e5ff544215f0cce58b7e8007bcd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/authwebhook/remediationrequest_handler.go:140-151 | pkg/authwebhook/workflowexecution_handler.go:123-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/authwebhook/remediationrequest_handler.go:140\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":"pkg/authwebhook/remediationrequest_handler.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8a907764f8f13db92aca52fab6abbaef8504d9d5ea82c96bbca167a7f79c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): pkg/remediationorchestrator/audit/manager.go:207-217 | pkg/remediationorchestrator/audit/manager.go:240-249 | pkg/remediationorchestrator/audit/manager.go:275-284 | pkg/remediationorchestrator/audit/manager.go:311-320 | pkg/remediationorchestrator/audit/manager.go:358-368 | pkg/remediationorchestrator/audit/manager.go:549-559 | pkg/remediationorchestrator/audit/manager.go:777-788 | pkg/remediationorchestrator/audit/manager.go:841-850 \u2014 all 8 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 \u0060pkg/remediationorchestrator/audit/manager.go:207\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":"pkg/remediationorchestrator/audit/manager.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83f0517e8091770740abb5b17d9258521f2305c87a65b5a74d19f8d96f15248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:412-422 | docs/architecture/spikes/run-state-persistence/main.go:452-461 \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":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aac4b665f123ab9509c16eadc88245ba420c96eb0cf1c62a4af0dabcf60a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/kubernautagent/tools/custom/tools.go:241-251 | internal/kubernautagent/tools/custom/tools.go:374-384 \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/kubernautagent/tools/custom/tools.go:241\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/kubernautagent/tools/custom/tools.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ea642d9d1c7fe7e850b7b8b45d6f4e7f334c6cd08dc9f4e202c0eeb554a04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): cmd/aianalysis/main.go:112-122 | cmd/remediationorchestrator/main.go:113-123 | cmd/signalprocessing/main.go:114-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/aianalysis/main.go:112\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":"cmd/aianalysis/main.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9403069edcbd04d520d1cf23e7d0b38c668af88e56ae70c2c5c2278c128eb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/architecture/spikes/shadow-acp/main.go:215-225 | docs/architecture/spikes/shadow-acp/main.go:259-269 \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":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5535e62b513c8d01e8636540c901ddc8b8d51b1ed71563d94fe91e0ae36124db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/datastorage/dlq/client_consumer.go:249-259 | pkg/datastorage/dlq/client_consumer.go:303-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 \u0060pkg/datastorage/dlq/client_consumer.go:249\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":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d194f57bf5e5c287ecef5191ab97cb62a80af5f7d5c7548478adc65dd46d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/aianalysis/handlers/response_processor.go:888-897 | pkg/aianalysis/handlers/response_processor.go:941-950 \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 \u0060pkg/aianalysis/handlers/response_processor.go:888\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":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"919d572f1067b5d3a7256870b96bbfe01b6544de5173bea69b80a30b75344f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/datastorage/dlq/client_consumer.go:269-278 | pkg/datastorage/dlq/client_consumer.go:320-328 \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":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca984ede56fc48085d2f8641d5a1d0b2d82f1ac2ace3e4450a8fec337512aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/controller/notification/notificationrequest_controller.go:492-501 | internal/controller/notification/notificationrequest_controller.go:546-555 \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/controller/notification/notificationrequest_controller.go:492\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/controller/notification/notificationrequest_controller.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"8652999971fdf92db2829837ca6affbb504d0ff46bfee318feb4997e02d6333b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/apifrontend/backend_deps.go:833-842 | cmd/apifrontend/backend_deps.go:852-861 \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 \u0060cmd/apifrontend/backend_deps.go:833\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bf223717637ffd4dc9e2f900452e85963c0df681a8140522a781628290016e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/kubernautagent/tools/custom/tools.go:178-187 | internal/kubernautagent/tools/custom/tools.go:322-331 \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/kubernautagent/tools/custom/tools.go:178\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/kubernautagent/tools/custom/tools.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff4e6c15495b232dc8c7c90241afa572ee199cb893a835e0a8b26e85f1734ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/remediationorchestrator/routing/blocking.go:260-269 | pkg/remediationorchestrator/routing/blocking.go:337-346 \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":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"069da84a4315d11d76b61cd5f4b40c1af1500cb0122def677cab450e2544a3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/controller/notification/notificationrequest_controller.go:1165-1174 | internal/controller/notification/notificationrequest_controller.go:1292-1300 | internal/controller/notification/notificationrequest_controller.go:1365-1373 \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/controller/notification/notificationrequest_controller.go:1165\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"216bd4a824201c9d3c631352becc49e11072406582d60307aaa4bcbd7a252826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/kubernautagent/tools/custom/tools.go:190-199 | internal/kubernautagent/tools/custom/tools.go:334-343 \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/kubernautagent/tools/custom/tools.go:190\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b8b25ce48214060766aef663ec69bd7acc0fdb7392f6adeffa9f7c8be32f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/gateway/adapters/testing_exports.go:37-45 | pkg/gateway/adapters/testing_exports.go:117-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 \u0060pkg/gateway/adapters/testing_exports.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":"pkg/gateway/adapters/testing_exports.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf858ad4a7f66c4cad49d7d206907a657439b341d81d723302f1d0021d89bd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/signalprocessing/audit/client.go:237-245 | pkg/signalprocessing/audit/client.go:427-435 \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":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"350d2ee7642c6b2571fd42c9ee10723ddff5f9e1ed425c54e4d98b7df1e9ec2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/kubernautagent/credentials/resolver.go:50-58 | internal/kubernautagent/credentials/resolver.go:69-77 \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/kubernautagent/credentials/resolver.go:50\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/kubernautagent/credentials/resolver.go:60\u0060 calls \u0060ReadDir\u0060 and \u0060internal/kubernautagent/credentials/resolver.go:78\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/credentials/resolver.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae62fe3ad44769851296a34ea07f5e6cbd5cdf824f68c6200ea7b641264979f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/signalprocessing/main.go:305-313 | cmd/workflowexecution/main.go:491-499 \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 \u0060cmd/signalprocessing/main.go:305\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":"cmd/signalprocessing/main.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35cd00bf7981fbfb5fed934a78a179a027f4f037cf6fc7b104bddd6c8a7d181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/apifrontend/auth/jwt.go:468-476 | pkg/apifrontend/auth/jwt.go:507-515 \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 \u0060pkg/apifrontend/auth/jwt.go:468\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":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec6b897252c89916623663522a36b346ae93de4153ec0dc68a921a7524b0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/kubernautagent/tools/k8s/resolver.go:416-424 | pkg/kubernautagent/tools/k8s/resolver.go:458-466 \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 \u0060pkg/kubernautagent/tools/k8s/resolver.go:416\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":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9cd65d171cac15420781f9ef6eb0c824325d5e509d9118ec2fbbb940a45a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/workflowexecution/executor/awx_client.go:93-101 | pkg/workflowexecution/executor/awx_client.go:232-240 | pkg/workflowexecution/executor/awx_client.go:321-329 | pkg/workflowexecution/executor/awx_client.go:387-395 \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 \u0060pkg/workflowexecution/executor/awx_client.go:93\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":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"db451def8662951cae12a4bbb2fae2894dd12695ec5db3e86f5dfb1fc4691074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/datastorage/config/config.go:288-296 | pkg/notification/config/config.go:129-137 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/notification/config/config.go:140\u0060 calls \u0060applyDefaults\u0060 and \u0060pkg/datastorage/config/config.go:298\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7680873c8dbf65cba5e6e846d27e3f68cbc612a4fb71b57bcfa2c7a11b8c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/architecture/spikes/hitl-permission/main.go:224-232 | docs/architecture/spikes/run-state-persistence/main.go:273-281 \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 \u0060docs/architecture/spikes/hitl-permission/main.go:224\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a56b9b764cc502447dded07d09b0b5d99420fb523a93cd2c35799e5ff2b2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): pkg/signalprocessing/audit/client.go:244-251 | pkg/signalprocessing/audit/client.go:434-441 | pkg/signalprocessing/audit/client.go:485-492 | pkg/signalprocessing/audit/client.go:525-532 \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 \u0060pkg/signalprocessing/audit/client.go:244\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/signalprocessing/audit/client.go:480\u0060 calls \u0060SetDuration\u0060 and \u0060pkg/signalprocessing/audit/client.go:239\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/audit/client.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9e55e6ee7e611d29623eda1ae3c6e4a7238aa0e8ab2354dacaf58ddfa7bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/controller/remediationorchestrator/analyzing_handler.go:270-275 | internal/controller/remediationorchestrator/pending_handler.go:86-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/controller/remediationorchestrator/analyzing_handler.go:270\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/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebc345cd4b46023e2675f2488f9e70ee24699f76fdfe7d62dd5e86c5d92fe96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): pkg/signalprocessing/evaluator/evaluator.go:241-248 | pkg/signalprocessing/evaluator/evaluator.go:296-303 | pkg/signalprocessing/evaluator/evaluator.go:349-356 | pkg/signalprocessing/evaluator/evaluator.go:390-397 \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 \u0060pkg/signalprocessing/evaluator/evaluator.go:241\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":"pkg/signalprocessing/evaluator/evaluator.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c227c9db3433a4e35a25a9d3f86b772702135c9761891a8989b0ac5a962109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cmd/effectivenessmonitor/main.go:365-372 | cmd/notification/main.go:551-558 | cmd/remediationorchestrator/main.go:426-433 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/effectivenessmonitor/main.go:365\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b709d590d2fbd1ed4888e64eb256f221e403a71fc6cd367908580024984f9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/architecture/spikes/run-state-persistence/main.go:609-616 | docs/architecture/spikes/shadow-acp/main.go:777-784 \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 \u0060docs/architecture/spikes/run-state-persistence/main.go:609\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b287cb88ba88b6907c3441ecc5c64fe9708a9e06a105f069e9a1d6e6140b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/datastorage/server/audit_events_batch_handler.go:80-86 | pkg/datastorage/server/audit_events_handler.go:93-100 | pkg/datastorage/server/audit_handlers.go:60-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. 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":"pkg/datastorage/server/audit_events_batch_handler.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d17baae09265f6d2e0d923b68c60000818b1640a6e8e5e40bc26a7f579cf29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cmd/apifrontend/backend_deps.go:661-668 | cmd/effectivenessmonitor/main.go:530-537 | cmd/remediationorchestrator/main.go:770-777 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/apifrontend/backend_deps.go:661\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b403460d4acd59578d76fd2711708899c9f51567742cd978753ee1fa971d2d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/workflowexecution/executor/awx_client.go:106-113 | pkg/workflowexecution/executor/awx_client.go:400-407 \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 \u0060pkg/workflowexecution/executor/awx_client.go:106\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":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b385a504a5e6deaffb95d2f8098c4c092a523e1adc533ea9f2773674be8ca1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): docs/architecture/spikes/hitl-permission/main.go:658-665 | docs/architecture/spikes/run-state-persistence/main.go:620-627 | docs/architecture/spikes/shadow-acp/main.go:860-867 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/architecture/spikes/hitl-permission/main.go:658\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee9e69a5641eb8973ef24e0f3175c783d67fc76becc802b04ac2b0c5267839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/architecture/spikes/hitl-permission/main.go:628-635 | docs/architecture/spikes/shadow-acp/main.go:794-801 \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 \u0060docs/architecture/spikes/hitl-permission/main.go:628\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a583bf19dabfd84d8e9f1c270f3210c0d1c5fcc518f907e615255a3d07b9e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/controller/remediationorchestrator/timeout_handling.go:117-123 | internal/controller/remediationorchestrator/timeout_management.go:358-364 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/controller/remediationorchestrator/timeout_handling.go:117\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/controller/remediationorchestrator/timeout_handling.go:112\u0060 calls \u0060WithLabelValues\u0060, \u0060Inc\u0060 and \u0060internal/controller/remediationorchestrator/timeout_management.go:353\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/timeout_handling.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1899d17791079eb5674387919ff8e96a1370f7c68886392f0aed30148f6b775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/investigator/investigator_gates.go:333-339 | internal/kubernautagent/investigator/investigator_gates.go:1686-1691 \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/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a962b5e8661db8027fbc2e072b91328cee266ffff40b8e8285ad87fe5155ba1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): pkg/workflowexecution/executor/awx_client.go:80-86 | pkg/workflowexecution/executor/awx_client.go:219-225 | pkg/workflowexecution/executor/awx_client.go:254-260 | pkg/workflowexecution/executor/awx_client.go:308-314 | pkg/workflowexecution/executor/awx_client.go:374-380 \u2014 all 5 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. 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":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"96704cf3e5072d03a8af306a1c93ce95383114a44ee6d18676d5e40768b44ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/controller/signalprocessing/signalprocessing_categorizing.go:151-157 | internal/controller/signalprocessing/signalprocessing_classifying.go:246-252 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/controller/signalprocessing/signalprocessing_categorizing.go:151\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/controller/signalprocessing/signalprocessing_categorizing.go:164\u0060 calls \u0060recordCompletionAudit\u0060 and \u0060internal/controller/signalprocessing/signalprocessing_classifying.go:256\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/signalprocessing_categorizing.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3335212a2706d348b23144bfa39b93da4ec39a8a558f85261c3ea8863d5a4b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/remediationorchestrator/creator/aianalysis.go:124-130 | pkg/remediationorchestrator/creator/effectivenessassessment.go:186-191 | pkg/remediationorchestrator/creator/signalprocessing.go:121-127 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/remediationorchestrator/creator/aianalysis.go:124\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":"pkg/remediationorchestrator/creator/aianalysis.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f80c6cbe2e5ff41a84721ff473fadd896f0602e64d75404561116b523c32cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/workflowexecution/executor/awx_client.go:210-216 | pkg/workflowexecution/executor/awx_client.go:299-305 \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 \u0060pkg/workflowexecution/executor/awx_client.go:210\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":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4826932e661a717b96a54ee27275886635eeed965342324c11bde5be1d489314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): pkg/effectivenessmonitor/client/alertmanager_http.go:64-70 | pkg/effectivenessmonitor/client/prometheus_http.go:65-71 | pkg/effectivenessmonitor/client/prometheus_http.go:93-99 | pkg/workflowexecution/executor/awx_client.go:113-119 | pkg/workflowexecution/executor/awx_client.go:407-413 \u2014 there are 5 copies across 3 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/effectivenessmonitor/client/alertmanager_http.go:64\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/workflowexecution/executor/awx_client.go:110\u0060 calls \u0060setHeaders\u0060 and \u0060pkg/effectivenessmonitor/client/alertmanager_http.go:61\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f051864b5ad6ee5def7159e99af76da9214ea2f8e6f1fa9c20b54e20f2d3eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/aianalysis/handlers/response_processor.go:998-1004 | pkg/aianalysis/handlers/response_processor.go:1053-1059 \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 \u0060pkg/aianalysis/handlers/response_processor.go:998\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":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"8189fb8b6c67a6bc7ccee6c9889a8cb7485cc881c26cc4267b0036b96e4f07c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/effectivenessmonitor/client/alertmanager_http.go:80-86 | pkg/effectivenessmonitor/client/prometheus_http.go:109-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/effectivenessmonitor/client/alertmanager_http.go:80\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":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb0bfa506c9189d817e6e7365cff1d5b617bf0c1e524cd732e64504d1518a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/apifrontend/prometheus/client.go:56-62 | pkg/apifrontend/prometheus/client.go:105-111 | pkg/apifrontend/prometheus/client.go:169-175 \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 \u0060pkg/apifrontend/prometheus/client.go:56\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":"pkg/apifrontend/prometheus/client.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bbf4443a6c6769540d34a42acc6c5344b1806018739f51e93dfbbd4329e083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/effectivenessmonitor/client/alertmanager_http.go:85-91 | pkg/effectivenessmonitor/client/prometheus_http.go:114-120 | pkg/fleet/fmc/http_client.go:205-211 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/effectivenessmonitor/client/alertmanager_http.go:85\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":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9184e4d8a6083bbe4c6b84b09b2ebe5ca8bffd37c0d57185a67b241d88397d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/workflowexecution/executor/awx_client.go:138-144 | pkg/workflowexecution/executor/awx_client.go:338-344 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2ef019fab1e6ed1c7c285b3c5e3a65df54d0d9eb6c8186486ade3571abcb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/aianalysis/status/manager.go:62-68 | pkg/remediationorchestrator/status/manager.go:67-72 | pkg/signalprocessing/status/manager.go:81-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/aianalysis/status/manager.go:62\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":"pkg/aianalysis/status/manager.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a818ce9c1cb6c7ed31e48ff07fa7c47a4193316e792548e08303658eb466066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/workflowexecution/executor/awx_client.go:178-184 | pkg/workflowexecution/executor/awx_client.go:267-273 \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 \u0060pkg/workflowexecution/executor/awx_client.go:178\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/workflowexecution/executor/awx_client.go:274\u0060 calls \u0060Errorf\u0060 and \u0060pkg/workflowexecution/executor/awx_client.go:185\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d50aa309cda3d8f1dbfe3a07a9053b43599f97c2d81bd0da294189039012d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/remediationorchestrator/main.go:459-465 | pkg/gateway/server_constructors.go:542-548 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/remediationorchestrator/main.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd037ef89d07b3f99e9025df58dac73631eb51638b66dab5b811da2c9886ac25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/investigator/investigator.go:1274-1279 | internal/kubernautagent/investigator/investigator_discovery.go:440-446 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/kubernautagent/investigator/investigator_discovery.go:440\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/kubernautagent/investigator/investigator.go"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa185ca88db19dd4392dd8c572a1e6c5b73f907ae5f49fdc9ecd9f02021b6d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/effectivenessmonitor/client/alertmanager_http.go:58-63 | pkg/effectivenessmonitor/client/prometheus_http.go:59-64 | pkg/effectivenessmonitor/client/prometheus_http.go:87-92 \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":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"40badc8d70a05c505f34a31d3ea55d51250aee6d29ec0fcbb69820a62f0ed5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gateway/audit_emission.go:120-125 | pkg/signalprocessing/audit/client.go:555-560 \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 \u0060pkg/gateway/audit_emission.go:120\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":"pkg/gateway/audit_emission.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"79118d99ef803c8db5fe87c7d3989ce9d2bcfde296bc8993faa9d6a606922a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/kubernautagent/prompt/builder.go:317-322 | internal/kubernautagent/prompt/history.go:154-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/kubernautagent/prompt/builder.go:317\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/kubernautagent/prompt/builder.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9ec05356113a153bfa8f7713ccacabe8948a35679ded0b35e31b42173c65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): internal/controller/remediationorchestrator/blocked_transitions.go:156-161 | internal/controller/remediationorchestrator/blocked_transitions.go:188-193 | internal/controller/remediationorchestrator/blocking.go:185-190 | internal/controller/remediationorchestrator/notification_creation.go:113-118 | internal/controller/remediationorchestrator/notification_creation.go:167-172 | internal/controller/remediationorchestrator/terminal_transitions.go:672-677 \u2014 there are 6 copies across 4 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 6 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/controller/remediationorchestrator/blocked_transitions.go:156\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060internal/controller/remediationorchestrator/notification_creation.go:113\u0060 is reached only past a guard at line 85 that tests \u0060rr.Namespace\u0060 and leaves the function early, and \u0060internal/controller/remediationorchestrator/blocked_transitions.go:156\u0060 reads \u0060rr.Namespace\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/blocked_transitions.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e340248bff962094dbccfe8540ce4471d0b4171a5f0258194c0064acd372a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): docs/architecture/spikes/run-state-persistence/main.go:602-607 | docs/architecture/spikes/shadow-acp/main.go:752-757 | docs/architecture/spikes/shadow-acp/main.go:787-792 | docs/architecture/spikes/shadow-acp/main.go:819-824 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"435aa4a9dd9f4f3d39ff6e5db422c786eb788f94ae71aabcc5866eea33bfb726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/signalprocessing/evaluator/evaluator.go:252-257 | pkg/signalprocessing/evaluator/evaluator.go:401-406 \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 \u0060pkg/signalprocessing/evaluator/evaluator.go:252\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":"pkg/signalprocessing/evaluator/evaluator.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e5df1d888c31b1c31864b5a8cf2d38e296811facd8515c4bc6d68846eb1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/aianalysis/handlers/analyzing.go:178-183 | pkg/aianalysis/handlers/analyzing.go:234-239 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/aianalysis/handlers/analyzing.go:177\u0060 calls \u0060Errorf\u0060 and \u0060pkg/aianalysis/handlers/analyzing.go:231\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/analyzing.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a8d0e68ab31a48817397fdb650f1a74646d7b37131de79bb2df1f50733f32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/apifrontend/session/service.go:454-459 | pkg/apifrontend/session/service.go:535-540 \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":"pkg/apifrontend/session/service.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccbdc2d82562f9c96765d56b1b583d01bd52fbc4ad91fdc1da0dbbda9ca698a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): internal/controller/remediationorchestrator/blocked_transitions.go:151-155 | internal/controller/remediationorchestrator/blocking.go:179-184 | internal/controller/remediationorchestrator/notification_creation.go:108-112 | internal/controller/remediationorchestrator/notification_creation.go:162-166 | internal/controller/remediationorchestrator/terminal_transitions.go:667-671 \u2014 there are 5 copies across 4 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 5 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/controller/remediationorchestrator/blocked_transitions.go:151\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060internal/controller/remediationorchestrator/notification_creation.go:108\u0060 is reached only past a guard at line 85 that tests \u0060rr.Namespace\u0060 and leaves the function early, and \u0060internal/controller/remediationorchestrator/blocked_transitions.go:151\u0060 reads \u0060rr.Namespace\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/blocked_transitions.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e7303f8e45fbb4564b50613de1a8bce05069788ff01f2adb85474d5431f1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fleet/mcpclient/resilience.go:286-291 | pkg/fleet/mcpclient/resilience.go:308-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 \u0060pkg/fleet/mcpclient/resilience.go:286\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":"pkg/fleet/mcpclient/resilience.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fb232cff161a7444fa143c72b310fc710065f2592de01337f722d10080c3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/apifrontend/auth/config.go:124-129 | pkg/apifrontend/ratelimit/config.go:76-81 \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 \u0060pkg/apifrontend/auth/config.go:124\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":"pkg/apifrontend/auth/config.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa414d6cbbaafdf6a4f2760d3285b2da6ed537e4ca91767b87aa884930d00377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/gateway/adapters/prometheus_adapter.go:393-398 | pkg/gateway/adapters/prometheus_adapter.go:419-424 \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 \u0060pkg/gateway/adapters/prometheus_adapter.go:393\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":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"365671199b63f2eb33aba55d78c8fc787cb03af7fcf73a0560a2ef3a9fa8a055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/workflowexecution/executor/job.go:525-531 | pkg/workflowexecution/executor/tekton.go:71-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/job.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f922f2581dc5d81dde98656a87ce54ea188e3ed272538f75e29745b883700471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): internal/controller/remediationorchestrator/blocked_transitions.go:154-160 | internal/controller/remediationorchestrator/blocked_transitions.go:186-192 | internal/controller/remediationorchestrator/blocking.go:183-189 | internal/controller/remediationorchestrator/notification_creation.go:111-117 | internal/controller/remediationorchestrator/notification_creation.go:165-171 | internal/controller/remediationorchestrator/notification_creation.go:296-302 | internal/controller/remediationorchestrator/terminal_transitions.go:670-676 \u2014 there are 7 copies across 4 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060internal/controller/remediationorchestrator/notification_creation.go:111\u0060 is reached only past a guard at line 85 that tests \u0060rr.Namespace\u0060 and leaves the function early, and \u0060internal/controller/remediationorchestrator/blocked_transitions.go:154\u0060 reads \u0060rr.Namespace\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/blocked_transitions.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e121e981b3df130a46e5d2b0f23530dc32892bba8bebd99528eff36babc1078e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/workflowexecution/executor/job.go:896-900 | pkg/workflowexecution/executor/tekton.go:193-197 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/job.go"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3b883dc4528ae53385b0f39f969111e7beb9bc42b524fae2af933a332cc252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/controller/remediationorchestrator/analyzing_handler.go:69-74 | internal/controller/remediationorchestrator/awaiting_approval_handler.go:53-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44b032e7bce5665b1d9c47c3b73e62d9e0a72b4528bcfc1d6f52be65455fcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): scripts/validation/check-openapi-crd-enum-drift/main.go:206-235 | scripts/validation/check-openapi-crd-enum-drift/main.go:304-341 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validation/check-openapi-crd-enum-drift/main.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3f08b6c484eea20e21c0026be719cc8e1c63a58c283408c58de74b547f4eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 6): Config\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/config.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1997cebaf17af7fe3c9df625473e57d9b27cd47607d9e8839330e04821d39f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockMCPClient (LCOM4 6): MockMCPClient\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/mcp_client.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f032314a09f0b05064f575de6eae2db7f2a746976ad3294d66ab609049243"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ServerConfig (LCOM4 6): ServerConfig\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f89fd153c80f6f7582855809210d0ecc300cf73bb9305a6ff6eca7cbf8a1031"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemediationRequestStatus (LCOM4 5): RemediationRequestStatus\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/remediation/v1alpha1/remediationrequest_types.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f95956b5ef8e1a2c5b2ee890b4dca838250f2abb1f5ad439fda5daaedc96d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AIAnalysisStatus (LCOM4 4): AIAnalysisStatus\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/aianalysis/v1alpha1/aianalysis_types.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf9cb4bbd4fcf95674d4f7ceb30b41c002110a8f6f8e239ac524616dd9894a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WorkflowExecutionReconciler (LCOM4 4): WorkflowExecutionReconciler\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_controller.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22595d032365a9907c6b1751901051d8f4e602fb140ff9c2708a3b367283d87"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Metrics (LCOM4 4): Metrics\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/metrics.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efd269d404e2365f5f7c4714b6154171ec7ad16b7a66f61260492e5ebf2e6f9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Redactor (LCOM4 4): Redactor\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/pii/redactor.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2bcecf74ba5db4f0140a2bec9d60635e76b582bd0111aea415a7f55a981e63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/actiontype/v1alpha1/description_conversion.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/actiontype/v1alpha1/description_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1799afe611f4cc37191f5a512b5135a4b027dab4f66198ee6c5288f32f50f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/remediationworkflow/v1alpha1/description_conversion.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/remediationworkflow/v1alpha1/description_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd9cb09b949c86f5ae5c0c5dc5ded61ecb441f542d927efbdd2dd34317ee2e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/aianalysis/main.go: 3.9% line coverage (11/279)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/aianalysis/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b4f6ccf65f1fc1093da36f00f720ca7c3c722b5b156b9cce8decaeda5c7c1c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/apifrontend/backend_deps.go: 39.5% line coverage (217/549)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc726e7fc528651f519d5a2cffdea60fead6121750e4c78f7eac947526a0d10"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/apifrontend/main.go: 31.6% line coverage (194/614)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d229baafdb26f23ae3e854d8f616a6f98bfe773cda08bc1a5d469a79ba26d10"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/apifrontend/session_infra.go: 42.4% line coverage (104/245)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/session_infra.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"352810882c089375fecd0f3904f07d271bc859557d241fda7e6fbe5a41a1851c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/authwebhook/main.go: 3.7% line coverage (11/297)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/authwebhook/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d57cda6332c85d736dbb1a9a97e475eedc07d88457e6526423ee3cba5ca0d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/datastorage/main.go: 10.4% line coverage (45/433)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/datastorage/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1c79180ea40e454df0c6263dfa82a994991afda954ae28615269ae5cc27cf7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/effectivenessmonitor/main.go: 25.9% line coverage (117/451)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/effectivenessmonitor/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7423affe8574fd4d70a19bff5776ce18c2b84e8539aa82c3a6a05ff67228c140"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/fleetmetadatacache/main.go: 20.0% line coverage (64/320)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fleetmetadatacache/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e510397ea637acc1f1c011252185a5179562d4bfea5aa8088e76d0ef90f1989"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/gateway/main.go: 20.5% line coverage (64/312)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/gateway/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b12cbf854474b0ddba67b28664ca45fb14ecfe0e4146d8668152f39f5cf0b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubernautagent/agentsession_wiring.go: 0.0% line coverage (0/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/agentsession_wiring.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a6ddc14ca244aa622c4e3376f2111e06c2ac079efc95870c4991d92953c20"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubernautagent/bootstrap.go: 30.7% line coverage (102/332)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/bootstrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b937fc3e800fbb7b8ab26271af8794f3d1139bd123c906e9f46796871274d4d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubernautagent/datastorage.go: 19.2% line coverage (34/177)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/datastorage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f12d45efd7cb0dad640c1bd2ce0a243271b17693492b171e8ca02d2b825a3e7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubernautagent/health.go: 33.5% line coverage (61/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/health.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d3195d08d730656a9d2a0ec478f49a520b870cea9d6a935c0e53720f81ce5b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/kubernautagent/main.go: 0.7% line coverage (2/295)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d15bb1430ac14dd98a03194c54d784bae1b2e1d4e8d046b80df4a2518089a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/notification/main.go: 13.8% line coverage (59/427)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/notification/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44caedd5316723de07512ea9880f688cc4286c0fb3439875edcb4a1cf2439aeb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/remediationorchestrator/main.go: 13.6% line coverage (66/487)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/remediationorchestrator/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1057930f22f2cb95a1d6c6e09ff406c91505efa100f7a6367643c541f59bca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/signalprocessing/main.go: 16.4% line coverage (63/385)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/signalprocessing/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11f800539842fb980ecbdf78dbd51fb3d5bbd9ce22c30dd12f69a814e18247"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/workflowexecution/main.go: 20.2% line coverage (80/397)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/workflowexecution/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"708dacb44e6a66efccc33517cc6847f8f4ea8fe4cd355fc95f2b07d200bac868"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/architecture/spikes/oci-runtime-contract/validate_contract.go: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/oci-runtime-contract/validate_contract.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dcdb4a03ec13e6cc393ed92765b9ada40e6f21221f53e5926db47f0d7052e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/spikes/multi-cluster-mcp-gateway/spike-s15-fmc-multiformat-parse/main.go: 0.0% line coverage (0/100)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/multi-cluster-mcp-gateway/spike-s15-fmc-multiformat-parse/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b76650d5855e3ff7dd94e66eabde4851fc68133b82638c8b0e80418d89c9ce0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/spikes/multi-cluster-mcp-gateway/spike-s16-structured-content-validation/main.go: 0.0% line coverage (0/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/multi-cluster-mcp-gateway/spike-s16-structured-content-validation/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"787638bd1bd3951568467bd7aba006928bf87a0ba828acc78a83134d4842732a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/spikes/multi-cluster-mcp-gateway/spike-s4-federated-scope/client.go: 13.8% line coverage (16/116)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/multi-cluster-mcp-gateway/spike-s4-federated-scope/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee1d42a004220ffa9e53630760e1bb24507ae695fb92559e50a111c8d3b4d3e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/spikes/spike-mcp-stream/main.go: 0.0% line coverage (0/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/spike-mcp-stream/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29066ccdb47d0d7612d6b5c4f4fafb47cab6cfc93477b89a7a8e5bd152608994"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/bind-fleet-af-rbac/main.go: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/bind-fleet-af-rbac/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1e3767b8edf8b2598a8909a430f6a56d7b5f5dd4a9c02177f041287e1e7b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/setup-demo-infra/main.go: 24.9% line coverage (47/189)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/setup-demo-infra/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93340b7c319d6d32c0c2fa140b37ae0cb43682c92a15e107c836dc9839a3ab79"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/aianalysis/deletion_handler.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/aianalysis/deletion_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba761ac52be5993981fccb3b27f4d8bb89c584701fe5aa57829fc95b0f6dd8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/effectivenessmonitor/events.go: 48.9% line coverage (65/133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eb5357923248ea9a3040fa005a184eea112f5a614282a6d81370da49890db4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/effectivenessmonitor/target_resources.go: 49.1% line coverage (84/171)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/target_resources.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efb1399092fca1b699b7e60c9d9525029bee768b9d02ea224a7394b30c22915"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/notification/notificationrequest_controller.go: 47.4% line coverage (304/641)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/notificationrequest_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5eaf0f20115f890f23f91f52e68f7be7926b3ffb155b82fadb484fe4d2221f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/notification/routing_handler.go: 48.1% line coverage (115/239)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/notification/routing_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b6d99cf7be12a12c8b27a47462976c5ebe0c4b678ee6853c37a440998bf53"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/remediationorchestrator/reconcile_loop.go: 46.4% line coverage (196/422)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"335ef5007c17f98413ccfb400e6fc59c61c4e461bbffd14b2332d12b7078ded5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/workflowexecution/workflowexecution_collision.go: 38.7% line coverage (58/150)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_collision.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b1ea74a8ee0fb87180adc4fdc01aefcd76b9af8f0f975aaa937961fe807a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/controller/workflowexecution/workflowexecution_controller.go: 41.4% line coverage (98/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd80bd98ee316bbdca7404d75de7de5a75eb34e36d5e0cd23e4a0033a42cb4a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/kubernautagent/mcp/tools/agentsession_checker.go: 18.2% line coverage (2/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/agentsession_checker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0afc18b225b9f6dbdfda058869de5c22ef3cad25e40fad4e08aa009eab215d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/kubernautagent/mcp/tools/rr_checker.go: 20.0% line coverage (2/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/rr_checker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c85d97ec75e5ffa583adc6d089a572d7a86fe4d8c96d30b3346237760cc519"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/kubernautagent/workflowcatalog/discovery.go: 40.0% line coverage (4/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/workflowcatalog/discovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5054d516e482d526c5355bbef8a3740ee8bca34fc5384aacbaaf04b81e83474c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/kubernautagent/workflowcatalog/discovery_cache.go: 44.7% line coverage (63/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/workflowcatalog/discovery_cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8710d50de9b479a0b8dabc3d454e7295f927d35065e47aca79b212ae625babe0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/aianalysis/audit/manager.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/audit/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bafc62f00d1337992ce4bdbea368c84f8a9a65726ea84fd8cefb826b686d7f2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/aianalysis/handlers/evidence_status.go: 14.3% line coverage (6/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/evidence_status.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30fddebc3ab5789637805083c1bbd881058cf12d7aa4f0e7241d62aa3609701"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/aianalysis/phase/manager.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/phase/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc628fe926b5a4a159d4224aeacdc164b082bf4849725fae4d30b547f2b045d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/aianalysis/phase/types.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/phase/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61396252af7a4568c35205b9dc8be086515502a8a6b97360ee5c1fe605cc5b18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/aianalysis/status/manager.go: 34.4% line coverage (11/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/status/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1144554f00bc847b8ec7304c1f732e1cb88ce83669c97df4fcb7a715b80cad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/apifrontend/handler/status_handler.go: 15.6% line coverage (47/302)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21166ca05f2edd6405742de08caea69a94420cb016303938cd5da572112afa9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/apifrontend/policyread/response_limit.go: 41.7% line coverage (20/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/response_limit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa0c76e8c1aa0d49933d4f6059faecdd0dc4aa1ef9ede62769a2e95ad567b27"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/apifrontend/tools/resource_reader.go: 31.1% line coverage (14/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/resource_reader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c1c1baee5accf24c6c22fa28dec382294aa75da430bcea2ecb86439e4d798"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/config/config_secrets.go: 46.2% line coverage (49/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config_secrets.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"197a8824ca0640e8cc0af18d0ce5d69c3e0ee4e8b1e5c066cc9e1beaee672708"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/dlq/client_consumer.go: 30.6% line coverage (72/235). 2 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7385b5c404bebf941fdfcaae02b81d40305d4f522adca8725a916955593754f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/dlq/monitoring.go: 43.4% line coverage (23/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/monitoring.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18974bde5e27af25f53e4d53086926edb103756ea279bcac185e84f5009cff3e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/oci/puller.go: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/oci/puller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f79821b6d1259e1804ff8f97587fb5e5bb87c69fa0fe7dd79739d7091e47e8d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/partition/ensure.go: 45.1% line coverage (32/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/partition/ensure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894542a641ea1dea9da1fcda116973e1169062cb8dd0c7711aec8cf88086fc0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/query/service.go: 29.2% line coverage (31/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/query/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f559e6f5549c81e96017226471be76825f4829d9f6614aefb1eed9c76136706"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/retention/worker.go: 14.4% line coverage (14/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/retention/worker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f5893ff69d5c412e0b3884456fcfdf5e46a6dd96f2e4f463501080dfcf1449"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/audit_events_handler.go: 13.4% line coverage (40/299)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/audit_events_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4faa0f2cd621ed52ea76ce87704ae1d2d079c73b8d9108ed419da74bb50d16"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/audit_handlers.go: 3.1% line coverage (4/130)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/audit_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce64cc598039e73fc0839f9b8d8f3c7bef37af746168fa18f8d60a6e6c7a6b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/db.go: 37.5% line coverage (6/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/db.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97b45dae5cea2622ce95879ab850800ded716bc434a7a9e73aa6f2ed138896e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/dlq_retry_worker.go: 49.5% line coverage (141/285). 4 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d39106e75cfb0937b393ae3ad38faf00b532e0306a370332cfc4d6bde136c3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/handler_reconstruction.go: 0.0% line coverage (0/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/handler_reconstruction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d00fd023077e0386fea59110ef17c4ad0105e2d9f9677a0a522434180a5cb42"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/helpers/query_helpers.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/helpers/query_helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998cdecf9dbc56a870ef45260e09e5c070aee2788006788b976e9a4767c1871e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/helpers/validation.go: 12.8% line coverage (5/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/helpers/validation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da602a132b8953be55af48c85c3981fc96b7c8d4d1837379c5f6a61eeddff3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/legal_hold_handler.go: 0.0% line coverage (0/277)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/legal_hold_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb93e7fb4f3ae7208230f183d697e09422ae8a072a94a136f8b84fec1608f1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/reconstruction_handler.go: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/reconstruction_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979f93598ff690e9d3ed9f3c05fd00ecd95152e0a327881e711406d23e5d08c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/remediation_history_adapter.go: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/remediation_history_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e727cbca97cb79daa9accfd4016636260a22c1e3afe8159146dfe1a0ccc17be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/response/json.go: 28.6% line coverage (4/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/response/json.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c024c76f421bfec72bfece9899d4419cdecfe335ab676d0bc4f6c439f3daa5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/response/pagination.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/response/pagination.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902ef59c2fb3f6a5f7e50d9d3f25ad04d6e0ca456ff36daaafefe95fd6a079c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/server.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63460437ed4f8f13c4b38bc9001ad8f5b61265c2241649c24e515343d1da3874"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/server_construction.go: 0.0% line coverage (0/291)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/server_construction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f1572fb61575175bf939bba8c3a914428c088af47f7c37341cf07ff97eaee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/datastorage/server/server_routes.go: 0.0% line coverage (0/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/server_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de61a83b94362c3145f66e082e72de06cf5001c9338acf1afc129fd4c87d837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/effectivenessmonitor/client/alertmanager_http.go: 6.6% line coverage (4/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96abacf7610a8814fae205f1e8d91c956041797b3244f339763111112243f79e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/effectivenessmonitor/types/types.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/types/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bbd66a8e3dc0a4fbaa64d86cff33e8868cabd232af4b4087fb4d2f310c0795"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/fleet/fleettest/cluster_querier.go: 21.4% line coverage (3/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/fleettest/cluster_querier.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5382d9bb08f83b847a84ca9bb76a4f1cc7734ac3d10033aa9c87d0a3113ca1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/audit_emission.go: 16.9% line coverage (43/254)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/audit_emission.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a43e12484e2fc47fd83cd1a2f1973f6c680bc272c3b1da08df61d3f7e8efa8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/audit_helpers.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/audit_helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a817767de1c5417b2c011df3a64e994ede815d4e58c001943c1ad4202db1bafc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/http_errors.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/http_errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb298160a39024375d5bf338f896b6f15ab813b6cc9079abccceef05323c61ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/k8s/client.go: 44.4% line coverage (8/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/k8s/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a8e310c3cbd365763a726640e8d2fe83826b6bd13979610eb605749a12e420"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/k8s/client_with_circuit_breaker.go: 38.6% line coverage (17/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/k8s/client_with_circuit_breaker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"410940efeebd5fcadfd43bf8af8489ca67daa75917b3aecc1900835ed00e17d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/server.go: 44.5% line coverage (97/218)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c0de663146e00846e57ddfb44c0d3f6a9fa567617ebee994e4050a6052699c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/server_constructors.go: 28.6% line coverage (110/385)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/server_constructors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b4b4a139267e3159ee146f96a60a08701dbd240a65ce6dfd30b0ae692aaa41"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/gateway/signal_ingestion.go: 20.9% line coverage (53/253)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/signal_ingestion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98016d6f5457b14974a9257786f029b54925b0903626039edb11bf6229d84b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/k8sutil/client.go: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8sutil/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aeaeb970ceb2065a194fdbdc9ded158b3a88be9cd776c2b446d7691d0494fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/kubernautagent/tools/mcp/provider.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/mcp/provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf37505b36c2616e77062b96eed922e9d59211f46f4f170a686845a7c81293a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/notification/client.go: 0.0% line coverage (0/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beda6af2f37204fe00c2e744f54828071f836122409a3bf1ad6fb4abcea040bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/notification/delivery/file.go: 48.4% line coverage (46/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/file.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dc7fa3d7e3d066641d2a8e65bd249c0c3b69d5660db4b8feafe290d739ed83"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/notification/delivery/log.go: 0.0% line coverage (0/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/log.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a727de1e1a79fa159350aa030c27bb525ddb16182b4a2137f3dc0e6089c39e4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/remediationorchestrator/routing/ds_history_adapter.go: 48.9% line coverage (22/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/ds_history_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82d41cd5853d4a075e2f1b8574f3712ca00db59fe34c94fe7e4230150a3f960"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/remediationorchestrator/status/manager.go: 30.0% line coverage (9/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/status/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e33e28aad1ca89e3c7ac29adf1e6811da23722a7cb60ff00b93d3903eb0d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/remediationorchestrator/timeout/detector.go: 30.6% line coverage (22/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/timeout/detector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde19d1d96003f653c7d76e36c7652897ce24a02298d3356250db0bed52ae68"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/shared/audit/error_types.go: 8.7% line coverage (6/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/audit/error_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d654e124fc52241c0dc7d7c0ad2b974b131f38e748a4996e86b3baaf5bc1c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/shared/sanitization/headers.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/sanitization/headers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d73dd2cbf5c1eb0808506c9747d87493e46865cac9617055340c27e7338cb5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/shared/sanitization/path_normalization.go: 0.0% line coverage (0/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/sanitization/path_normalization.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5196d7e12082b1539ed0b96602de35645593ec76d9e564a79ec95f0cb4caf21e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/shared/types/enrichment.go: 20.8% line coverage (5/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/types/enrichment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"666d85d8bd752ca36cb9d4d059c057f697d5ff642e5423c9e27b0ec941225793"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/signalprocessing/audit/helpers.go: 46.3% line coverage (25/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/audit/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ee075c8135fcfc621098e177aa46c261648f2c75c1d4de93ac4fae35c58d0b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/signalprocessing/phase/manager.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcba5b001adc01da78f7979bc3bfb99a94a3f61c87fa002489ac02ccbe4cba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/signalprocessing/phase/types.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f45f3706a8df6af75da378563b7be0577753c1c311d7f27a047d08e9fad582"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/workflowexecution/status/manager.go: 31.3% line coverage (10/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/status/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199382a617951c7caf96ada7b9ea279d6117238351cb3ece27bfd346c150b9ae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/validate-graphql-query/main.go: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-graphql-query/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff8ca6c036075c908fd640845dd8eafef3732c755d3e4ee1031184df30e673a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/validation/check-openapi-crd-enum-drift/main.go: 0.0% line coverage (0/255)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validation/check-openapi-crd-enum-drift/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fd28be6e47cbc7d40d770064a3dc5dff131f3f44b8071e22326d9fff335ad1"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: internal/kubernautagent/workflowcatalog/lazy_catalog.go: 5 line(s) (118-120, 135-136) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/workflowcatalog/lazy_catalog.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f1161dd61c155b4a996098087d25cf7ff5716ae54f988fddea7b166e094f80"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/apifrontend/ka/session_pool.go: 3 line(s) (148-150) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/session_pool.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfdc02faad90f2dc108e497d8c30964b77c71db2e80d44d8a715e5e5904e16f"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/apifrontend/launcher/streaming_executor.go: 1 line(s) (159) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/streaming_executor.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3151924c36bd720e446147d87e7f0e96b87db84794ad2613738bb3148d6788ff"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/authwebhook/helpers.go: 1 line(s) (41) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/helpers.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"12faec301a3a0f8c506f802cc4d8a314e9e6697c89bca599d2dfc9212558d12d"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/authwebhook/remediationworkflow_handler.go: 6 line(s) (543-545, 572-574) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/remediationworkflow_handler.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"027719f899896554d8f19f678349252be6a30bd85681bf662a483963365ce167"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/datastorage/dlq/client_consumer.go: 2 line(s) (167-168) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client_consumer.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e98fe58319f4b82729be1f15276b598f9df59150b7f2e6d2716a53927c868"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/datastorage/server/dlq_retry_worker.go: 4 line(s) (254-257) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52b8ec717d5f118324444ac9dd91dc8f8d36284e1f594b77b5532b2d2351e76"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/shared/hotreload/file_watcher.go: 6 line(s) (289-294) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/hotreload/file_watcher.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e175780f03b9cd3fc19aaa37bd1320bf6924bc60f225fd656d23a54b5410cd1"}},{"ruleId":"D13","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":"3e53b732ee686c856688efbb64c41718038231573a284b48b7be5e6c93cb2881"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"09902dcf1b26b3a173bbdbd5c37c7dfddee2b1187947a4efcebbdb2f133dbe01"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"1d013c0a3c4aa2bc67a09271b23f69d2df4ad4aca989a312dccb6318e33f42e6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/kubernautagent/prompt/history.go: internal/kubernautagent/prompt/history.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in prompt.BuildRCAProvisionalReviewSection at line 125. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/prompt/history.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/prompt/history.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc68bb4ec9a359fa160f40cd7e9b240c1084ff1da8b0c62f358bfa42f901493"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator.go: internal/kubernautagent/investigator/investigator.go changed 29 times in last 90 days and 21 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is investigator.preserveRCAContinuationEvidence at line 622), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): preserve target on workflow cancellation\u201D; \u201Cfix(kubernautagent): separate interactive terminal decision IDs\u201D; \u201Cfix(kubernautagent): preserve RCA retry protocol state (#2586)\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a48443cfadad4f283b24a74437f3a4101d6d7d85f95ed0a64e16cfd7cd04b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_loop.go: internal/kubernautagent/investigator/investigator_loop.go changed 21 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is investigator.auditToolResultProjection at line 668), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): preserve RCA retry protocol state (#2586)\u201D; \u201Cfix(ka): close remaining bounded output review findings\u201D; \u201Cfix(ka): remove legacy audit list fallback\u201D; \u201Cfix(ka): persist bounded legacy jq audit summaries\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_loop.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e3707cb719eaa2bdc6616b1b0744f9fd2a9e3847d55bbbf98245bf1e89161"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_discovery.go: internal/kubernautagent/investigator/investigator_discovery.go changed 18 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is Investigator.RunWorkflowDiscoveryFromRCA at line 41), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate signal-derived workflow targets\u201D; \u201Cfix(kubernautagent): separate interactive terminal decision IDs\u201D; \u201Cfix(investigator): persist interactive RCA completion audit\u201D; \u201Cfix(kubernaut-agent): revalidate enriched workflow target\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_discovery.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_discovery.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2506012fe4a13c131208fd883e2d7b8ac63314e382581c3b50a98e849b6e292"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/ka_investigate_mcp.go: pkg/apifrontend/tools/ka_investigate_mcp.go changed 18 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is tools.resolveInvestigationRR at line 474), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(apifrontend): replace provisional RCA fallbacks with status\u201D; \u201Cfix(apifrontend): reject active investigations before readiness waits\u201D; \u201Cfix(fleet): enforce cluster attribution for triage\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/ka_investigate_mcp.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_mcp.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c188dfc9f98f1a55f12a656c72bc981e706eefab193f866fd2254601ea620c8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/workflowexecution/workflowexecution_pending.go: internal/controller/workflowexecution/workflowexecution_pending.go changed 16 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is WorkflowExecutionReconciler.recordPendingSelectionAudit at line 304), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: bound workflow identity retries\u201D; \u201Cfix: use shared default for catalog requeues\u201D; \u201Cfix: jitter workflow identity requeues\u201D; \u201Cfix: requeue transient workflow catalog lookups\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/workflowexecution/workflowexecution_pending.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_pending.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"20502e05cf0eb037bced25a4c6e7a367df31b86f3f4986d23c5138b7f45f6956"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_phases.go: internal/kubernautagent/investigator/investigator_phases.go changed 15 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is investigator.MergePhase1Fallbacks at line 66), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve structured fleet list output\u201D; \u201Cfix(investigator): preserve existing RCA confidence\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_phases.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_phases.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e2fca27ad5e5459c8d28daf2553315a25e0822878f108391eb91d335545f25"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/agent/phase_guard.go: pkg/apifrontend/agent/phase_guard.go changed 15 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is agent.recordInvestigateGroundingState at line 400), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(apifrontend): replace provisional RCA fallbacks with status\u201D; \u201Cfix(apifrontend): preserve trusted severity across turns\u201D; \u201Cfix(apifrontend): require explicit severity evidence\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/agent/phase_guard.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"9680d9777aa3032620683ff8a5f1de23ad9bf28a0abdbcde2536a344ebb7ff56"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/agentsession/mapping.go: internal/kubernautagent/agentsession/mapping.go changed 17 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is agentsession.MapInvestigationResultToAgentSessionResult at line 128), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix: validate frozen approval parameters\u201D; \u201Cfix: preserve typed investigation outcome precedence\u201D; \u201Cfix: close history-aware safety and provenance gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/agentsession/mapping.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a82ad83d2a6290733cad29c37ab9bfd8de44ce94e9414748fda2cff7583cec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_workflow_selection.go: internal/kubernautagent/investigator/investigator_workflow_selection.go changed 16 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Investigator.runWorkflowSelection at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: close approval validation audit gaps\u201D; \u201Cfix(ka): preserve discovery failure on retry budget overflow\u201D; \u201Cfix(ka): preserve bounded audit and RCA contracts\u201D; \u201Cfix(ka): classify post-discovery budget exhaustion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_workflow_selection.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_workflow_selection.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f395ab6922fc2454f4dc52c060a53ef139498c617206243e292a5aa6db1d43"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/workflowexecution/executor/job.go: pkg/workflowexecution/executor/job.go changed 13 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is JobExecutor.Create at line 524), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(workflowexecution): honor authoritative target resource\u201D; \u201Cfix(workflowexecution): harden RR Job identity migration\u201D; \u201Cfix(workflowexecution): preserve recorded Job identity during reentry\u201D; \u201Cfix(workflowexecution): derive Job names from RR names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/workflowexecution/executor/job.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/job.go"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"26649cb248897ab3a45fdb15bdc6230b8223b8ebe48a3ddb98990582bed3e2f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/kubernautagent/toolregistry.go: cmd/kubernautagent/toolregistry.go changed 17 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is main.newFleetRetryObserver at line 469), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fleet): resolve tool prefixes by gateway type\u201D; \u201Cfix(ka): classify post-discovery budget exhaustion\u201D; \u201Cfix(k8s): bound bulk tool results at source\u201D; \u201Cfix(kubernautagent): fence recovered attempt callbacks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/kubernautagent/toolregistry.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/toolregistry.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"051cbb2755cfd9ef44c699a00b86055abf262f03b591e10bf077ecabe4c6e684"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_audit.go: internal/kubernautagent/investigator/investigator_audit.go changed 13 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is investigator.populateDecisionEvent at line 270), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): separate interactive terminal decision IDs\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix(ka): scope phase 3 handoff and context budget\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_audit.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7711e09cc06ba845370cc974925aecde2e45d994d36f6767221da35cbf2f30"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/crd_tools.go: pkg/apifrontend/tools/crd_tools.go changed 13 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is tools.HandleListRemediations at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): expose independent approval confidence fields\u201D; \u201Cfix: satisfy deprecation comment lint\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix: close approval audit and target gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/crd_tools.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf454bab6a5d7b735815cdda0c6aeeb8394f5893d3d47fb07d1645d9302a4db"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/kubernautagent/types/types.go: pkg/kubernautagent/types/types.go changed 15 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is SignalContext.ComponentGVK at line 475), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix: preserve validated target API versions\u201D; \u201Cfix(ka): scope phase 3 handoff and context budget\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/kubernautagent/types/types.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/types/types.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf403e46ef4cae5e0f27dccfa35c1468146fe49f85db43d2c4418824a2d26d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/apifrontend/backend_deps.go: cmd/apifrontend/backend_deps.go changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is main.buildPolicyReadDeps at line 215), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: register workflow scheme in apifrontend\u201D; \u201Cfix(apifrontend): read console policy metadata from runtime config\u201D; \u201Cfix(apifrontend): require explicit severity evidence\u201D; \u201Cfix(apifrontend): fail closed when scope checker is unavailable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/apifrontend/backend_deps.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed998ac13cadc81aaad1719f38ac8f4e06d66a6931db8593a72bd5e168564ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_gates.go: internal/kubernautagent/investigator/investigator_gates.go changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is investigator.resourceListItemsWellFormed at line 567), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve structured fleet list output\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix: validate non-empty mapper API versions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_gates.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"7789304de0d8ff62a54af6ef6064cec8a1c126937771ae13d602ccac96b7f70e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/workflowexecution/workflowexecution_controller.go: internal/controller/workflowexecution/workflowexecution_controller.go changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is WorkflowExecutionReconciler.Reconcile at line 286), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(workflowexecution): preserve dispatched workflow snapshots\u201D; \u201Cfix(workflowexecution): harden RR Job identity migration\u201D; \u201Cfix(workflowexecution): derive Job names from RR names\u201D; \u201Cfix(workflowexecution): reuse Ansible engine constant\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/workflowexecution/workflowexecution_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_controller.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3463b26288f29234e3227acb3ae4872c042a52c2a23ab846a0660f33c3de6cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/select_workflow.go: internal/kubernautagent/mcp/tools/select_workflow.go changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is SelectWorkflowTool.Handle at line 400), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix: close history-aware safety and provenance gaps\u201D; \u201Cfix(interactive): preserve selected workflow parameters\u201D; \u201Cfix(kubernautagent): reject empty fleet overlays\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/select_workflow.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/select_workflow.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87687594d479fbc5a720f6be6194b7b207f98bcb147bf7349a61a0502ccec6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/agentsession/dispatcher.go: internal/kubernautagent/agentsession/dispatcher.go changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Dispatcher.dispatchLeaseNeedsReclaim at line 971), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): retry transient lease reads\u201D; \u201Cfix(kubernautagent): fence recovered attempt callbacks\u201D; \u201Cfix(kubernautagent): harden epoch lease recovery\u201D; \u201Cfix(kubernautagent): recover AgentSessions after restart\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/agentsession/dispatcher.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb221a7d15834b2822032af210ba1ba9727c1ddb8281bac6d110492c17bbc8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/authwebhook/remediationapprovalrequest_handler.go: pkg/authwebhook/remediationapprovalrequest_handler.go changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is RemediationApprovalRequestAuthHandler.handleHumanDecision at line 212), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: audit denied approval overrides\u201D; \u201Cfix: validate frozen approval parameters\u201D; \u201Cfix: close RAR approval safety races\u201D; \u201Cfix: address approval safety review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/authwebhook/remediationapprovalrequest_handler.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/remediationapprovalrequest_handler.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe1e79f1c5bfc50b954976805d26a1831dba59b1cd946e65334ee2b3429b2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/evidence_handoff.go: internal/kubernautagent/investigator/evidence_handoff.go changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Investigator.freezeEvidenceHandoff at line 206), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ka): close remaining bounded output review findings\u201D; \u201Cfix(ka): classify post-discovery budget exhaustion\u201D; \u201Cfix(ka): close review findings for bounded contexts\u201D; \u201Cfix(ka): scope phase 3 handoff and context budget\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/evidence_handoff.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/evidence_handoff.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd55999a9fc196a22dd046d0a963a1d68e7d3c1be36b86814a41506b82e62b2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/handler/mcp_bridge.go: pkg/apifrontend/handler/mcp_bridge.go changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is handler.registerInteractiveTools at line 348), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: close approval validation audit gaps\u201D; \u201Cfix(apifrontend): emit schema-valid MCP denial audits\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(apifrontend): fail closed when scope checker is unavailable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/handler/mcp_bridge.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/mcp_bridge.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e547b2a52b1ebb5d9a768c14012b6d8e5347573967378574fd8ee4230169d3de"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_tools.go: internal/kubernautagent/investigator/investigator_tools.go changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Investigator.toolDefinitionsForPhase at line 225), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix(ka): scope phase 3 handoff and context budget\u201D; \u201Cfix: close history-aware safety and provenance gaps\u201D; \u201Cfix(ci): repair scoped history-selection gate findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_tools.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_tools.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d0e16418267692344bf492eecc10c8dae6b493fea0016dbdbdfdcebd9b2570"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/investigate_discovery.go: internal/kubernautagent/mcp/tools/investigate_discovery.go changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is InvestigateTool.resolveRCAForDiscovery at line 272), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix(kubernautagent): preserve signal context during RCA extraction\u201D; \u201Cfix(kubernautagent): prefer interactive RCA after user turn\u201D; \u201Cfix(kubernautagent): repair management-aware workflow discovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/investigate_discovery.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_discovery.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd54a87c9aec79ef71a9cf991bedb78f2dab89786d7bccb48216420ea884e6a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/kubernautagent/routes.go: cmd/kubernautagent/routes.go changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is main.newAuthMiddleware at line 59), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: wait for late AgentSession dispatch before escalation\u201D; \u201Cfix(kubernautagent): preserve signal context through sessions\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(kubernautagent): prescope fleet overlay during discovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/kubernautagent/routes.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/routes.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"39458c542102ba3fc96ee5d76e1d99dda5077a26a199fd7bc6c68b1999598556"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/investigate_start.go: internal/kubernautagent/mcp/tools/investigate_start.go changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is tools.waitForAgentSessionDispatch at line 349), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: wait for late AgentSession dispatch before escalation\u201D; \u201Cfix(kubernautagent): preserve signal context through sessions\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(kubernautagent): prescope fleet overlay during discovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/investigate_start.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_start.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f97f189d692f8d814a24332d504d8637c066a718c291643bda9451255c05138"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/af_create_rr.go: pkg/apifrontend/tools/af_create_rr.go changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is tools.HandleCreateRRWithHooks at line 218), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): scope cluster attribution to fleet mode\u201D; \u201Cfix(fleet): enforce cluster attribution for triage\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(apifrontend): fail closed when scope checker is unavailable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/af_create_rr.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/af_create_rr.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4d5ed14f639fd5fab44bdf1dc56a4659ba85b999711701866cce60e4ef8860"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/kubernautagent/tools/k8s/tools.go: pkg/kubernautagent/tools/k8s/tools.go changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is apiResourcesListTool.Execute at line 129), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix(ka): close remaining bounded output review findings\u201D; \u201Cfix(ka): close bounded Kubernetes output review findings\u201D; \u201Cfix(ka): classify post-discovery budget exhaustion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/kubernautagent/tools/k8s/tools.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/tools.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e67c5c56ce08786dfb62dfa445f98c9e9376e085ac62790ff266c605447f91"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/kubernautagent/tools/k8s/jq.go: pkg/kubernautagent/tools/k8s/jq.go changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is k8s.evaluateJQ at line 132), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(k8s): keep jq truncation guidance tool agnostic\u201D; \u201Cfix(k8s): report truncation in jq query output\u201D; \u201Cfix(ka): close remaining bounded output review findings\u201D; \u201Cfix(ka): classify post-discovery budget exhaustion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/kubernautagent/tools/k8s/jq.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/jq.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f30f60241744547d7a65539d88d0012fd75b2d6c79df56cd61a337af5c83d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/audit/store_adapter.go: pkg/apifrontend/audit/store_adapter.go changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is StoreAdapter.Emit at line 39), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): read console policy metadata from runtime config\u201D; \u201Cfix: close approval audit and target gaps\u201D; \u201Cfix(apifrontend): emit schema-valid MCP denial audits\u201D; \u201Cfix(apifrontend): preserve provider failures in audit trail\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/audit/store_adapter.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"38afba75554be728278f9485e0cb2fead92a7df0b43a8124dec8ea8317eb3228"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/aianalysis/aianalysis_controller.go: internal/controller/aianalysis/aianalysis_controller.go changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is aianalysis.aiAnalysisUpdatePredicate at line 441), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(aianalysis): grant workflow catalog read access\u201D; \u201Cfix(aianalysis): grant update RBAC on agentsessions for finalizer removal\u201D; \u201Cfix(aianalysis): watch ActingUser/ActingUserGroups changes in AgentSessionEventPredicate (#2204)\u201D; \u201Cfix(aianalysis): deadline-driven backstop requeue, remove dead HTTP-poll config (#2204)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/aianalysis/aianalysis_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/aianalysis/aianalysis_controller.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4dbacc77a48c2e80fabc48ed4cd6522b15f010944c13713b4f3e0a644d1c54"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/prompt/builder.go: internal/kubernautagent/prompt/builder.go changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is prompt.formatPhase1Assessment at line 308), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(issue-2533): bound phase3 prompt and strengthen review tests\u201D; \u201Cfix(kubernautagent): close recurrent RCA review gaps\u201D; \u201Cfix(kubernautagent): redact credentials from history prompts\u201D; \u201Cfix: close history-aware safety and provenance gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/prompt/builder.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/prompt/builder.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c154145ad3e68fff9828c61469b3a8dc9e96a684cf7bc56d177818b2b59944ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/ka_investigate_bridge.go: pkg/apifrontend/tools/ka_investigate_bridge.go changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is tools.BridgeEventsToA2A at line 49), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(apifrontend): replace provisional RCA fallbacks with status\u201D; \u201Cfix(apifrontend): retain pooled events through A2A streams\u201D; \u201Cfix(apifrontend): route pooled session events per subscriber\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/ka_investigate_bridge.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2358bddffff18b52785f84d6069645dab5176fd218b7244413d831090e50d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/session/consent.go: pkg/apifrontend/session/consent.go changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is session.ValidInteractionMode at line 179), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): replace provisional RCA fallbacks with status\u201D; \u201Cfix(apifrontend): preserve trusted severity across turns\u201D; \u201Cfix(apifrontend): preserve consent during decision recovery\u201D; \u201Cfix(apifrontend): coordinate decision artifact completion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/session/consent.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/consent.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4255ed32bca5c75844165dc5ecb37db86ba7370e146b030a24c87db1a232e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/tools/custom/fleet_resource_context.go: internal/kubernautagent/tools/custom/fleet_resource_context.go changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is overlayClientReader.List at line 134), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): preserve verified CRD API versions\u201D; \u201Cfix(kubernaut-agent): preserve owner provenance API versions\u201D; \u201Cfix(fleet): parse list responses and persist RCA labels\u201D; \u201Cfix(kubernaut-agent): route fleet label detection remotely\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/tools/custom/fleet_resource_context.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/fleet_resource_context.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e364df72407b759f26c2e01142092f51df2f7b97a516761af866897d1dda7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/severity/triage.go: pkg/apifrontend/severity/triage.go changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Triager.Triage at line 114), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): require explicit severity evidence\u201D; \u201Cfix(apifrontend): scope cluster attribution to fleet mode\u201D; \u201Cfix(fleet): enforce cluster attribution for triage\u201D; \u201Cfix(apifrontend): preserve provider failures in audit trail\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/severity/triage.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3013bf9cd406df6a9b1e093157b98809c02328cc56b0ad9532fb6924bfc33a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/parser/parser.go: internal/kubernautagent/parser/parser.go changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is ResultParser.parseFlatResult at line 114), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: close remaining issue 2586 review gaps\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernautagent): close recurrent RCA review gaps\u201D; \u201Cfix(classification): enforce SP-owned downstream values\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/parser/parser.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b243703003f175add3a77182aa2dc733d0ee1f2a9311832d0a6575602fa40fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/investigator/investigator_rca.go: internal/kubernautagent/investigator/investigator_rca.go changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is Investigator.runRCAWithMessages at line 54), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): preserve RCA retry protocol state (#2586)\u201D; \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix: address CodeRabbit audit and routing findings\u201D; \u201Cfix: fail closed on RCA parse failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/investigator/investigator_rca.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_rca.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ac605d2646888401e9e2825cfb6a34decd3135c687706e89d9d478cae277c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/remediationorchestrator/creator/approval.go: pkg/remediationorchestrator/creator/approval.go changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ApprovalCreator.recoverApprovalStatus at line 206), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix: close RAR approval safety races\u201D; \u201Cfix: address RAR safety review findings\u201D; \u201Cfix: harden RAR approval lifecycle\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/remediationorchestrator/creator/approval.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/approval.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac4d98c0ff47c64b3994dd2ce5fcfc06ff28050c405e3cbf30b1277c3b692ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/remediationorchestrator/analyzing_handler.go: internal/controller/remediationorchestrator/analyzing_handler.go changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is AnalyzingHandler.handleDirectExecution at line 235), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: address RAR safety review findings\u201D; \u201Cfix: harden RAR approval lifecycle\u201D; \u201Cfix: classify and redact tool-call audit events\u201D; \u201Cfix: align cooldown with execution cluster\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/remediationorchestrator/analyzing_handler.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b2548153c716563eba0c94396a01ea0c339d996f3a75e2d057208cddb77673"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/remediationorchestrator/terminal_transitions.go: internal/controller/remediationorchestrator/terminal_transitions.go changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is Reconciler.transitionToFailed at line 459), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: guard RAR cleanup against parent replacement\u201D; \u201Cfix: close RAR approval safety races\u201D; \u201Cfix: harden RAR approval lifecycle\u201D; \u201Cfix(remediationorchestrator): guard Advance-to-Executing against a missing WorkflowExecutionRef (BR-ORCH-031)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/remediationorchestrator/terminal_transitions.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/terminal_transitions.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0aacc20b186ca099b393eba8247c313885b151b62810fdec7f19ebc5992d92"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/kubernautagent/tools/k8s/resolver.go: pkg/kubernautagent/tools/k8s/resolver.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is dynamicResourceResolver.resolveMappings at line 215), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix(ka): close bounded Kubernetes output review findings\u201D; \u201Cfix(ka): close review findings for bounded contexts\u201D; \u201Cfix(k8s): bound bulk tool results at source\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/kubernautagent/tools/k8s/resolver.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a146f16aa99d507c4fb22c2cc545736f8f81fb8e8acf52909d9be5b5bf1b452"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/remediationorchestrator/reconcile_loop.go: internal/controller/remediationorchestrator/reconcile_loop.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Reconciler.Reconcile at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: guard RAR cleanup against parent replacement\u201D; \u201Cfix: close RAR approval safety races\u201D; \u201Cfix: address RAR safety review findings\u201D; \u201Cfix: harden RAR approval lifecycle\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/remediationorchestrator/reconcile_loop.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb05d73a0318f376b5a628e9fcc322617eef3841bc73b05319de5530620dd6ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/gateway/adapters/prometheus_adapter.go: pkg/gateway/adapters/prometheus_adapter.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is adapters.extractTargetResource at line 562), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(gateway): isolate local cluster attribution from Fleet\u201D; \u201Cfix(fleet): enforce cluster attribution for triage\u201D; \u201Cfix(gateway): fail closed on remote owner resolution\u201D; \u201Cfix(gateway): attribute signal cluster from per-alert labels when grouping strips it\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/gateway/adapters/prometheus_adapter.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/prometheus_adapter.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"019cdc4b805fef998cf41750eabde5558d2dd5b0b9c83138c4b2bb33070123d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/workflowexecution/workflowexecution_lifecycle.go: internal/controller/workflowexecution/workflowexecution_lifecycle.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is WorkflowExecutionReconciler.ReconcileTerminal at line 185), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(workflowexecution): synchronize retention configuration\u201D; \u201Cfix(workflowexecution): fail closed on foreign Job identity\u201D; \u201Cfix(workflowexecution): isolate jobs across remediation cycles\u201D; \u201Cfix(workflowexecution): scope cooldown by cluster\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/workflowexecution/workflowexecution_lifecycle.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_lifecycle.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f1007a6cf0fc08cef1f4bbbdd1a7eb481214f325ed4d32391fff352337a1ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/remediationorchestrator/routing/blocking.go: pkg/remediationorchestrator/routing/blocking.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is RoutingEngine.CheckPostAnalysisConditions at line 303), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: remove unused cooldown helper argument\u201D; \u201Cfix: align cooldown with execution cluster\u201D; \u201Cfix(fleet): scope remediation cooldown by cluster\u201D; \u201Cfix(ro): scope resource locks by target cluster\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/remediationorchestrator/routing/blocking.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/routing/blocking.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd9ca7da799e8ef34935548f34cb3aa7d79b5f2f32e11969f564b6b5b3224ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/shared/llm/openaicompat/client.go: pkg/shared/llm/openaicompat/client.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is openaicompat.buildRequestBody at line 187), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(llm): serialize empty tool results as strings\u201D; \u201Cfix(openaicompat): request streamed usage metadata\u201D; \u201Cfix(llm): wrap OpenAI JSON schema response format\u201D; \u201Cfix(llm): force presentation tool during AF recovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/shared/llm/openaicompat/client.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/llm/openaicompat/client.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8784f8ed6f754d7aa32ae75d52c2f24323b60c361e38114188579a839cab70cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/investigate_autonomous.go: internal/kubernautagent/mcp/tools/investigate_autonomous.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is InvestigateTool.handleStartAutonomous at line 77), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): prefer interactive RCA after user turn\u201D; \u201Cfix(kubernautagent): preserve signal context through sessions\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(kubernautagent): revise Gap 3 to start a real investigation instead of failing closed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/investigate_autonomous.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_autonomous.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0417b2e2045bea7e2c138b26f8c47442ee4f860db68f1e754a269a5dff0c1916"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/ka_interactive.go: pkg/apifrontend/tools/ka_interactive.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is tools.invokeInteractiveAction at line 40), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): take over autonomous sessions on reconnect\u201D; \u201Cfix(apifrontend): retain pooled events through A2A streams\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(apifrontend): tolerate ambient fleet tool fields\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/ka_interactive.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_interactive.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"274b340d5ef023540b190e371dc9ed18b9ec77def238636e5d832d36dea170f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/af_investigate_alert.go: pkg/apifrontend/tools/af_investigate_alert.go changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is tools.HandleInvestigateAlert at line 104), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fleet): enforce cluster attribution for triage\u201D; \u201Cfix(apifrontend): fail closed when scope checker is unavailable\u201D; \u201Cfix(apifrontend): refuse fleet-unattributed scope checks with cluster guidance\u201D; \u201Cfix(apifrontend): create IS CRD before RR to close #2265 dispatch race\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/af_investigate_alert.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/af_investigate_alert.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"87da6c331c15683a3ca8158d875fe908c68c32ef56418db176ee9179e534be04"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/severity/types.go: pkg/apifrontend/severity/types.go changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is severity.BuildTriagePrompt at line 151), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): require explicit severity evidence\u201D; \u201Cfix(apifrontend): scope cluster attribution to fleet mode\u201D; \u201Cfix(fleet): enforce cluster attribution for triage\u201D; \u201Cfix(apifrontend): scope fleet triage by cluster\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/severity/types.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/types.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ebf9d0d5bfcec974cd01178689c9152c0c3ac1922e36bedb3a44bc7030ea1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/fleet/fmc/config/config.go: pkg/fleet/fmc/config/config.go changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ServiceConfig.Validate at line 173), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tls): fail closed for service API listeners\u201D; \u201Cfix(fleet): honor namespace-level kubernaut.ai/managed label for remote resources\u201D; \u201Cfix(fleet): make FMC\u0027s mcpGateway.namespace mandatory, no unsafe default\u201D; \u201Cfix(fmc): replace hardcoded enableProfiling=true with cfg.Debug.PprofEnabled\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/fleet/fmc/config/config.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/fmc/config/config.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"48abb1bb9f496c74fce531ece0934a85296f9ccf81efd4cec53dcd6ac0bf56dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/workflowexecution/executor/client_factory.go: pkg/workflowexecution/executor/client_factory.go changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is mcpClientFactory.ClientFor at line 138), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(workflowexecution): honor catalog cluster IDs in standalone mode\u201D; \u201Cfix(workflowexecution): reconnect-and-retry mcpClientFactory\u0027s tool prefix discovery (#2346)\u201D; \u201Cfix(workflowexecution): wire reconnect into MCP client factory (issue #2317)\u201D; \u201Cfix(workflowexecution): self-heal MCP client factory, replace panic with typed error\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/workflowexecution/executor/client_factory.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/client_factory.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"db786b9e990dec460cd90a5e640325315784423088c05ed2ce5ef0b607aa1ef3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/remediationorchestrator/reconciler.go: internal/controller/remediationorchestrator/reconciler.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is controller.applyTimeoutDefaults at line 399), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(remediationorchestrator): grant workflow catalog reads\u201D; \u201Cfix: harden RAR approval lifecycle\u201D; \u201Cfix(remediationorchestrator): avoid duplicate WFE creation audits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/remediationorchestrator/reconciler.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconciler.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296b7e1cf15d5ddcad86c6fea0524ed017ecca49f478c36beb92cd054ee8e9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/config/aianalysis/config.go: internal/config/aianalysis/config.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Config.Validate at line 161), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(aianalysis): wire MaxConcurrentReconciles into production entry point (#2204)\u201D; \u201Cfix(aianalysis): deadline-driven backstop requeue, remove dead HTTP-poll config (#2204)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/config/aianalysis/config.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/aianalysis/config.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafe987fc373806cd65f0d99bff884a05adb4772b1146840513a08b70d27f19c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/parser/parser_format.go: internal/kubernautagent/parser/parser_format.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is parser.parseLLMFormat at line 121), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve RCA confidence through approval and audit\u201D; \u201Cfix(kubernautagent): close recurrent RCA review gaps\u201D; \u201Cfix(classification): enforce SP-owned downstream values\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/parser/parser_format.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_format.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23a579f5ddae3b04f28fd525c4bb977449e87d1cf0a74977e5ea3f8eecccc71"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/workflowexecution/workflowexecution_collision.go: internal/controller/workflowexecution/workflowexecution_collision.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is WorkflowExecutionReconciler.replaceFailedPipelineRun at line 166), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(workflowexecution): synchronize retention configuration\u201D; \u201Ctest(workflowexecution): fix CI identity fixtures and lint\u201D; \u201Cfix(workflowexecution): isolate jobs across remediation cycles\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/workflowexecution/workflowexecution_collision.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_collision.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4794d527a193ef13a109213b9f6ab0ec12077448768d26e54daf8f395abe321e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/config/config.go: pkg/apifrontend/config/config.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is Config.validateAgentBaseFields at line 436), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): consume runtime policy references\u201D; \u201Cfix(apifrontend): read console policy metadata from runtime config\u201D; \u201Cfix(chart,apifrontend): consolidate mcp.sessionIdleTimeout default to 30m, single source of truth (#2220)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/config/config.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/config.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65954c93418db88c105c648475e1354723ca1b8fe54912a1583dffa86acc1fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/fleet/mcpclient/writer.go: pkg/fleet/mcpclient/writer.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is WriterClient.remoteResourceExists at line 242), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fleet): avoid parsing MCP collision messages\u201D; \u201Cfix(fleet): classify remote immutable collisions\u201D; \u201Cfix(mcpclient): type remote NotFound errors in the shared client (#2349)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/fleet/mcpclient/writer.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/writer.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc40fdc6b5ab7e616115b1ebc1da159a3058dc149ffb32c50bb6b830888c75"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/launcher/part_converter.go: pkg/apifrontend/launcher/part_converter.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is launcher.buildStreamingPartConverter at line 282), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make interactive cluster attribution server-owned\u201D; \u201Cfix(apifrontend): require explicit severity evidence\u201D; \u201Cfix(apifrontend): suppress unknown tool placeholder\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/launcher/part_converter.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/part_converter.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b028412701b46460456a534cbf5fe198a2dcae07e5bae77815f8754c309f18f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/agent/root.go: pkg/apifrontend/agent/root.go changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is agent.correlateRRToSession at line 648), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): route pooled session events per subscriber\u201D; \u201Cfix(apifrontend): scope fleet triage by cluster\u201D; \u201Cfix(apifrontend): refuse fleet-unattributed scope checks with cluster guidance\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/agent/root.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/root.go"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3750e60e2dd3fd523bfc772da3c50dc9cf3fc12d09b428ca372eb1f8fab8758"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/complete_no_action.go: internal/kubernautagent/mcp/tools/complete_no_action.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is CompleteNoActionTool.Handle at line 249), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve structured fleet list output\u201D; \u201Cfix(kubernaut-agent): validate target GVK before workflow selection\u201D; \u201Cfix: wait for late AgentSession dispatch before escalation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/complete_no_action.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/complete_no_action.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee5ada52c6316ca37de32fc1ac5af3e833f43a779dc794cb50a720879247a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/remediationapprovalrequest/parameters.go: pkg/remediationapprovalrequest/parameters.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is remediationapprovalrequest.ValidateParameterOverrideWithWorkflow at line 73), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: guard validation schema capacity calculation\u201D; \u201Cfix: preserve managed approval dependencies\u201D; \u201Cfix: validate frozen approval parameters\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/remediationapprovalrequest/parameters.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/parameters.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4693622fefaf4d14c15d696caa8c17991d038c771d490fe493ae13908f09b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/shared/workflowidentity/verify.go: pkg/shared/workflowidentity/verify.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is workflowidentity.isTransient at line 176), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: bound workflow identity retries\u201D; \u201Cfix: requeue transient workflow catalog lookups\u201D; \u201Cfix: support legacy workflow catalog CRDs\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/shared/workflowidentity/verify.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/workflowidentity/verify.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5be7bdee8e8cec3fb014a2a09ca46f2624fa0e7dfb4f02b25d3d9cb04a73c28"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/policyread/service.go: pkg/apifrontend/policyread/service.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Service.readInventoryPage at line 221), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make scope checks canonical\u201D; \u201Cfix(apifrontend): close console policy read review gaps\u201D; \u201Cfix(apifrontend): read console policy metadata from runtime config\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/policyread/service.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/service.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"277cc876056f915dd9d6ba5af1353f978b116b709cf6fdde1eddccb1694369b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/investigate.go: internal/kubernautagent/mcp/tools/investigate.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is InvestigateTool.dispatch at line 494), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: wait for late AgentSession dispatch before escalation\u201D; \u201Cfix(kubernautagent): prefer interactive RCA after user turn\u201D; \u201Cfix(kubernautagent): close AgentSession dispatch-registration race in action=start (#1818)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/investigate.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a401a9db212ed7caa0e8df7163ac86cfec3f810e1060aa6e82bd8f30985edf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/shared/tls/tls.go: pkg/shared/tls/tls.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is tls.StartCAFileWatcher at line 193), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tls): address review findings for ambient CA trust\u201D; \u201Cfix(tls): remove writable ambient CA bundle requirement\u201D; \u201Cfix(tls): fail closed for service API listeners\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/shared/tls/tls.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/tls/tls.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fabe3c7c1116fc3504b1f8628060016c78ebbc235d2fb1a975fb838e73e613"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/kubernautagent/agentsession_wiring.go: cmd/kubernautagent/agentsession_wiring.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is main.startAgentSessionDispatcher at line 158), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): harden epoch lease recovery\u201D; \u201Cfix(kubernautagent): recover AgentSessions after restart\u201D; \u201Cfix(ka): register InvestigationSession in AgentSession dispatcher\u0027s scheme\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/kubernautagent/agentsession_wiring.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/agentsession_wiring.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee961aa688b8a63c7aea3a3aae7e10aa96a6a98589a79a99d2fc58f47cd7626"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/tools/custom/resource_context.go: internal/kubernautagent/tools/custom/resource_context.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is custom.fetchRemediationHistory at line 133), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernaut-agent): route fleet label detection remotely\u201D; \u201Cfix(kubernautagent): make enrichment pre-fetch fleet-aware (#2343)\u201D; \u201Cfix(kubernautagent): resolve resourceContextTools against the fleet-target cluster\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/tools/custom/resource_context.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/resource_context.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d96fc3c697cbfae55f199d2651c250c4f4fbdba32c86306a5a0e89360ba93"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/apifrontend/mcp_a2a_handlers.go: cmd/apifrontend/mcp_a2a_handlers.go changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is main.buildA2AHandler at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): recover missing decision presentation\u201D; \u201Cfix(apifrontend): thread ClusterLister through the MCP bridge investigate path\u201D; \u201Cfix(chart,apifrontend): consolidate mcp.sessionIdleTimeout default to 30m, single source of truth (#2220)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/apifrontend/mcp_a2a_handlers.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/mcp_a2a_handlers.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91def6689caefcc4fe9698035d7a3c3623c816a77fafb20eef8eb8090c8d802"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/fleet/registry/kuadrant_registry.go: pkg/fleet/registry/kuadrant_registry.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is KuadrantRegistry.onUpdate at line 212), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: watch Kuadrant MCP registrations v1\u201D; \u201Cfix(fleet): recover registry readiness after watch failures\u201D; \u201Cfix(fleet): seed cluster registry synchronously from indexer on Start()\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/fleet/registry/kuadrant_registry.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/registry/kuadrant_registry.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd7aab814c14d484ca35213d3ade612f7f19150041cf5980f17d21946bc8673"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/kubernautagent/datastorage.go: cmd/kubernautagent/datastorage.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is main.buildAuditStore at line 223), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): make Kubernetes Secret sanitization context-aware\u201D; \u201Cfix(kubernaut-agent): route fleet label detection remotely\u201D; \u201Cfix(kubernautagent): make enrichment pre-fetch fleet-aware (#2343)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- cmd/kubernautagent/datastorage.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/kubernautagent/datastorage.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"30979af41d71e657c639037bc97d65a59fe75598f59f26c1ab2eb4a2e0eea250"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/tools/investigate_takeover.go: internal/kubernautagent/mcp/tools/investigate_takeover.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is InvestigateTool.handleMessage at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): prefer interactive RCA after user turn\u201D; \u201Cfix(kubernautagent): preserve signal context through sessions\u201D; \u201Cfix(kubernautagent): prescope fleet overlay during discovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/tools/investigate_takeover.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_takeover.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"64942ad12f93c93457b42d26350419b7ee36a71539642ac240c0e9522afd6a43"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/kubernautagent/mcp/reconstruct.go: internal/kubernautagent/mcp/reconstruct.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ReconstructionSpawner.SpawnReconstruct at line 87), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kubernautagent): preserve signal context through sessions\u201D; \u201Cfix(interactive): preserve fleet context across session flows\u201D; \u201Cfix(kubernautagent): prescope fleet overlay during discovery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/kubernautagent/mcp/reconstruct.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/reconstruct.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ac4def329e98db2da4a99a7f6786aa5dc8d2ad9fc1ae8c3c3972f75e14cb92"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/apifrontend/tools/scope_helpers.go: pkg/apifrontend/tools/scope_helpers.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is tools.checkRRScope at line 73), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): fail closed when scope checker is unavailable\u201D; \u201Cfix(apifrontend): log unaudited scope refusals at error level\u201D; \u201Cfix(apifrontend): refuse fleet-unattributed scope checks with cluster guidance\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- pkg/apifrontend/tools/scope_helpers.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/scope_helpers.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a7412123507c24ef29930bc4ad32323d3e703736594f4349defa3856e27779"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/controller/apifrontend/agentsession_close.go: internal/controller/apifrontend/agentsession_close.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is AgentSessionTerminalCloseReconciler.Reconcile at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(apifrontend): replace raw AgentSession delete-watch with finalizer\u201D; \u201Cfix(apifrontend): move session-manager CacheSyncTimeout to manager level\u201D; \u201Cfix(apifrontend): raise AgentSession watch cache-sync timeout to 5m\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:09:09 -05:00\u0027 --until=\u00272026-11-15 17:09:09 -05:00\u0027 --full-history --no-merges -- internal/controller/apifrontend/agentsession_close.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/apifrontend/agentsession_close.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"420ffe87d925b4e159b2f9db61712c940e63072d2345145048ef8b9bc16a4cde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add sort_order parameter to DataStorage API for more efficient queries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/signalprocessing/audit_integration_test.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"52877b5672bf5c188dd59e4bda5a5e173f6fbcda5849ae75f293732fa112cf08"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // BR-RO-XXX: RecentlyRemediated blocking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/remediationorchestrator/routing_integration_test.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0548780843c25916415d840d0211df5ab8bc2ba24ed75b82d031ce8f04d6fe6a"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // BR-GATEWAY-XXX: DuplicateInProgress blocking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/remediationorchestrator/routing_integration_test.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1937436d9458c5f0a25c972d7cbc85afb96d21e526ba21efbc91d900595d176c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Phase 2 (TODO - TDD GREEN): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/gateway/29_k8s_api_failure_integration_test.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b064ee1cb79c67d3a7fb19b86521aa8e3254002a5ce9295c2cdf91f17b955c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Phase 3 (TODO - TDD REFACTOR): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/gateway/29_k8s_api_failure_integration_test.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbff5f61142eb66ed88a3b2c6abf38392666203ad5242e1600ff827938b881"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This test requires investigation of Gateway\u0027s deduplication behavior in integration tier \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/gateway/34_status_deduplication_integration_test.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7788eb50048ba1e2b45b55c75d7b4b0e8b840ab0bcc3a07228a85ede7d5d55a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When metrics implemented, verify: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/datastorage/dlq_near_capacity_warning_test.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9011698465d4c7906962fdf53d0036f81bb3bf8b3982d85a9f2614045d6e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When logging/metrics implemented, verify: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/datastorage/dlq_near_capacity_warning_test.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe9f1dc4bb5e22cca8163447beec29baf86e6a5efa3c96a7b3a57d7a1166214"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When logging/metrics implemented, verify: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/datastorage/dlq_near_capacity_warning_test.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"665f5a0a0fd665fc6f07ce5d2f22e0bcd7b0b48b5f61e5bcd3a6437edf9e1d95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When logging/metrics implemented, verify: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/datastorage/dlq_near_capacity_warning_test.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a01d52fbdc9357dc5dd010a1d2e5394584b3273f103a377ebf67c4385e0bfac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement parser for orchestrator.lifecycle.failed events to extract error_details \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/datastorage/full_reconstruction_integration_test.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c69058708a73f83825d0b3f64134931618bc4e62d45921a19b79ff7b44c354e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO: migrate to admission.WithValidator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/authwebhook/suite_test.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8e973ba591c586ecff48cd77e1c9937efe771cc584086a05d98b157acc5683"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once InvestigationData field is added to status, populate it here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/aianalysis/audit_flow_integration_test.go"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"b679d8ef0469b870a171b958fec0dd8e0517bb2c6538f454876e409c16abd751"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable after switching to upstream Go builder (Solution B) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/infrastructure/workflowexecution_e2e_hybrid.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140d9ad4e062319797a6506a7e4b14a549c5ccd414ac4ebc39f0d78c45a7325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // See test/e2e/remediationorchestrator/suite_test.go lines 142-147 for TODO. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/remediationorchestrator/notification_cascade_e2e_test.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a4420aa2b71b8a3200a886f4ff7bc3b9f5d8fd87bb05870a3680b47dd0da53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // See test/e2e/remediationorchestrator/suite_test.go lines 142-147 for TODO. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/remediationorchestrator/routing_cooldown_e2e_test.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ffa70ddb3e2a1e499e0788360ab6143ebb422ee88ec1cab38bb9bab4766b68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix podman \u0060kind get clusters\u0060 hang for automated cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/notification/notification_e2e_suite_test.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f9ead2c36a9a1f02edeb8d770638f42dd2567749451bd3cfe2c66fa8d50031"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // EnrichmentResults: TODO - complex raw-JSON construction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/kubernautagent/incident_analysis_test.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dd6696a8abfce8748a5a9f8fdcfe57885ddb69b9f528fc75b92989df809553"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (GW Team): Use for K8s operations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/24_audit_signal_data_test.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"622ec5b20809348319a7ebf3a3aee4b67f482c12dbb6c2987018b52e595d6d3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // v1.1 TODO: After DD-015, verify TWO CRDs exist with different timestamps"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/36_deduplication_state_test.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee59315f5323361d20548810366158b8bebea1c2e0b5a3d6f455083fded95f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (GW Team): Properly refactor tests to use E2E patterns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/deduplication_helpers.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bfb8eb894564ac621831de12ee50ebc8c45ad31cd5b3154a56e4e1a0b0f55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (GW Team): These are temporary stubs to make tests compile. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/deduplication_helpers.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"138e437af48c1b4924d9ceb93798084ca1800f0b50f5e7c9cb3d9ad9157d88c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (GW Team): Replace calls with direct HTTP requests to gatewayURL \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/deduplication_helpers.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2787a61e7409b01675fff4b0f9e5dc3937f387c1768112ae3a1079247272bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (GW Team): Additional stubs for compilation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/gateway/deduplication_helpers.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc82b086d5e5c570b5eebe706cdb49fee2d27d9c9ca9e6bc3139608440a770"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(E2E): \t\t\tExpect(dbRecord.Recipient).To(Equal(validAudit.Recipient)) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/datastorage/15_http_api_test.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"023090034102475baf89cb473153c73e5fd6465268065fce7f49030eaacb0e03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Migrate existing interfaces here (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/interfaces.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"187b822a85c36be606f0224ac38d2d08ed2267527c000d5707e04984b91ffea6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move existing implementations to implement this interface (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/interfaces.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbc49ee74113fcfedc7d5817204b806ec1a9b7385ea9c14763799666c388e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move existing implementations to implement this interface (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/interfaces.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"21615f5cb9a35e7fa3c5b323f082c974bf7f4e3c4338c1a4fb8c8691c3c76044"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move existing implementations to implement this interface (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/interfaces.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7201debe992c48acaa9ddbc2445cfafa35c48b8e77a895a6c225270806390e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Complete phase manager implementation (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0fd4edad2e9bc1260fdeb22c2162e4748dbf0ef7b4859a741ce6bafefce54f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Complete implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f7ac89714e005591ff44f58262b30f3fcea7e226e551cb8fe99297b83f5e55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement atomic status update with phase transition \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a49fd9f3690c50e0a7d72507748a16a06af45679650e2470fb59b15634bce4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Record phase transition audit event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c984e85a3559e5accb80dfa8c8bfca3673b6415c56b8d9ba8e91279910180c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update conditions with reason and message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/phase/manager.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"61581deea4ef3216ad783fab930a1c66efdc4167b69c524e6c946c9bd99395ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Complete controller decomposition (Phase 2 refactoring) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/handler/enriching.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a7e5726eb7eacef7800ab32458197836558af3746c21eb51126d07f68a624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement EnrichingHandler \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/handler/enriching.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06711db16f4e5bcb89a32fb3fab9d4802d8572809f4887e4ec006f8c903964e1"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: //   - BR-STORAGE-XXX: Log sanitization (pending implementation) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/sanitization/doc.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31c4852d89a42ab57cdc10b030d202633e58af264296ac9038a142db2f91d90"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // - BR-GATEWAY-XXX: K8s API protection (single-resource for Gateway) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/circuitbreaker/manager.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc30b369ee11d63551e11efc78b81240dc074b6cc797625628154be1b3283625"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // Satisfies BR-ORCH-XXX: CRD Lifecycle Management \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/status/manager.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"79de1bd03352d81c581ef6949c159a496443a0c26060ea73b394e9a51ae7697c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(v2): Deprecate RemediationID field (use RemediationRequestRef.Name instead) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/aianalysis.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"949b236a3ba3f3cc6fba80b0222bcca9ac0d0b3e655a435ccc868c7286adc77c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Detail extraction needs to be enhanced for real ogen types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ogenx/error_test.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf3f20cdff2bdc5483a978e23464a64f3fb18c8918c49dbb57713c86b504038"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Detail extraction needs enhancement - for now we get response type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ogenx/error_test.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f889fb663aba2d781fb139afc7e06f12f15de5e4af0ded0d65284c1ba1f4b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO: migrate to admission.Validator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/notificationrequest_validator.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d84a4bffdceed1bd25959edd305fd1e9e81985c6e0ca9b31d27ef6bfaaf487"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert envelope to proper ogen union type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/helpers.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"038d473ddaf3ae318ccfe732cf91dc0425cf8336734d1a221c8f421663316e40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(v1.6): RemediationRef is a forward-compatibility placeholder. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/decorator.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474a78ecea438a5afff0885b18870f94ebe04713e9886f8d5f1ee915157902d"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // Satisfies BR-AI-XXX: CRD Lifecycle Management \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/status/manager.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ad597d9f85cb7635cdcf2667eeeff38d85fc2a529e9abd9974a055424ab96e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract phase reconciliation methods from signalprocessing_controller.go \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/phase_handlers.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce027493ab04cf4e94c2de39ecff70a0a97fba7c00a8895a1bed53580571c95e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement service registry pattern (Pattern 6: Interface-Based Services) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/phase_handlers.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cf93eaee7200a8695c8f1e65e30a84586a240bd2662739f505ba87bfd7df43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // See: docs/architecture/decisions/DD-SP-003-multi-provider-extensibility.md (TODO: create when V2.0 begins)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/signalprocessing/signalprocessing_enriching.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2954e4383b67354c17e6b83afcccbcf8bf4350b017f5aeda088bcef09379fb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/001-crd-api-group-rationale.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca62848efaed68e191a14b50e316076b9d6f9b3502408875f2c0802614b381a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/002-e2e-gitops-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c693e420ce3cc114096d33a64bee2a12915012e9592d6ef8d7d29b69e38fd7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/003-gitops-priority-order.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e898301a5325b0d4ecf4cbc392de4d039313eedd152bdec16add83c72dab7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/004-metrics-authentication.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ab3436b9c7e77fa7743fd0622ea49076a6fcbf66121175bfd1d92b27ab6d26"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/005-owner-reference-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72780f5851ab75c503c17636b0117ebf83fa35cbd1bdd2370436e0ae01aa2832"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/006-effectiveness-monitor-v1-inclusion.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c21c9ea52063df0e079be7248cd53a58f6ea554515a49102d5d7846c8550586"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/007-gateway-br-legacy-mapping.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e727f2a377b6d5dbebfa9f8f406333947d4213f55c5d19d05eb6778b86626"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/008-gateway-br-standardization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7967cd8d6b24c00062757c48c6b520379165a4f965b949fc1e7734956cf8f385"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/011-remediationprocessor-br-migration.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/011-remediationprocessor-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac586d250f35f1398abde2dd1a2bfee54599ebd27fb6032fa22942eaec62cc1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/011-remediationprocessor-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298809d16e68508d9f0b6c73ca9fe3fd0f01f3445ce7cd3e9b169d86d11e75dc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/011-remediationprocessor-br-migration.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/011-remediationprocessor-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc8d3f1dee68c8cd6b7e68aa9bdf774c91089f8d159bcd6b26288a7cef8203a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/012-kubernetesexecutor-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a258007f71d56865131ff1cbe66f733ebd160487e0fdc2677deefa15e79ca7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/013-remediationorchestrator-br-migration.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/013-remediationorchestrator-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d02516241561a92fa19fdf766975111f96481d428a79391bb90bad9414ed27"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/013-remediationorchestrator-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"413859831cc0edf3443bb05455038ce487956446eca659145438d03bffbda11a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/013-remediationorchestrator-br-migration.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/013-remediationorchestrator-br-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9417792182863361a0201909ad623dda8aa30de172a374024e499252bc7855"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-001-crd-microservices-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05ab32365da4e29f3fea347faa13bcf7091779481c05b3193d8470eb9944756"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-002-native-kubernetes-jobs.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3054f4dc0e9970de6009d383a48444e3f831a62102889b45f5c519c389fc69"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-003-KIND-INTEGRATION-ENVIRONMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b82c28bea148e41f3f6b88e08a6bf8d84e54ec73e55a824d98456d4532087e5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-004-fake-kubernetes-client.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2a1dd99f699133d865ca9f2d5f6c3c8524229dc4c49e2a1aa109f17e7a006b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-005-integration-test-coverage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08d1b4dca13843ed134026bffe6a50ac8568d41e765fe88fb7d1619dfbccb5c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-014-notification-service-external-auth.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5086820b84ede6d4d14aecb2918935dc3ababa40aae3cfcbaefa09054800b3b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-015-alert-to-signal-naming-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff853fdbda9980cf2a19165516bca581953c97ecd18650ee8efc70f32d1fcbf2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-016-validation-responsibility-chain.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8aec4e407f149f733ecc516571af78384a646327ac77d7897c56a701bacd42"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-017-notification-crd-creator.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fde42c47299e77c3cc8ffe40e3c2c5d97c5c141071d7af5bb048c1ef1ffa3c1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-018-approval-notification-v1-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55b3d38b0ebab5370327b31a4b28e86c517fd9459d8ab9f597a97794733dba4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-019-aianalysis-error-classification-retry-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a755228c5dfc13d0585338691964787b61a605ea17da62ec29dc55e677d63602"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-020-workflow-parallel-execution-limits.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328791ecfc54f04d405ed135bb55c124d5676a113cbb8902ae86efadfd49ea0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-021-AI-DRIVEN-CYCLE-CORRECTION-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf29b109da03c62581ad923d2c42e2dac10788b3dabf7a558456cd06ed77f80"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-021-workflow-dependency-cycle-detection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adafdd999d6a574dfd816fb5b455874dd93d5e2bc6adbae720751059c3461dd1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-023-tekton-from-v1.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91f3be128a0110bfb36c78da6e38f10b0286f18004504c5789fae914033bc4f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-024-eliminate-actionexecution-layer.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f2abfc73e340f74c901317462372c5cccf7dec2edf224c189f2371865bb92"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-025-kubernetesexecutor-service-elimination.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89bd0b8632ba7f85c13eae279a808f0d19c069509797c0f260a07dc6c1e80ef"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-026-forced-recommendation-manual-override.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26590d82226ade690167cf0e30d6f3a39fab018866870b5be4ef2ffbe3f5ea1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-027-multi-architecture-build-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b80f7a4d87f6db797c560cb691a70817f6d5756d73d1b2b093d2c0a9b6a484c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Consequences section: docs/architecture/decisions/ADR-028-EXCEPTION-001-upstream-go-arm64.md has no Context and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-028-EXCEPTION-001-upstream-go-arm64.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaad9c2da7633a9a0fc85c04aa7ab5f5273c6645b08e0b9657b1b140ca87fd6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-028-EXCEPTION-001-upstream-go-arm64.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243ed9ebe9896e077ecf8197dba9ee162d7af6518537005d5ffca6a4afa16e1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-028-container-registry-policy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dac1bf2e96e52edb11411d83d04d2a3f1f0582130b84dbcd28764f7ac65436"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-030-service-configuration-management.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b571fce3a7f4289417e2ad244c8d1e7e920a7ec6a63a2ad9cf690d15350a98"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-031-openapi-specification-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d8bc6496104b572558715f6382d0be9eab9a1747ec449030ad7a1c68d4f05e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-032-data-access-layer-isolation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f38fe41a71a40a73d172c7caa4c632ec4234cdd67e06cb3660daaedd7a787d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-033-remediation-playbook-catalog.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fda11f151217f7d231b909e5352ffc221ffd0be44378c52bc9873e2fb46bdec"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-034-unified-audit-table-design.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"660f602afbffab3266bdda7c98188e5dca3417b2902b32ac20616faf2e228912"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-035-remediation-execution-engine.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b037803a10f7af84565eaffd86cf465b96b85aa92a779eea0690386f54624e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-036-authentication-authorization-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa5b26dcad23ba0128fd776bb21c3fedd05dc3ff2764a12cfaed2bec479eac"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/ADR-036-authentication-authorization-strategy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-036-authentication-authorization-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee2f791d4f5fadfab9e43fa03311e0ce9377ef9135d75767b637aca8027bf66"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-038-async-buffered-audit-ingestion.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"440da95bc5ef37b647a7c2934acd8cbf869c13ce1198b9ea567a8a4ce70bc26d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-039-complex-decision-documentation-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db503a0304bac91dc3a902089290f2e09606e5f4f1c524efc7d5ae6afefcfcfa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-040-remediation-approval-request-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec2b82c63453015f907ab22e40e0140d3444179a4b88ef130f7bfde7dcf372"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/ADR-040-remediation-approval-request-architecture.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-040-remediation-approval-request-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aac9bd54cceba10978d22410373d9e4e472943c2c9eddc0eb8e423b2bbe548"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-042-pre-implementation-design-decisions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e09ccb3b9842d57871790ce37646d9a6c830e4c32e7be705c2bf2076b196fe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-043-workflow-schema-definition-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9f67e5809776caf861e9bface14e33f32b5448ba11bd647c77c474b8af43b4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-044-workflow-execution-engine-delegation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1ba966ea5b2a03c3017d3e4d5f2e20823f7a7f917158dfc4047a9cd229e06c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-045-aianalysis-ka-service-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44208193eea0d3a33a313b762fd3bb8e16f3ce9e33cfe4adcb19f13531fe1d89"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-046-struct-validation-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd919600b2b05c1155a111a9b12bc79a1f896a6925cb18b1f0443558a9c35c20"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-047-policy-engine-selection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bad153baca465d0421bf3a58e8d7ac0f378b777b26cc11dff01ca5f1006dcf9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-048-ADDENDUM-001-chi-throttle-middleware.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf946781257dddfb404f19b06f80985c7a5b89a5e4705283810044aec136078"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-048-rate-limiting-proxy-delegation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2af90633010c48d76e6b6b0bfd9319c486cbb984fdeaad830390eeda8dc53"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/ADR-048-rate-limiting-proxy-delegation.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-048-rate-limiting-proxy-delegation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06deaa409b4cba309d9b9a5aa5cb152893a9d3d505dd9643b4e95ccce76d5170"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-049-remediationrequest-crd-ownership.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f25f5c357c891fc42a02e5e868d58651f4c84138bd2035af7ad7fe75c0253b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-050-configuration-validation-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e1c96f9405335ec2e8d4302937ef7ed2b26f0421006503c652c42a6c0eb916"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-053-resource-scope-management.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"494e0e9749bcc31145c64f2b8549519a885e9de80f3bdc9e3473378c2523de51"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-054-proactive-signal-mode-classification.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1add47712b759e1d561d892f513ae1d253e559829dc3d69ef60db72923e4bb07"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-055-ADDENDUM-001-remediation-target-rename.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5116c40df50b439b093518a20ffa3e08ffc86483e46bba17b5957810ab2d2076"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-055-llm-driven-context-enrichment.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ceb45e67177b31b89361faa238cb66a992a35252e72c04c6ad14e7ccad046"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-056-post-rca-label-computation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4dcdf1d0a7473fd23e5f9a7bbed1789244ad586e9e08497f8ed4210f77f58"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-057-crd-namespace-consolidation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a5daaee4ef61715d75f1119e182d614d982a7602d9d042a504eacab5c33d0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-058-webhook-driven-workflow-registration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b484ef8e6ebe8383a4aae62fa37b413e91d861a93b0bb58497ad23e08340dbb5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-059-actiontype-crd-lifecycle.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e321dac132aad2f66e7e55b7ce11eb80412b57cd084d895b53433266099058"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-060-unified-signalprocessing-rego-policy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954793be0b540e7982964dad0732099437a3ae8454b9ec593661b72a3da06cce"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-062-phase-handler-registry-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e7d6d173a8b0ac61ab411bc0d79ef626710d595f1d30583df19e40b0c5b4e0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-063-servicenow-signal-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22a465047de3b57062f3177d9c5ef6467909815a4c6212c79bef7c08f1e755b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-064-multi-cluster-mcp-gateway.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3aa1bc006e28e2ce7d4e603a53102e7bb9b4d3cc77529aebbdb1667205204"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-065-fleet-cluster-identity-on-rr.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac81390957281582c1156bb2e8a879e96f3b3cfaceefacb5c792f5ceeccfd6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-066-4-level-severity-model.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2111dc95faf13ace58b15ef715428ecb5215af59ed06ab03f32dc62e3ecc3969"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-067-ka-mcp-client-dynamic-tool-discovery.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5198e2c748634196f4c1c9746aef428b2d84b7b32646b695e48e3edd8b4e11"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-068-fleet-federation-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81706ca43037a29b3860a9024759d15f92fabb82f85f3eeb989cac5af4fc4d0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-069-gateway-ro-deduplication-communication.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da3893f116c469cda9b8cad61a52e800a009de0a2bf41214568085a3e25bf44"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-070-SERVICE-SPECIFIC-INTEGRATION-TEST-INFRASTRUCTURE.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5940488c362deb711960a7442f99a51f20e20da002d93ec58383498526a9890"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-072-parallel-workflow-validation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ba7de13d9b6be646b9534afaaeb69f0b69cd387ee71e2f85daeac1cfcd85b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-073-opentelemetry-distributed-tracing-adoption.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5299a5e50ea5ff4ec1210ed66f7784e1c34d1c37758d73428a10bdba1cfa493"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-074-rego-policy-data-fetching-separation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244e65aecc49be5889fa3279ab4e017439fbbe1a1df943e6ab7988fbd5a6e524"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-075-multi-pillar-data-contract-extensibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"024dca0013dd28d6dad3ef0b293640b310e85c23dad7f4f20c29acc938f5228e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-076-ADDENDUM-001-typed-workflow-parameter-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d488d05711d3e12392dcb7339b6598920f2659b50b9061df04fb059bfe9f991"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-076-rar-approval-snapshot-and-terminal-decision-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2232f6d9a0407635dd647d16a1372dabaee42cc79de33d34227263673200260b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/ADR-E2E-001-DEPLOYMENT-PATTERNS.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-E2E-001-DEPLOYMENT-PATTERNS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12105f1fd0ec52147283e57409020c3e7c666f4c531602f862d591ebd7847ec7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-EM-001-effectiveness-monitor-service-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d70c6daed41576f5415e1818359b9540428adb06dbc1548e4f8949357a8c59f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-KA-001-shadow-agent-alignment-check.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fac9269646958e23b6f5c52a5257408bd58a2927ddf66444e2a2b1173f50b5f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-KA-002-agent-security-defense-in-depth.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d9ab5b93a1c5b3d4405189468aa3288c3c5ac6c17df466d1da32cebe5eb81"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-RO-001-dry-run-mode-ea-policy-decoupling.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f05eaf102179ec3db2ca07004ef7bca2ff905862e707dcaa9ef9a2dc82cc02"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-TLS-001-openshift-tls-security-profiles.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15f74c97efa488aba1de0a3aeeb5f90437fa9afd1e188803dca68b77da358b5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-002-per-step-validation-framework.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c363913cba79727cf440021fd1a5703028154b2747063dfaf542f17480753e7d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-002-per-step-validation-framework.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-002-per-step-validation-framework.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4873979110e42152253ba768888e83b7cdcfc697ad66ade74a7e2d9b3e5550ec"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-003-forced-recommendation-manual-override.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca9ce4553212443b6913e870d305758521610be708c8676d4cecc0a641b7dcd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-003-forced-recommendation-manual-override.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-003-forced-recommendation-manual-override.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40a27827aabb9d2249b26eb3d20384161f4835a20b7d6e0d1e6fef400bbf0c5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-004-RFC7807-ERROR-RESPONSES.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a42775331eaab6e09277c51dec491e4868761efaafb228b3ca89381c10881c2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-005-OBSERVABILITY-STANDARDS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a867dd349f275d9ee50bbcf5826ce9de383cb1f93e92f2395b04def3358d82"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-006-controller-scaffolding-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"817fd93e23848e49c64cbea26cd82e254963322dfadb7c3bc3c7c37ea1942d1b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-007-graceful-shutdown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4871e56572fa6d06b21b7d114d9969a7b546b5f9bbbf005a7fe02b5c7269b8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-007-graceful-shutdown.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-007-graceful-shutdown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9633a08eeb0b7445f356e3fbb44246e8c6907adccb4bee4a01a47df24e07bffb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-007-kubernetes-aware-graceful-shutdown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbbdd03d146067ffea70562f2f9995e9f89ba1666356f143aaedd8a9975af31"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-007-kubernetes-aware-graceful-shutdown.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-007-kubernetes-aware-graceful-shutdown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa83700f880da950bd865aa933e16218c2d647a3b1a364fb299f1e2df2e192"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-008-dlq-drain-graceful-shutdown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2074b2233aef0edae226c3a6f49ac426fa16289eff9b5ec11efa1636e54dc017"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-008-integration-test-infrastructure-v2.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc8beae4f2deb6ee2c49eb7086001a598c77144cb747b51cfb5ab620a0af4e6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-008-integration-test-infrastructure-v2.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-008-integration-test-infrastructure-v2.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b60887ea5647517cad7b88fb77a8ed880949ffae52126195bd80755308635dc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-008-integration-test-infrastructure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e242413e57e992d3a20980c64fe16e272a978f4224913d9c9662ad7f52e5f4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-008-integration-test-infrastructure.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-008-integration-test-infrastructure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd87ae21142e34f652cff023ec04844bb479f3d2f686178e0a00c8ea05f1d60"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-009-audit-write-error-recovery.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a20c235c6f3a4ca96ec53115442e8cf72ed029e31ea5ef7394b4164c69eda51"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-010-postgresql-driver-migration.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-010-postgresql-driver-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8739d15e4a5ada20fb83a179fdd9f045431bfe464479981ec5b717497738756"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-010-postgresql-driver-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf9c3a86edec13abdfaef8806845cfa6fb81d4b1ba95da9517de74942584d09"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-011-postgresql-version-requirements.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01227d9bb28d537a4d7ddd3e20b14bf9bb433789b18e2fb43934acdba1e397f2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-012-goose-database-migration-management.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9098b831d4f210375ee0fe08936cb0d8529e0ba696dabd3118917cf548e8efd5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-013-kubernetes-client-initialization-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dc6eb85188e5c4e8aea5546a9ff0a1c1a3ae28cd27b7c5d076d7741707cd3a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-013-kubernetes-client-initialization-standard.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-013-kubernetes-client-initialization-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b79063d7a8dc126abc702ea3adb02f0e2fe873ab53b530b4f850be28f25f6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-014-binary-version-logging-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ec0ea6952a3f25d50d11eb680255ad90cf9a787cb7be16c84c593db936275f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-014-binary-version-logging-standard.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-014-binary-version-logging-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31187fc1b41f5718a64d5f8d8bea938c4a93bcf5a21d1ec23d44ef894a10675b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-015-timestamp-based-crd-naming.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70182c0bd47a5e9be1d9a5633500de4dda3f96b4be53fa66637475c52bf856fe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-015-timestamp-based-crd-naming.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-015-timestamp-based-crd-naming.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"886908cefb03692973c10725afc0a16a4c09113d744f3f6acd46d4a67fde9d6f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-016-dynamic-toolset-v2-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f13c8553d6af554d4d093a025fa4a5f3946f891816765dfa635dab2c140dc4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-016-dynamic-toolset-v2-deferral.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-016-dynamic-toolset-v2-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf67d5e06c9f23d2ea6401bbff0055f5ff673afd421a9f2def6d1367827a57f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-017-effectiveness-monitor-v1.1-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4549cf3ed179549dba361ad6e5a9d8640f9a3d88f9485e26c8f72e68a16a35d9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-017-k8s-enrichment-depth-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a92e91996c1b175ebeee1722f67de443535888209d5e82ab34bb6f4665c1df"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-018-helm-chart-single-install-per-cluster-guard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa67eb4c099c991fd22bb6848f82abaa55e1185768c446e5a572e83f2f287498"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-018-helm-chart-single-install-per-cluster-guard.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-018-helm-chart-single-install-per-cluster-guard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3fd8b9037d3817d83fda540d68889a9f57aef8d0e5ed7de1ea8173d65d116"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-2439-tool-call-delta-stream-propagation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedf2b4eb6a38e8f713532d9bff282ddb54fce2a7917320aed96bef7d73bb904"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AA-KA-001-agentsession-crd-http-removal.md"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ec38d4ed3dd5dff189fb54208f983bb199bdcec8160ef00f6a648f9a57fbe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AA-KA-002-agentsession-epoch-recovery.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3628f6f285ad740e9b2bda3ee26f2a661948231faa17b9aafc4dca6e9c3cfd17"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-ACTIONTYPE-001-crd-lifecycle-design.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3263d29883201b7b94556fc663a4f57d29663fe783c34567d5f03df2db03b63f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-001-pod-based-alert-correlation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c88f909b7819bdbc469bc9623aed011cfbfdec3a9b6da503def4b608a030271"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-002-a2a-v2-native-migration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab84e271259924ca486e159b25d29b9aeca7d28b9711930b8051cd5e15fd51bc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-003-alert-label-taxonomy-investigation-scoping.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ccc6f0f60f62cbf8fd08a24bbb18e1d5222ad3f5aa65c32dafb55d9194b02"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-004-investigation-tool-split.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdded332cc29e296638f1e5149a8f9337dcc7033978a48ea01e32e5273ef90e5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-005-alert-prioritization-algorithm.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd6a5ab583a3f8723db80f2d4eae106f12fc46a5234406c4d9847399fb61ed"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-006-approval-consent-guard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc21af95d0f702f7908065cdb12cee9f9c129bd0ae6d71b755342f3211b72cc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-007-escalation-routing.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1761a033844f1541af208d58a18a46c55402ae59389a8436f2c691e205965a6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-008-priority-event-channel.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04459595f5c48a702ef033ac581489198a425e687870b62da8493f1a63456fd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-008-status-subscribe-sse.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb727d3758ee0f252265530763db6cfc622412b65fbe427ebb31d67b3e11c9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-009-pooled-session-live-event-relay.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fc82302497a9ce0740495879bbbe0eb1ee0f5bbbabc9620446f57eab380545"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-010-remove-ungrounded-severity-inference.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"249320f0d7c0e58a9f5dcbdd11fa7b0af2a94804433bb3b48ae9f827ecee7948"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-011-phase-transition-consent-guard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fcb7b8760584d9d32e4bc7781c9bf5d6a78cfb0172ba0bf7fe4779a5eb37b7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-012-confidence-gated-severity-correlation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d15cfebb3ccd7331ad1e29db0a036af3f27f8ca2c7de2516669ae3f240522"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-013-tool-retry-circuit-breaker.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da270319ab90a60ae3ab99cd372b611acb8fc24d3caf94e481ec9ad2b1c87e1a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-014-business-outcome-completion-coordinator.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8bdb91ea43ab899ac17c8cf1f4d32fd81d0c74a77d3bcaab6deb394a13de22"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-015-session-scoped-event-router.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"569e1d16489d563798858ee746aafe6d097a1d40c008a4e61ebf779b46eac0eb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-016-explicit-alert-severity-source.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae80317016e857dbea9bc599e036ae8fef2d53a6560aafe3982bf33ba6b5d68"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-017-standalone-rar-parameter-override-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec1a41490f3177b39a63939b358175a5e478a7229e2cdec8be4c564fb119a3b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AF-018-console-policy-scope-read-projection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadb192ed7946a610ab2f3784787924d907eb512e9eb71efc644f4eb1111881"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-001-rego-policy-loading-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15875ec7dd7e05f1490a1b24981c165f436f702e5575935d43bf642fa1a504e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-AIANALYSIS-001-rego-policy-loading-strategy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-001-rego-policy-loading-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1451d98aee0c8b2b95e46a4f90674e7f1abaf859922b7cc825fbc5fa0f25a8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-001-spec-structure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185ac56bb336eef05ec8c6a7c1fbfeebc92e8879bb8c7d4e271b270b2238bf8f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-002-rego-policy-startup-validation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaba50f9dc33d1bba14622b3accdba52ebbe96d1827ac6865decf412fcbee65"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-AIANALYSIS-002-rego-policy-startup-validation.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-002-rego-policy-startup-validation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1674b2eb92c54b5e155b04929a96b618e0eef654b711d62ebd8e3788776ad38d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-003-completion-substates.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7b28832c2f6387c611967e8ec8add0ec96d21a147acc0efb859f3bc77c2958"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-004-storm-context-not-exposed.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab815d24b84bba2d553098d5567f5c9e9037b39ba8d9cf3f1250cfcb4c97baef"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-005-multiple-analysis-types-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a9f86b47832e3dd4a7f55af1771acfc09e50ac84c8794327bd7b4d1ae09b73"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-AIANALYSIS-2586-independent-confidence.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-2586-independent-confidence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a35ab74b985d034b388b8e0f9505ab35bc3f2203b8c3f6c6ca19c7268a95890"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-2586-independent-confidence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be764a995dcf311608ba3912665d756681a028bb2a2001021acbecaf96f68c14"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-AIANALYSIS-2586-independent-confidence.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AIANALYSIS-2586-independent-confidence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14579291291df6ab144ddab3c3b3d76b29092a62c5c30327cecd991c08489dd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-API-001-http-header-vs-json-body-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56510619489b0e51f681e74b0f22df5224be25df670a8ee4159b69bd3a5f28"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-API-001-openapi-client-mandatory-v1.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2fe25d40a7df730381c98787b0a45cbf2790dc69afd3ca763a1e2033a4bb62"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-API-001-openapi-client-mandatory-v1.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-API-001-openapi-client-mandatory-v1.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8f6710bb49b51a88251614741e1c1b9c61538152af29fcbe224887d6fdf7a6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-API-002-openapi-spec-loading-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b65b9d21794cb803225407a66c94ac678c5c6a3de94c94d81be0298fba9e669"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/architecture/decisions/DD-ARCH-002-GRAPHQL-QUERY-LAYER-ASSESSMENT.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-ARCH-002-GRAPHQL-QUERY-LAYER-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0dd3a0056a9ecf5575a054e52c56c8ccc72eac6c61f43cc216049194c46464"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-ARCH-002-GRAPHQL-QUERY-LAYER-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4cc4db150a488183841d2cdb0dbdf4f715c2ba6306246ec18d2320e931d6a7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-001-V1-V2-VERSIONING-STRATEGY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc672dbe4da127d6c4dcb5935daa2c9dd99af1f58cdb0b88534b045af5f1ec34"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-001-audit-responsibility-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1f10cdb480b450b2a062fc9de30bf1c4fd5e8acda1341642e60138ae4c801a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-002-audit-shared-library-design.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0102a15e4b3aa1ed5e4ffbd2cc18e639eae360a87ff38b03eef0fd00d6fd78"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-003-service-audit-trace-requirements.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5fa1a0e3244c072f1617913603efff01fcf445e3c26c59c8fe37a373c7dcc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-004-RR-RECONSTRUCTION-FIELD-MAPPING.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea0403c2557c555862eb923ebbebf43d976995a50b7362bb57cf69e695188fd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-004-buffer-sizing-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf745d11b1e6928c0dc6fb33b92c97b7b8631e47bd3e69b1be12e1ce0aac5e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-004-structured-types-for-audit-event-payloads.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc00eaa9b08bb00952c8ca463890f627eeed358ebd6bf8980908937e4cb663"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-005-hybrid-provider-data-capture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2232d37c08744b606f9a810f24f422781bd66ec5f0872087825cb02dead73b4d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-006-remediation-approval-audit-implementation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92bff0c4bac38f618e9335410019dce5be703ec223f7f275a8657aaed12f581"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-007-full-child-crd-reconstruction-future.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d5054fe5a68aea5b706d8177af2387048e029e2e07d00f33780d191a62c6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-008-audit-event-builder-registry-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b7c7b4d2bc209954497da1e763ba25934681e70df4089537402683a2f5785"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-009-workflow-discovery-event-specific-payloads.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4965295d8b38cc54fa41cd160617f28cf52d4bec02ee8bbdd35f1c52cef6eafd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-AUDIT-010-idempotent-workflow-execution-audit-contract.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-010-idempotent-workflow-execution-audit-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999352ffb422fa3dd732c3f0c9146bdfc8f3b5e54c7d1d31491339ddd6aba308"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-010-idempotent-workflow-execution-audit-contract.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf020d1ff4bfa5b39b7a82414e7bf0211fa561612130766b1581801f957a40e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-CORRELATION-001-workflowexecution-correlation-id.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd5fdf1c24bdff5ac5997d048bd31de64503503ae981c331c81f06a361656fa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Consequences section: docs/architecture/decisions/DD-AUDIT-CORRELATION-002-universal-correlation-id-standard.md has no Context and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-CORRELATION-002-universal-correlation-id-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bde1a033a8a7cf520d2523053563f64f35747725820b7173c97f92360e19454"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUDIT-CORRELATION-002-universal-correlation-id-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6cd6da8246892de4cad0a7fbdd8814fc8e460beaba2d531707337c6b2da68f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-001-shared-authentication-webhook.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ee10cb2385dce5f12b96ca28b4fe09a73eb8c6b8702fcc894591c5cae2c6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-003-externalized-authorization-sidecar.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ea45740c9e5d9becf4be1094aa68f6125285997d09a6c8b371522025588145"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-004-openshift-oauth-proxy-legal-hold.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0275117f9401eaba2b1e18c64eaf99dbc484b430df79050745cc58dc15627d5e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-005-datastorage-client-authentication-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23598ae17033cc21a5151e570b4d5c8c197636837de224617f50771533f9794f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-008-secret-management-kustomize-helm.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4721315ed9ca8be46db615fbebf78f6ff6116751baa82997c6b419da13ba0ba"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/DD-AUTH-009-oauth2-proxy-workflow-attribution-implementation.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-009-oauth2-proxy-workflow-attribution-implementation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"065682a8892cfc95352d844b1beeb44b4de149f37ea9750e0856a7cc5dd20809"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-009-oauth2-proxy-workflow-attribution-implementation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeaec873998c139302fe28709342a13a20b7798d351e520f96f1354f23e589c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-010-e2e-real-authentication-mandate.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff3e964eae2c31c34c67764319f4344324e7a56c215a23ab44acab069d76050"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/architecture/decisions/DD-AUTH-012/DD-AUTH-012-ose-oauth-proxy-sar-rest-api-endpoints.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-012/DD-AUTH-012-ose-oauth-proxy-sar-rest-api-endpoints.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce6f5e1fee4f7b226e4292a4fdff2b0ed3755e3456424c9fa6521043247c9dd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-014-middleware-based-sar-authentication.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dd45872f7e6450ec8c201263932a3dbc96065d4970453c593abd774b21997c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-015-outbound-llm-authentication-transport.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53c9fd16c2e0a800016c8a94134a67259aa353fa57de580f9a97b500ae2c786"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-016-signed-user-identity-delegation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40093c24812606a8406b9a0ca7f229e45e62f6866bf5fdbd2592d4661bbc4531"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-MCP-001-mcp-endpoint-security.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8a416d4f36bbceeeefff519e0992e23555acf14f694692082a0987bc14790"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-BUILD-001-go-mod-download-elimination.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd2b6a7ec9bbc2ae9aa2ef19c5101c674fca7725254d952c6f0208bf58d19c5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CACHE-001-shared-redis-library.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe2543668678a5370cc1f131d0bdf2e27b7dbb82d80c2c8d1a8a3bd358205b8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CATEGORIZATION-001-gateway-signal-processing-split-assessment.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7126370e0f331802195170bf510f1c49243ee9dcd6412c1e4faa1ff5258f1f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CICD-001-optimized-parallel-test-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6fb834b67976d52308f4cc7858bbd1246bcc2449526a223191ae624b18770e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONSOLE-001-intent-driven-navigation-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a3813337f04927c9b111b74a5ac468db14c19a2c0e03daf8a242ebf44c3dd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTEXT-006-CONTEXT-API-DEPRECATION.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22101c9d54fbd28f1ce0fc25a67f480fecd24f3971ac408510ad676162fa99e6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-001-aianalysis-workflowexecution-alignment.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e99a45549aa41a9e69e247704e707462dc68ca42b734349460f5aff76290d44"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-002-service-integration-contracts.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91da1b1072d81ef71040936b9fb7cf85a99634f5a7ed4ef3977c9c6e604101c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-003-pillar-extension-envelope.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f9e2b4da5936c06c07c3d5c010c5582e5ce04c0288d96a229a9c8129f5ee85"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-004-provider-data-compatibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b57cc2c6df9f0c3273d920470189cd9e9a498045d55fcdbcc73317ecc6ee7bf"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-005-multi-pillar-propagation-boundaries.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0454142443ea71dc3dfe90c87a0f1a4fc3bd30855c45d09b2ddea72ca551745"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTRACT-006-pillar-safety-audit-governance.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7f6c472532fa868211cdaa6c13bfac375ec9a24bb01b0b78a534ca27e5f139"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CONTROLLER-001-observed-generation-idempotency-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8381150467d2d5a709c57892e3347ca556216c6e7ff21e2c5451c294dbb0457"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-001-api-group-domain-selection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996e429e13e4fdf5aea8019b7419f64206e21df396bb3c5b8c3806ea619d5e4d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-002-effectivenessassessment-conditions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c794875b5503f223fd9f79595a06ae618033a01ace6dc7cbace382e8900f3b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-002-kubernetes-conditions-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef620db39e10bcc679ea77f28bbb3ee40a858081700f758ce4b76f057c2619ee"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-002-remediationapprovalrequest-conditions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeb5657618d1a9342bfb3f604045071e6f13db7142cce183a0d6f2f1a0cc45d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-002-remediationrequest-conditions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad49ab135ff07798f5cbba61a510e95688d17576c54861a0f03bbd853ead002e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-003-printer-column-standards.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232d99d52924531152b9fd4beff20da77c1c0559f535597dde26f1567128f01"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-DATA-STORAGE-AUDIT-TRAIL-DEFERRAL-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9233dcd80a1438959c4a06b4ee0f8bdeb3ba1bdbbb0a1b5a70ad3918aee7bef"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-DATA-STORAGE-AUDIT-TRAIL-DEFERRAL-ASSESSMENT.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-DATA-STORAGE-AUDIT-TRAIL-DEFERRAL-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c6bf08d2a555e880175017cd278286dc2fad3210b2f45c23cbd43e85e93bd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision section: docs/architecture/decisions/DD-E2E-001-parallel-image-builds.md has no Decision section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-E2E-001-parallel-image-builds.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6f2e886ca786524553547580c524944dff3617516166feecb1ed45b7281f49"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-E2E-001-parallel-image-builds.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a55b4b6c37a05e81387ebb1891a64df1c8ec9786548b8d57b1335f4a5ee91d0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-EFFECTIVENESS-001-Hybrid-Automated-AI-Analysis.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EFFECTIVENESS-001-Hybrid-Automated-AI-Analysis.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09db8ca90212f2555a8e9851c08f2bb77d0292dd90a839a906f674aa2091c8dc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EFFECTIVENESS-001-Hybrid-Automated-AI-Analysis.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af23a790f06816ec6428745d3840891179e43c87080773a29d10cb99395464a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EFFECTIVENESS-002-Restart-Recovery-Idempotency.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88d93a83f42e89ba60730cac7658bd07d133b82c9eea58aeacb73ed7fd8798c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EFFECTIVENESS-003-RemediationRequest-Watch-Strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2321dcc973a33a4b2f870ef06c4e4987ab163e4ecf5a25f3753b5d9b1fa85"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EM-002-canonical-spec-hash.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e82892707910baf8edeffa92b77026fa8c1a51e8f16577ff05ba8ecf440389"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EM-003-dual-target-assessment.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a5e48dc0f739176162609ce1d9b26cf4bc90f0b403a55c9b985b0d23164d0c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EM-004-async-hash-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71abd31e2d98087ac982ed6a236b7bcc6c5de16cc2f37cba35d48eda54771fc5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EM-005-cluster-scoped-metrics-alert-assessment.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90214bcf60cd61a38720213b10aedfbbcac7a60c4da909809ccef8dacf5065ca"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EMBEDDING-001-embedding-service-implementation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf4c1ee26fa5fa2ba3fa20e93e39f64a28b87ebd4b155f5fdd534940fd9f414"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EMBEDDING-002-internal-service-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0895c380567a56228cadc6a448c320c4d159f9b055b76ebb9340f90e71ce24fc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-ERROR-001-error-details-standardization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b06f3fbadb235a96b56494be1ebd2e68e512475013d5f6de80d6056b1bbaf1a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EVENT-001-controller-event-registry.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224881990bba0ab41762fe983ee94df2d81c03bffd8f4c01b5cc10660ecea23b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-001-fleet-scope-and-owner-chain.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac729eef14728dfc1060fb74a44018fe6d91ce9e4bbf933f3e5e4d3b6522116"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-002-cluster-scoped-workflow-targeting.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3272383a8786de3557ef5f97be2c1973855f016f36e8ab7b59883d24155b85"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-FLEET-002-cluster-scoped-workflow-targeting.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-002-cluster-scoped-workflow-targeting.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44834add8bb237c7edcb6a42def0e729615187a57890559505812229dffb37fa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-003-full-federation-validation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba684d466d6ea133f0518423ff7bc8b7014b15945560695f914795443d5dcc8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-004-fmc-ping-clusters-endpoint.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80202ee4e4c7eb4ba856db5d6e52ce65efd22ee3324342d200d8f5cf5d792b8a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-005-cluster-transparent-tool-exposure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684a82011491d05f2a41bfb8b6b06ff4aaea8fc69bf61ffd19125391c22cf9ce"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-006-af-list-clusters-vs-ka-prescoping.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66177365c99111e71605bd1d96b56b6322a294821a10bfbbb3d32b055b6301a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-007-ansible-engine-not-supported-for-remote-execution.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd98ea3e18988c13fa5b16649b8b9058a577430319ac543fef674b9da647697"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-008-workflow-declared-execution-cluster.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0110bc6b4492fb09317ba901fbf9fbe4867f6908f3ea83245129e8abda613095"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-FLEET-008-workflow-declared-execution-cluster.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-008-workflow-declared-execution-cluster.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78b17b2398d584da3ba1a9ede53ca3cd2514a3e566d290b6fd6028db67b8e80"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-009-gateway-neutral-mcp-read-recovery.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d9ec83d43f4a3355978700b3713d4b00b58c416073ef250b5e71932302afbb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-FLEET-010-mcp-gateway-scoped-tls-trust.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650958349acd89a2f464628dee9437b50fff45b7650e228faf47939c8c51fe3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-001-payload-size-limits.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2b57a363ecce5ee2b34e77025c2a1d2b96410f6fcc65c43a64b2cfc38b7aa6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-001-payload-size-limits.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-001-payload-size-limits.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421be939bef30b8efa0048b5694973bcf66ab274ad59a501b6181cbe4cc046bc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-002-integration-test-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b019110ac481c0bfe7a783bc273ecab83a252fc8bd59c86d4b81469a62c2ef55"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-002-integration-test-architecture.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-002-integration-test-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65dab144047a10b536aa409a3df479f7b52f8f1510d29114484247e34172877"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-002-opentelemetry-adapter.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7b57a95f89b667e183e1904597a1b31cbf792d2e605e349935704abc961b6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-002-opentelemetry-adapter.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-002-opentelemetry-adapter.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3de3df7b49bdb119febffb97a4773c1b256d69053eba318dec00e2fa2b3f9c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-003-redis-outage-metrics.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee140ee377e631e4578311ef9b11d94573b01e6b2f20dd236e3c2b2fbae9409"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-003-redis-outage-metrics.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-003-redis-outage-metrics.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba8269588427ddb388cafe1a6e637d0b02f08bb3e5a25dc66b4b4f25bd6436a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-GATEWAY-004-redis-memory-optimization.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-004-redis-memory-optimization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"200886f5cd06588274f607f8f2615c3d08db56c397b4be42beadea4a196010b5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-004-redis-memory-optimization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd328fb6b0fd9b83c42ec286b8209605a6135e760776aafc1d8ef10213dcf69"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/DD-GATEWAY-005-redis-cleanup-on-crd-deletion.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-005-redis-cleanup-on-crd-deletion.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649d1060d3873ba1a98d44ad1e0d2f0c3f23b84bda2179436c285d362fc8c2f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-005-redis-cleanup-on-crd-deletion.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc81f64ab0fda245f2ebc1585ac828bbaded171451b3f4e699f5c361735c553"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-006-authentication-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c67c5aad881ecb66e33907cb4ebc4c26a1253872e168e97347109d5175a865"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-007-fallback-namespace-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8505ec15c1f882ddb905b9b491699fa0e6ede37d14273a22c191c3c3b1a506"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-008-storm-aggregation-windows.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c98c7ba8acdbe154082555217b3649c6e5171c4654d23beea30661296abc2db"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-009-state-based-deduplication.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da9ec9a365319532966e2b1aea46937122b2def3ad50e94e1749ba269c9da3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-010-adapter-naming-convention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"090d4d5671222537b06ddd61e3c9f0e90f1b8983f6e54255839d2f08a705ccf6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-010-adapter-naming-convention.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-010-adapter-naming-convention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22bba33adca2d1dac5a74e6608a40da1b29cde5c0033d9b9ce61c260898393"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-011-shared-status-deduplication.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16fe63228b3f28fbbc432c4136055dce66c79fb1b096e65309191b6ae09af8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-013-async-status-updates.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b07760979311d30c457744b4049ad843f7f8239a9eae5846500754070b97d2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-013-async-status-updates.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-013-async-status-updates.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1fcc5fffed8556d5c932e80567dbe8fadf6593f108f4225445afd65aa54c6d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-014-circuit-breaker-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52e7ad1ee8b194f4bf0e95e817ee760770d3f4da6ac440f753511afd60a9427"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-015-storm-detection-removal.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff16441acf13b570d67f2ff3c484f5c15e8ec418b5c1cc5a9ab1c3df53800c1f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-016-k8s-api-circuit-breaker.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc0a5f3dadaf48dba729e63d76a5366ecff97f871735539c258e96e62be76da"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-017-normalized-signal-description.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb77d8bc7f400cbf5aae42d7e1e0d4fcfdeaeec9bd4d78cb69cb3c4071ff4a0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-017-normalized-signal-description.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-017-normalized-signal-description.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0e22046041045b02096a2e5fac8dda2e030875278c52118acdcc08eae0b9e0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-018-owner-chain-rbac-extensibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"872aa23c5e31f3364d8d5ff613bb6e99e0948dcb90d787e012ee0f8a562a8fe7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-018-owner-chain-rbac-extensibility.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-018-owner-chain-rbac-extensibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5beebb77e86a02e9bf1b68ae0de652941abeb6bb53f478bb2bb82ccc9391d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-019-signal-dedup-consolidation-triage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7e015e70cd4815c1c8fc002b719bc7c60ae0587e5d1ce68fb9a1aa9ac117e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-CLUSTER-SCOPE-SIGNALS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20338cfcb792d860dc117d61cc9cee76cf8692f371bfa5b267945fdf109a4c8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-NON-K8S-SIGNALS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3410a80ccff16fc3f49756f53f6a24d4de04f004292700410a7f2aafffc6cc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-GATEWAY-NON-K8S-SIGNALS.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-GATEWAY-NON-K8S-SIGNALS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"350042476f9ee24701dc8ab21ab5c0085627567fe3c268d15a0d6c88167ae657"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-HTTP-001-http-router-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cca32c7229fb4fd68897572abaacdc53b2797809eb73024ea1d33779cc314ca"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-HTTP-001-http-router-strategy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-HTTP-001-http-router-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365f055f82ac1f3f3d5186d4f80088f752447d46b1ef8a622ffcb36abc8fda7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRA-001-configmap-hotreload-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2474d3223e34a8febf969edeaa63815476947b4c7585c3bd1ff4aec028e1876e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRA-001-consolidated-namespace-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301c2838cb241d85f8631573a8b0e9f97c0c2020d844b22bce4dc568704a09ef"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-INFRA-001-consolidated-namespace-strategy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRA-001-consolidated-namespace-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd84ddf518c3ba14dd95c32c7982c219a65bd1f1b54d7ef752e8cf931340ea58"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRASTRUCTURE-001-redis-separation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2862a59c97a5008d875406da3e513e2ba0a53dcf7432b8490f84a2884c1e2b6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-INFRASTRUCTURE-001-redis-separation.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRASTRUCTURE-001-redis-separation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e392fff89a66e2b6d237b902249a3104fdb08a419eb28689352f3ccfd7778f6b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INFRASTRUCTURE-002-datastorage-redis-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf93e693220d2643305dfe268de0a178e33b451b6970d1630a70f5993761707"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INT-020-servicenow-signal-target-type.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74a8be735a58b071010a99bd5c1092c26d226c6947ac74cc2398fcd16608e72"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INTEGRATION-001-local-image-builds.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb632b4bbdbde631a50eaf670b2c02fa21e621c4c6a7633ac2777a484f5d687"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INTERACTIVE-001-interactive-mode-crd-placement-and-timeouts.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4722bebd01993c243e7798a95a63f70becc7a398747c14b112a1c3f39326b965"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-INTERACTIVE-002-dynamic-takeover-model.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ae5ed42eac2779ae033ec079feac5203d4f1826086219801538325c9d6f7d7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-K8S-001-restmapper-cache-invalidation-on-lookup-failure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d1defd2c50d359647dc184148d1256ab8c0aecde6d6ec1aadb6246bbcaf47a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-K8S-001-restmapper-cache-invalidation-on-lookup-failure.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-K8S-001-restmapper-cache-invalidation-on-lookup-failure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"120952f70620dd14e99d09fbfa98186eaf83fdc29a5e93a0ea18e446de617523"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-001-workflow-response-validation-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b67837ffc61cc6184d05bb27a45a69264de673429ac3ba3d93b6c446baefef4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-002-custom-labels-auto-append.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326370b0d25ae15e1ccec0787357ab5654c9eef33687da76996e112f2df5a3cc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-KA-003-mandatory-openapi-client-usage.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-003-mandatory-openapi-client-usage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d8df9f3cd59e7398101ec6f2ff5ca780337e81199ac86783f8cb94f4284f4d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-004-v1-confidence-scoring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2044e541d9d81ce3c9ec9be46f9a00a8cfb34e4589f422124918087e38c9d01c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-005-llm-input-sanitization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d75fd0cf9bc8cd36ee0ab8efa6974d5d84a6157c03ba18df9f6f40fabcc8d26"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-006-remediation-target-in-rca.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51bd8682e9afcce4d07e488cf06aa25d8b61a5d27f107b519f5ccf22e64f07"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-007-cumulative-investigation-accounting.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ec716177471411f81eeb982e3d9a642fc18f98b9852012878586ec696630e3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-016-remediation-history-context.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56c26d752509af7eb7a595ea684377eba15503392a376dfcbd6dc3294677c49"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-017-three-step-workflow-discovery-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaedcc56f7a149a0ac330092d3e647ae230bafcd7e6623565468535c38f391e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-018-detected-labels-detection-specification.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c311dd166ebe73c13119616997ddc2eb6531a4732dd5602314a01f2812b67aca"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2485-context-aware-secret-sanitization.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e66f6d78d07fbda4e8d2661c5194220d24d8fdb6c2146d7ab8d4664fb360af9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-KA-2496-history-aware-rca-and-repeat-selection.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2496-history-aware-rca-and-repeat-selection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f56b52cd4415a87c0df6cb0289fa5be0e97be97aebdb4aee4324fc210cd7cd5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2496-history-aware-rca-and-repeat-selection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc693d98b2aeba8a27423d7f3b34639b022ec228f7bb2aed7f755fa6c3e87b16"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-KA-2511-generic-recurrent-rca-continuation.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2511-generic-recurrent-rca-continuation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9822428adbc789ad6f06a7120ebf672bbe2d18e67b84ba90997679abd2158a7b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2511-generic-recurrent-rca-continuation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13ba581d2741cfcc54f280ae5e58371c20ab730f62daf7f3f79b5d040a4d1cf"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-KA-2520-2521-typed-investigation-outcomes-and-decision-ledger.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df41abd70c8ff366684581ff230f52dccb463bdb2d42e7e7971ddb11c4ecb47"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-003-mock-first-development-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec4a9a6bd64afa991ebc8bee7bd5606d6dc7ff792070fbdfc1e9b16b0300ea7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-LLM-003-mock-first-development-strategy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-003-mock-first-development-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46770b4aea4d87aeca1dcf856ddd85e9bb434bfebf21cd41651666819da0e7b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-004-langchaingo-removal-generalized-clients.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe904438e257cbcfd595c3667962d88dd210a3926e6ffb9f12d8465a0a3facdd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-005-model-aware-reasoning-support.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab33894f01032aa75234639726cf69151acb438e471233a8c0b28344f64a5b2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-006-bedrock-dual-client-routing.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d847aee3ea77609d98f639be9e252241f871e88d881205f99fe4d3efbf8633d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-007-af-ka-anthropic-client-divergence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68164701535dfd1222841cede3c7ddae5e9f0e4e2bb566d2736707a2ff015bf4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-008-restart-required-llm-identity-lock.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff07a0f589a02dd13279802cf3d3621d4996a5a692beefa642d2a89690d67d7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-009-reasoning-content-live-stream-event-type.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb7cd6c1f7739600369195f1bdc096d2346b954c9f580a493047bb1f21452a7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-009-retry-classification-and-streaming-retry.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"343a82d23ea897de5af28a0bde4d812de0d057a377b47ac1745ab593dbf427a4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-010-eino-agenticgemini-for-ka-gemini-client.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b4a3bb0519bd45229bcf0ca80e6e04c6c6fc2186284408e704b73ea85c8d1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-011-retain-anthropicfamily-reject-agenticclaude.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ccfb30e8d7b17d68794e93c2b19749fa8e7a096f828e2d7253a3fb5b22aaf2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-012-independent-sibling-llm-profile-resolution.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c00e29957446e37dab832ee4e18a4143d9912767d231e1c524203ad2576ad3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-CRITICAL-PATH-VALIDATION-PLAN.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"823fb6f18ab5c9d1835f8791244a0e981f632509bed8a81a84079eaff1ccefd8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-VALIDATION-MOCK-MCP-STRATEGY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353613038d749a75d2b52f2fdec64bc2d80c620bda39235438911951cf88e26"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-LLM-VALIDATION-MOCK-MCP-STRATEGY.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-LLM-VALIDATION-MOCK-MCP-STRATEGY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e391032275ad884642beaf75eb3d1a6dcad2a95621a5edf6894b4c65650a7a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-METRICS-001-controller-metrics-wiring-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c7ea7ef7e30bcc8be3faf729acb50a5d427eeef4a2a7038f041c5e0c650c85"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-METRICS-RAR-AUDIT-001-approval-decision-metrics.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b3fce69a80d028ad4ada2facc1c98352a1bd061c5e3aff219fd1f2656abfc0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-NAMING-001-remediation-workflow-terminology.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54211256e8a3de2d7190e40073c2c145c4d9d5ef73e3ae94f11f7253be2dbb15"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-NOT-007-IMPLEMENTATION-PLAN.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d559da52622430ccc8fb703e49d895b50ae66dbbc1956f05df6637c937df569"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-NOT-104-credential-decoupling.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a8c0ad3785d534acc5952edbbe188b1aa73c76fea4f908193353ad585324df"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-NOTIFICATION-001-alertmanager-routing-reuse.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcec4c0d71ce8a98475f74639f94e841beef9ec197ae9c55b19f1fdbb9ae2ee"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-ORCHESTRATOR-001-storm-deduplication-propagation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92357c18c3acf907c881d328b58246b4a390e95af932e5e839581743b9f0194b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-OTEL-001-opentelemetry-tracing-design.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b28e85f3fb285ef7d04c7a0ce76685ff794f078a6e84232f35ee7b8464b8db"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PERF-001-atomic-status-updates-mandate.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0dadc01964b9d35f30054a655335d327dc44b5bc85f533ba81e3f72f58845a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-001-cert-manager-interservice-mtls.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b2c4848e3e235b38c6557da7809dda5afdd18c474064c44984a8e802fdb8d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-002-argocd-postsync-health-deadlock.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5992ed204024d8eab68cd997550f43da616e29434897d61729b45e219ebbbc6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-003-argocd-infra-first-sync-wave.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fbef80f38441254f68690995db59c068e74c2fea8e1d822a2374ffb48099dd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-003-must-gather-kubectl-version-policy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2863a5af2355d0ea02d8c7205486f2eab1b4fb03dacbe21821dc227925cbc2c8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-004-chart-default-hardening.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd00137e06e832b3d597390f8c3ba3553f3f15a102d2fe39e892e1cf3c6e3416"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-005-helm-unittest-ci-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee3d8040d106cba2f0e165d8a69021db6a3ae7ba3a7407c5b7b3e28259cdb49"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-006-helm-chart-configuration-surface-reduction.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bd7c307fad0b6333871a5fbcaeff789858f1014407b27e039e89e494d9ba56"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-007-llm-profile-consolidation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5835b1a8b2b3da3422ad0b9c3892af79dbd0fe640765b908f51f7be11370363a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-008-fleet-aware-service-startup-probe.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d543d4dd7f400f4fe0b4cba53c15c20a598a771dcf73ac1285b47356c3d7554"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-009-bootstrap-health-server-for-slow-dependency-wiring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28957033d1e9ec6aa07c6bad1e4c7b8865265937852be1b60d34b095745b8ce"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-010-cross-service-readyz-shared-port.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86848bca683384342d38e5a01ee41848a90db3920e86c813df4387b59487c92d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-011-helm-policy-configmap-ownership-boundary.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1417398e9c121b07f389a24fff620d4af3d116a7f1a4d7b91b983ef9b0a75605"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLATFORM-012-long-lived-demo-certificate-lifecycle.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e8e43d65d8e89a924220c56916ffc2b4ee8f59910daf98d2c03b4693d37d0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision section: docs/architecture/decisions/DD-PLAYBOOK-004-parameter-schema-location.md has no Decision section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-004-parameter-schema-location.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebddda032e253c7a93e2e86f1db1422560d6c010de4658269ad8cdd1e9828ba"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-004-parameter-schema-location.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0af75f4b1c9223ef33fa613a7c8ab7f7c5044a755372d40495ada149a1bc9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/DD-PLAYBOOK-005-automated-schema-extraction.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-005-automated-schema-extraction.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6848451aca10bd005754769d5bf7a3599979f41c9c03694d27f2254b309f9bd6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-005-automated-schema-extraction.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706318f5564b34e642b6e0643b783765025c6f23427ef4a224730cdaa859ab66"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/DD-PLAYBOOK-006-schema-drift-prevention.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-006-schema-drift-prevention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c56796abb67bdeb1479865dae4802a6ebd45875d53c581ba7359082bb6a0c4b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-006-schema-drift-prevention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8002013c1e3c1d0894398b6a6d28c0aca1eedab975ffb5c7888f970e3884c7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-PLAYBOOK-009-catalog-storage.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-009-catalog-storage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff122b23b8548fa824b049820184f1719834d2c29632a97d32f3870851444c2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-009-catalog-storage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e38fdaae4a928a42bd0ad1c5278ea86fbd2ca9326fdc65cc0bc16dbfea088b4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PLAYBOOK-011-tekton-oci-bundles.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea31c41961d7c06081bf45470c349faa4e2f0d665d1bb3a961d74a7715b95ba7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-PROD-001-production-readiness-checklist-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13785aab76e68030f2e217a9457aa70ec97dfdecc308c5cc08ffa0fccbc2b0c0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-REGISTRY-001-container-registry-purpose-classification.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3a599fb2d71442c5318032641b8c1c07926ea4f71f30275aa70ce242b72f55"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/architecture/decisions/DD-REGISTRY-001-container-registry-strategy.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-REGISTRY-001-container-registry-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f6c60d842afacd6eee21202eebfff5c9022de98563f335cb22983a4ccc8028"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-RELEASE-001-run-scoped-image-promotion.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1344e5fd95685cd5180ba5c9a06ac4eb267d41719bcf2997afeddc22881c4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-RO-001-resource-lock-deduplication-handling.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39af5dc6060f1c5c1bf431c2914e1d5e09bcc44e2c44653445f6ecb343d9c5d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Consequences section: docs/architecture/decisions/DD-RO-002-ADDENDUM-blocked-phase-semantics.md has no Context and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-RO-002-ADDENDUM-blocked-phase-semantics.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79fa8fc2f02b7c9a8578bd0836974d613e99cd4223c2acd4cce0235b8f612b2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-RO-002-ADDENDUM-blocked-phase-semantics.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c26aa0812e44ffc6c2e49bff332b23590e4797450830bd953f7f2408c19ef2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-RO-002-centralized-routing-responsibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413b4e0f216675fdb9d63c246e76bafb640ae3a3d3dbc2ab42d484a005df34c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SCHEMA-001-data-storage-schema-authority.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a8b12f5e955c94c7ad1acd3b80863a1581bc20e897c58574c07efe80a870f4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-SCHEMA-001-data-storage-schema-authority.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SCHEMA-001-data-storage-schema-authority.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd179b8c40cf01af4ea10d0fa79aa17d6f54c1864cb91f9074732f047bab9d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SEVERITY-001-severity-determination-refactoring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26f8c129c4c1ba6e358d4fb015032e93e620ae597360b467fe99002f9ad2358"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SHARED-001-shared-backoff-library.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671f3445b2e4cc5d555bf2eabd66d729d4fa24cd10bf0a3ab77343d79fa0952d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SHARED-002-shared-error-classification.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dece762b84155288c670a4c2badd2a04b081253b7415acd9abcfd76a1adc07c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SIGNAL-PROCESSING-001-service-rename.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06450f551c314706da550fbe1838ae03183a9c89a5fd2ad7f4e3301ace734852"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/architecture/decisions/DD-SOC2-001-day9-2-deferral.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SOC2-001-day9-2-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0918e6ade5cedf73092bd101ebdd52c24f2a69f0240c95a6859c84a3d7edb585"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SOC2-001-day9-2-deferral.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2eabe480590707d3c19f6160a5de48781a6d4ba202d85a25307ab6c5b48c83"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SP-001-remove-classification-confidence-scores.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42914ba3eee9968f07d7896187f50db5cef7668bac9d3df2754ae1c25bec43c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SP-002-kubernetes-conditions-specification.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"246dba4cdaf2fa53367c7454669c6ef8cde70ceadcf66e6b472d3b2f7ef5da46"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Consequences section: docs/architecture/decisions/DD-SP-003-multi-provider-extensibility.md has no Context and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SP-003-multi-provider-extensibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70dfe02362e8377425427f86380963620a85e9eb6d17dcfae5837a15b19e1a4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-SP-003-multi-provider-extensibility.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d9a52cf95c9646d778eaf231d4e71380aebafcf5ca580e042e7c20fab6108e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-STORAGE-010-query-api-pagination-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abf8f6027e5fa5d206e4431fcdb3ae156b4103b10edefb4916b5978b7142e09"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-STORAGE-012-CRITICAL-LABEL-FILTERING.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f02a5363ec0c3fcd3a5d47bbf21187ffcac4fb9e221558eb2cc1a6cf4cb641"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-001-QUICK-REFERENCE.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4347c969358f5ce113665e498bd238a1162cc2499847320cac4fb081c2b97a90"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-TEST-001-QUICK-REFERENCE.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-001-QUICK-REFERENCE.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31709251e13cd47d9880a5d6df2791c1c4162c7129ab162ffa7ba7d3df0e41ac"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-001-unique-container-image-tags.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3804e60d223acdeaeb2d3d019b92f3764abe27181803514ddff51a7613daa357"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-002-parallel-test-execution-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ced6bdd15294e56bc327fdc2400775a14dd250bc82e059ebcebdd4baf6f87c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-003-br-coverage-methodology.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aa8a0c91ecd3eb630862c019995b795a855d695472891176265837b26c776e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-004-unique-resource-naming-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf024105e1ead0a06feaecce5d94732ce1224843484c45d2104d6f99fc3bc8d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-005-metrics-unit-testing-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82455f3593ac7b7053aed4d95dc0ea0406b3332dce9bf2f353739a863bf18e0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-TEST-006-test-plan-policy.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-006-test-plan-policy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8b8424da1cf9f9c1964cf4fbf81c5f4f304e3e2addfa21154088848b44ce01"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-007-e2e-coverage-capture-standard.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2877163666c3525d5f22547afb1b4fef21c9f09a6519c90f3023efd3ba79ab25"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-008-reusable-e2e-coverage-infrastructure.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd5a5066fa0224c496457787bdac7d28e032847e0e734d6913190b7c519ea2c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-009-FIELD-INDEX-ENVTEST-SETUP.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6beded726fe2bfa5ace053cb9ab37c422da357eb6c7aa4b0e47ae650a2052c7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-010-controller-per-process-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"169b98d9bb9db1b6631b04fd09e1aee69e7e9b76ee8925423715498edc567816"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-011-mock-llm-self-discovery-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e884f2e80dec0521b49264a168d5c2360127484cc30e41aec48c8ec3e76f07"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-012-envtest-real-authentication-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaab7b1cd64e23726a5012789941e0861533be0048e7ef63c0d456c3978ec8d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-013-fmc-e2e-cross-cluster-bridge.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f6741741f842d16c39d7f49f9ff09554010b02dbbb5dfdd2efb8545a240b14"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-014-fleet-e2e-remote-cluster-only-topology.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743cdf3154e9f03aa39ed0546790037e43b0bfb4eae26a529f01ae9754215be3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-015-fleet-e2e-deploy-correctly-first-time.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58da0dff7a3129a5afb2f18f5448988b8f2e7d28737eac0456b00c887caae2ee"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-016-a2a-transcript-scenario-harness.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba9e7e8ebcfb3b56bc0e5f9851b561f67fd7ae73e2f06a9538944d7177609c0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-017-structured-mock-llm-scenario-selectors.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48d357ccd508de781ff80a4da71ab8931e92415884c859e39f42672bddd6a86"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-018-provider-neutral-mock-llm-conversation-planner.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03423287594ef1c3df80cb8a39a307333c7e5cf2c44f1e5af2e0eeb4a41573d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-019-af-fleet-e2e-minimal-topology.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422f0313a637991f332c871d2abf98662a7788d1b1e3e1e5875241a99c9e53ee"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-020-fleet-mcp-dedicated-namespace.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bec90b8ea08263020c25be157e92d446a147c1502b3c6c3fd467e50babc9e1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TESTING-002-integration-test-diagnostics-must-gather.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9783bc5646026fa1abe12bf2c612ae18c139df6cea58f65c65107b32999ca63"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TESTING-003-e2e-must-gather-execution-mechanism.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6267531b02297d919e4f3b8f0f074fb0082a5b2f368f503b220b500c6bc971b3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TIMEOUT-001-global-remediation-timeout.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4943e066619dc31b3157139faefe4a4f751a57fdac94bedcf2ea841913868d5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TIMEOUT-002-child-crd-timeout-self-enforcement.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d14f71b4502e1650e3b47367e520efaae8872c3f0081f07902531bf6a67476"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TLS-001-no-write-ambient-ca-trust-injection.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1799e840c809e6fb944f0c67482c82c453e8aa8f7853a09c0433cb70cc11a5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TOOLSET-001-REST-API-Deprecation.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c779468d8c5857546aa77b728074e017eb9ab1b8b73f7e5c8414cfd02c42e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TOOLSET-002-alertmanager-client-integration.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4040bdd6154231b8381e00e84a628e7d7cc5ca8aeac480486ed8a78687cd0f9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-001-resource-locking-safety.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2035f697656e2d527288ca162c34f988621fdd6e8d1f2d45403919a7e8c425e8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-002-dedicated-execution-namespace.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdafa9ddbee196cc175144043a587dbdebedad13e54ee0fd77671a337bb5a5f4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-003-resource-lock-persistence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d88548fc7f71916091e5a5523c138a86ef9b686ebc0bed5997cdf39ee1f5e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-004-exponential-backoff-cooldown.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b24bbdc370ecd166c32570055eb8e8b933a7a42e79ea59e71fbf097e865dc1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-005-workflow-scoped-rbac.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0e07121e6f1760c67fe26d08fa393af6069abd932b842834b1d32367a270f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-006-schema-declared-dependencies.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27921a4162629038c3a33019df6d7ec7e146eb29aa543338d34d2f3b1e86f822"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-007-ansible-playbook-rbac-rules.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2af99b9bf3fe3370df2beb0cc9d54b7d29f992d5074cb521847cd5a8cd3750"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-008-job-resource-governance-transient-failure-tolerance.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"835b823be71b82225a9b4f38019f15eadf6347467a32d4ad4f71aed6cd79a802"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-009-terminal-audit-ordering.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639252b12528d6e4aa23b437802d51e912d87d5b3e24f1a3dd4ed87212e59a0c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-WE-010-job-identity-per-remediation-request.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-010-job-identity-per-remediation-request.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff44d940fed1faeed3e55882fa5102ce34ad109fba50935c6e9abdac4ea6bfb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WE-010-job-identity-per-remediation-request.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fa4e53bfd4464d1573458d262d243fef269c6913d3886fcf14ccacf071eaac"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WEBHOOK-001-crd-webhook-requirements-matrix.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1544d13978754272a9b317e7b2eac9e07831056ede9fc435fc20211024ae520b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WEBHOOK-003-webhook-complete-audit-pattern.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39265671d0ed20a8498132f51d6c68688fd9343e8330cec67e344350d7c4bc"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-001-mandatory-label-schema.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c39a082532a0e99214d0c8c5c71e86697175c9753ea81d551d3f7b4f4846d59"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-002-MCP-WORKFLOW-CATALOG-ARCHITECTURE.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf478454003baf7bf10f11d50691dd7bf8478b0bbf448c363282e2935340f33"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-003-hybrid-weighted-label-scoring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed67976fd61c8f54ea63f405c90dc55036f5809b55ccacc8c474cc571636a6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-003-parameterized-actions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4226707581a79a21fbf43ec0c1d68c064fb3aea37aca9370afe3673215fd0ffe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-004-deterministic-query-construction.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed09146b28defd72b98d49605a33ea7556e4a7fc1aa14666b0260a29d5dc11c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-004-hybrid-weighted-label-scoring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be6d678c6ba61bbebe3bca7e867a2d427e0b4d7fe72fb706f02c75145c69cfe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-004-parameter-schema-location.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c93fc2b62a899b0fa4852484cd38deb3b5eec458ec2dce6a770139d879725c6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/architecture/decisions/DD-WORKFLOW-006-schema-drift-prevention.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-006-schema-drift-prevention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d83e6b96a078dc5f76e5f517e14b69c55150a073c234cd9633834de9cf20bd8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-006-schema-drift-prevention.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d375729a2d497c5635151424e0be4ec6518bb843a8586d91d6a20a44d5506cf"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-008-version-roadmap.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6902148737427eb6bd9c012daf74573449b1226a129e61cc495bb3de4d87afe"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/architecture/decisions/DD-WORKFLOW-009-catalog-storage.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-009-catalog-storage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25805380b4bbd7f013334cb8014980e4933975ffab105bc15bc6fc1fab6a03d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-009-catalog-storage.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461f7cd505fd120eadf11c22c69b45e71112a684888754bef36838376a52591e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Decision and Consequences section: docs/architecture/decisions/DD-WORKFLOW-010-mcp-integration-confidence.md has no Context and Decision and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-010-mcp-integration-confidence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"734c201af422a438407c4661f9a0e661f8f20ab34d606934a67f0b92f8739208"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-010-mcp-integration-confidence.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c21f6a375f8418a3123b12bac9bd2757ec4144699a33969f6136cc98fb5bd9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-011-SUMMARY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014389ce339646301054aa6ca994d95d1fc659828152d7a397985412da5c152f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-011-tekton-oci-bundles.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f6dcd070456130e1d9cf689b73efc6d4cf5cf00b70b7b4a283c5de1be4f0a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-012-CROSS-REFERENCES.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea1ab19cd0a7e4792eb5c49f027e7035ec67dea1db37caa9d1cb53dcb7beb77"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/DD-WORKFLOW-012-CROSS-REFERENCES.md\u0060 declares no status, while 326 of the 378 other records in \u0060docs/architecture/decisions\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-012-CROSS-REFERENCES.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab68659468e541f9825424c18e5fbb0f5efcb416f3d39cdef6ecdad305797321"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-012-workflow-immutability-constraints.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e13a7724313c70e492e83814735420a2d74c9dfcfaec8b3082e793b6d7eb8b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-013-scoring-field-population.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3396892d59cd7697fdba03312b64d65f79000d641f39db74a57c43eca2b819"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-014-workflow-selection-audit-trail.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b9c5eb64dd1ae395e73fe35e98564d46062d7c63c4a75ced047b1d282dc168"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-015-v1-0-label-only-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4dd6271e604ec2ca48710f084c0704116d7e10fc5c2c149e700b9bcde7bfd1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-016-action-type-workflow-indexing.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fb79a6b647ce5bf89c7cc96813403f29ef2e4310c780f01904b518bbf9eaf6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-017-workflow-lifecycle-component-interactions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"739418c2335b6d38f89f1cf756cc4ed945a903d828315315bbb30523b705b2d5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-018-etcd-single-source-of-truth.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1ce5b845299bf8b0a071ce4c0b0e141e665c0908c94f91a930312f52b253c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-019-ka-owned-workflow-discovery.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc4bda8d157799a083ccd49cee1b1ef3c17d29320edf6bb761e9f31f5e10e91"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-LLM-ARCHITECTURE-CONFIDENCE-ASSESSMENT.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1344eaa6124ad511da2fb37603ec8901c729452e5ff8ba0c9eb420ae530bc4b6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision section: docs/architecture/decisions/TRIAGE-SEVERITY-EXTENSIBILITY.md has no Decision section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/TRIAGE-SEVERITY-EXTENSIBILITY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b26462b7df78f869608e7e068ab583c897d81e3b7e7f9cc7a570fb2c2a4676"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/TRIAGE-SEVERITY-EXTENSIBILITY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"548ea31ef915f41b039b4df0c83ae42199f32ddb27c9d06404fd9cdc83111537"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/architecture/decisions/adr-041-llm-contract/CONFIDENCE-ASSESSMENT-DETERMINISTIC-VS-NATURAL-LANGUAGE.md\u0060 declares no status, while 4 of the 4 other records in \u0060docs/architecture/decisions/adr-041-llm-contract\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/adr-041-llm-contract/CONFIDENCE-ASSESSMENT-DETERMINISTIC-VS-NATURAL-LANGUAGE.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d75816d45a4e105b0f1d1aadedea62f1da5e9bde859bae24a03941ff9b9bba5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context and Decision and Consequences section: docs/architecture/decisions/dd-context-005/REJECTED-FIELD-ANALYSIS.md has no Context and Decision and Consequences section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/dd-context-005/REJECTED-FIELD-ANALYSIS.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c844f9e4ea7e2d744c3221d8eff9effe55bb630abc141785ac135eacd8604a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/ADR-023-tekton-from-v1.md:8 names \u0060ADR-022-v1-native-jobs-v2-tekton-migration.md\u0060 as the record it supersedes, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-023-tekton-from-v1.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5015aa63e1d166613dc700c03361a1b7383edaa62c79eff03b9030fd63aa6415"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/ADR-023-tekton-from-v1.md:630 names \u0060ADR-022-v1-native-jobs-v2-tekton-migration.md\u0060 as the record it supersedes, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-023-tekton-from-v1.md"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59d024452ecb9c64de3f66bd6d4da50f789503e83c7cccd1f65c19b81eaba40"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/DD-AUTH-003-externalized-authorization-sidecar.md:667 names \u0060mdc:docs/architecture/decisions/DD-AUTH-002-http-authentication-middleware.md\u0060 as the record it supersedes, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-AUTH-003-externalized-authorization-sidecar.md"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5d6d04ba150e0d0040ddcfaf8f6100532502ef8815e2c57dc666f95df709ff"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/DD-CRD-001-api-group-domain-selection.md:225 names \u0060ADR 2025\u0060 as the record it supersedes, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-CRD-001-api-group-domain-selection.md"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93f14aa7676d6b400d9d0e1e66a32e7f62dd5ceaa989facd27a110300bbc5bd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/DD-TEST-015-fleet-e2e-deploy-correctly-first-time.md:3 names \u0060ADR 2561\u0060 as the record it is superseded by, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-TEST-015-fleet-e2e-deploy-correctly-first-time.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"853f913fa4d034d25ed1f2720cb59572d54cc12cbb6ce5915b38d8327521f97f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/architecture/decisions/DD-WORKFLOW-019-ka-owned-workflow-discovery.md:10 names \u0060ADR 1661\u0060 as the record it supersedes, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-019-ka-owned-workflow-discovery.md"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf289c121df9921153becd1b3203b94181c511f78cc9c190ee4e9155b8b42e4"}},{"ruleId":"D20","level":"note","message":{"text":"ADR links a record that does not exist: docs/services/apifrontend/adr/ADR-014-hybrid-ka-communication.md:7 names \u0060ADR 1326\u0060 as the record it is superseded by, and no such record is in the decision log. Fix the link, or restore the record, so a reader can follow the decision\u0027s history."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/services/apifrontend/adr/ADR-014-hybrid-ka-communication.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6d7972759c92af790cee59490e299febd8995a41f42e0ea519a87115d8512"}},{"ruleId":"D20","level":"note","message":{"text":"ADR superseded but its status says otherwise: docs/architecture/decisions/ADR-027-multi-architecture-build-strategy.md:1 says \u0022\u2705 Accepted\u0022, but docs/architecture/decisions/ADR-028-container-registry-policy.md supersedes it. Two records now claim the same ground; mark this one \u0022Superseded by\u0022 its successor."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-027-multi-architecture-build-strategy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9dace1f92f408992968ab204af1cba9aa35445f731251e425ac894a7282ec8"}},{"ruleId":"D20","level":"note","message":{"text":"ADR superseded but its status says otherwise: docs/architecture/decisions/ADR-068-fleet-federation-architecture.md:3 says \u0022Implemented (MVP; amended 2026-09-22)\u0022, but docs/architecture/decisions/DD-FLEET-005-cluster-transparent-tool-exposure.md supersedes it. Two records now claim the same ground; mark this one \u0022Superseded by\u0022 its successor."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-068-fleet-federation-architecture.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"35269a8f7b9d950b2a23b07be3a60fdd24b42e3e85d296f67290fdae18f737f7"}},{"ruleId":"D20","level":"note","message":{"text":"ADR still proposed, but the code already adopted it: docs/architecture/decisions/ADR-063-servicenow-signal-integration.md:3 says \u0022PROPOSED\u0022, but the production code already uses every element its Decision names: \u0060SignalSource\u0060 (internal/kubernautagent/prompt/builder.go). A proposal the code has adopted is a decision in force; mark it accepted, or, if the code should not do this, say so."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-063-servicenow-signal-integration.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114ff0edc18e818128ca73bd6feac433834d13d2ee9415ffcee238a109c847e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR still proposed, but the code already adopted it: docs/architecture/decisions/ADR-075-multi-pillar-data-contract-extensibility.md:4 says \u0022Proposed; pending cross-team review\u0022, but the production code already uses every element its Decision names: \u0060signalType\u0060 (internal/kubernautagent/prompt/history.go). A proposal the code has adopted is a decision in force; mark it accepted, or, if the code should not do this, say so."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-075-multi-pillar-data-contract-extensibility.md"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dba9577c6bf1384b6763c974a09bce5b210c4134bd0daae76e05084a9543f6"}},{"ruleId":"D20","level":"note","message":{"text":"ADR still proposed, but the code already adopted it: docs/architecture/decisions/DD-EM-002-canonical-spec-hash.md:3 says \u0022PROPOSED\u0022, but the production code already uses every element its Decision names: \u0060PostRemediationSpecHash\u0060 (internal/kubernautagent/enrichment/ds_adapter.go). A proposal the code has adopted is a decision in force; mark it accepted, or, if the code should not do this, say so."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-EM-002-canonical-spec-hash.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b16e595886c3f9380a449590826b79af3781532993256230280163ed9493f1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060WorkflowId\u0060 spells \u0060Id\u0060 where 1087 names in the project spell it \u0060ID\u0060: 1087 of 1088 names in project github.com/jordigilh/kubernaut spell the token \u0060ID\u0060 (1087 of 1088; unit: names in project github.com/jordigilh/kubernaut containing \u0060ID\u0060). Peers: AgentSessionSpec.IncidentID (api/agentsession/v1alpha1/agentsession_types.go:141); AgentSessionSpec.RemediationID (api/agentsession/v1alpha1/agentsession_types.go:148); AgentSessionAlternativeWorkflow.WorkflowID (api/agentsession/v1alpha1/agentsession_types.go:265); AgentSessionValidationAttempt.WorkflowID (api/agentsession/v1alpha1/agentsession_types.go:275); AgentSessionResult.IncidentID (api/agentsession/v1alpha1/agentsession_types.go:322). Rename to \u0060WorkflowID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/aianalysis/v1alpha1/aianalysis_types.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec10a12ce6e0abffbe61fed4ac76f0c130b096ed0f83246030af77edd64e396"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DefaultRetryMS\u0060 spells \u0060MS\u0060 where 43 names in the project spell it \u0060Ms\u0060: 43 of 45 names in project github.com/jordigilh/kubernaut spell the token \u0060Ms\u0060 (43 of 45; unit: names in project github.com/jordigilh/kubernaut containing \u0060Ms\u0060). Peers: investigatingUpdateOutcome.investigationTimeMs (internal/controller/aianalysis/phase_handlers.go:149); metricsAssessResult.LatencyP95BeforeMs (internal/controller/effectivenessmonitor/assess_components.go:206); metricsAssessResult.LatencyP95AfterMs (internal/controller/effectivenessmonitor/assess_components.go:207); Reconciler.emitCompletionAudit(durationMs) (internal/controller/remediationorchestrator/audit_events.go:350); Reconciler.emitFailureAudit(durationMs) (internal/controller/remediationorchestrator/audit_events.go:392). Rename to \u0060DefaultRetryMs\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/streaming/sse.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"032b891bcbee030e9630061e78f92f5b176faab3fc528d1cbbd1ef55bcbca291"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060watchTerminalEventsSafetyNetNs\u0060 spells \u0060Ns\u0060 where 42 names in the project spell it \u0060NS\u0060: 42 of 43 names in project github.com/jordigilh/kubernaut spell the token \u0060NS\u0060 (42 of 43; unit: names in project github.com/jordigilh/kubernaut containing \u0060NS\u0060). Peers: main.buildAIAnalysisManager(controllerNS) (cmd/aianalysis/main.go:150); main.setupAIAnalysisReconciler(controllerNS) (cmd/aianalysis/main.go:286); main.initCoreDependencies(controllerNS) (cmd/effectivenessmonitor/main.go:287); main.buildManager(controllerNS) (cmd/effectivenessmonitor/main.go:322); main.buildManager(controllerNS) (cmd/notification/main.go:432). Rename to \u0060watchTerminalEventsSafetyNetNS\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7855919419e4a96c0b0cfbb8da56a30c82aa40dfd22c68d333918e60d0574e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060requireGET\u0060 spells \u0060GET\u0060 where 43 names in the project spell it \u0060Get\u0060: 43 of 44 names in project github.com/jordigilh/kubernaut spell the token \u0060Get\u0060 (43 of 44; unit: names in project github.com/jordigilh/kubernaut containing \u0060Get\u0060). Peers: KASession.ConsecutiveGetResultErrors (api/aianalysis/v1alpha1/aianalysis_types.go:743); github.com/jordigilh/kubernaut/pkg/aianalysis/handlers.AgentSessionGetOrCreator (pkg/aianalysis/handlers/interfaces.go:43); InvestigatingHandler.agentSessionGetOrCreator (pkg/aianalysis/handlers/investigating.go:56); audit.EventConsoleManagedResourceGetRead (pkg/apifrontend/audit/audit.go:93); audit.buildConsoleManagedResourceGetReadPayload (pkg/apifrontend/audit/store_adapter.go:540). Rename to \u0060requireGet\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/fmc/handler.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7271fed5f3e8b24764ea84424c85755b621783fb4f710654746ae393d102bcc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060KeyDurationMS\u0060 spells \u0060MS\u0060 where 43 names in the project spell it \u0060Ms\u0060: 43 of 45 names in project github.com/jordigilh/kubernaut spell the token \u0060Ms\u0060 (43 of 45; unit: names in project github.com/jordigilh/kubernaut containing \u0060Ms\u0060). Peers: investigatingUpdateOutcome.investigationTimeMs (internal/controller/aianalysis/phase_handlers.go:149); metricsAssessResult.LatencyP95BeforeMs (internal/controller/effectivenessmonitor/assess_components.go:206); metricsAssessResult.LatencyP95AfterMs (internal/controller/effectivenessmonitor/assess_components.go:207); Reconciler.emitCompletionAudit(durationMs) (internal/controller/remediationorchestrator/audit_events.go:350); Reconciler.emitFailureAudit(durationMs) (internal/controller/remediationorchestrator/audit_events.go:392). Rename to \u0060KeyDurationMs\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/log/fields.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ab27dd7247f0a2977818096caa5d2676471cf71d00310a54090fc925f76071"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060aianalysis.NewPermanentError\u0060 takes (message, reason) where its 5 siblings take (reason, message): 5 of 6 members of \u0060package aianalysis\u0060 with these two same-typed parameters take them in the order (reason, message) (5 of 6). Siblings: aianalysis.SetCondition (pkg/aianalysis/conditions.go:118); aianalysis.SetReady (pkg/aianalysis/conditions.go:131); aianalysis.SetWorkflowResolved (pkg/aianalysis/conditions.go:167); aianalysis.SetApprovalRequired (pkg/aianalysis/conditions.go:176); aianalysis.SetInvestigationSessionReady (pkg/aianalysis/conditions.go:186). Reorder to (reason, message); both are the same type, so the compiler cannot catch a swapped call. [rule A3]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handler.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb5df9be60a73bef20ee15701b2388ac4bd0ac4d8560bc20b5aba665afdd971"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060severity.NewTriager\u0060 takes functional options (\u0060opts ...Option\u0060) where its 3 sibling constructors take a config struct: 3 of 4 constructors of \u0060package severity\u0060 that take options take a config struct (3 of 4). Siblings: severity.NewAnthropicTriager (pkg/apifrontend/severity/anthropic.go:65); severity.NewGenAITriager (pkg/apifrontend/severity/llm.go:46); severity.NewOpenAICompatibleTriager (pkg/apifrontend/severity/openai_compatible.go:46). Take a config struct, like the package\u0027s other constructors. [rule A7]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/severity/triage.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d405836ed995afdd8272f3c786566677d2031817d1bd2b3dd5b1bf1759bf5226"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060tools.BuildProgressSnapshot\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060package tools\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: tools.FilterRelatedPodEvents (pkg/apifrontend/tools/af_list_events.go:179); tools.TrimSliceToFit (pkg/apifrontend/tools/helpers.go:163); tools.DiffEASteps (pkg/apifrontend/tools/verification_step.go:39). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/execution_progress.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2711cf29dc8d215d7c919230665d353ad0a37288b46596f44691d725b620c4db"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Server.RegisterAdapter\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060Server\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: Server.Start (pkg/gateway/server.go:454); Server.Stop (pkg/gateway/server.go:531); Server.ProcessSignal (pkg/gateway/signal_ingestion_process.go:56). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/signal_ingestion.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e743453cf8e041968817f7b8b155e0d95e1c6e26fb70ffde5d1676fd034e2cf"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060executor.ConvertParameters\u0060 returns a slice (\u0060[]T\u0060) where its 3 siblings return a map (\u0060map[K]V\u0060): 3 of 4 collection-returning members of \u0060package executor\u0060 return a map (\u0060map[K]V\u0060) (3 of 4). Siblings: executor.BuildExtraVars (pkg/workflowexecution/executor/ansible.go:870); executor.FilterDeclaredParameters (pkg/workflowexecution/executor/filter.go:41); executor.FilterDeclaredTypedParameterStrings (pkg/workflowexecution/executor/filter.go:77). Return a map (\u0060map[K]V\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/tekton.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"16368a3f4e8e4df19ccb86f4c316eb8b50f034785e518b85487d89a1c5bca7cb"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (197157 LoC, 1845 module-visible types across 255 directories) overshoots its size bounds. 1 of 6 build unit(s) (Go) overshoot their size bounds, lowering Project Cohesion to 6.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"ruleId":"D28","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":"617abc2b5070a85a7c92cd06c984f60676b37e5e4b6fcfea7bde397cb0bf08ab"},"properties":{"commitSha":"9a391d42565771022475c00a2f358f2987b1aa60"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"537c95825b824b755ae462cd314aa28eea7ce7eb6b020f23cd5a45a396b1a3c2"},"properties":{"commitSha":"711f687c5ae1cdc578d0fe022a6466c597ed1cdb"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"c647ef9f088c032a97726c9d0d60f750a7835a035c419008c437042660f20a76"},"properties":{"commitSha":"f902ea52f0638f09c31bce23bc9e40d389ef8112"}},{"ruleId":"D28","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":"4fae51c0252bb7afdc4e436c517e61833a8928e53f6477da7b765d2ab4ffde1c"},"properties":{"commitSha":"78ba9a1db46272c7a2c94318d7cf6203876fa331"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"3749f30edcbd1b52816bdc7a909e70b131c57ff44418a9ae0f90e853900e0e46"},"properties":{"commitSha":"3de6a665ea456d6bb3c9bf18c0263d79b0620f3a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"2e468c32ec96f7563df4633f00ed4dd986724e273eff3587dbf9427bfb6bc3f4"},"properties":{"commitSha":"bcf8fe41ae23f1bcca6bfd37f9e8c2996e33957b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"f9f75d5f178d7ffdc0ae80b11912cfe63d5b0215d5a375d659b516ee7a70f208"},"properties":{"commitSha":"bcf8fe41ae23f1bcca6bfd37f9e8c2996e33957b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"1584d40347a76f3bd39e3a80ef1dea4c3d6386fd30477be099bc1ba99f2d8680"},"properties":{"commitSha":"eb5185b732844766253a66998d72d0b11eaa73de"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"fc5a2f03adb9eb7b1a6733b68667a07831b4978ff326744667c1baf4e48b81f5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6936d6c0e94b3064cc5b2a50c978192034d4f37158aea466e06e669df2bf7c32"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0c517d8549ea2a78ba51de2363c9b446b9634f68da72f79208010361a2ff765"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e2fa14c7a71d62b61710e27d4d4e341bcc4bdf6bb64e3e5b220835095f2bee9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"279ab4128efcf02d68dbaec8d270c71c11d70db5d84eb80fb0eba586535b5cf9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b5ac5518c8d8d0a4319af23ef8f0291df85f12ce3b88ff72e69ca28c970928b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d62e55352a4b38184f42c53cd7aec964cd82400fce29f6b50ad3eb115eb3e43"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b96b6824b13bca6f923c79478d01a58ee45b750838786d4259e537f0342088e9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04e46a0baf7912f63329c64521bbc06d84ef537896699ca6d28d48aa4152f86e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77db551a83d65a088a9af11a9014e2e63207e24e4c44956d26908f2c4f00ffbc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c255bf524f1d88a764a33aaa8f8461dedb0284890b1bf167677c63ec356cd132"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7b69db676c9aaf917b0ff2216d73291f9a76b896a8ef497971bd689de17938b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b31ab66d03d8645c08d664cdf0ae1482264b0f32c227eb0f5cdbac5599448fc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"747c3a8d07f6f6429b223cb4e75f29185dc0252cc358f404aacaaf27805b6347"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de42dc4c21c2b36b5ad42c2477c809e4d68469ec1c7a7a95eb508ed8b1db7ccf"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f6b739b257dbe8d8102e3d01e1ad9334d6238d4233d10a8db47e9a28cace773"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f75c95396324d316ca9695a4db3395da5b0183e697a8092a0fba089d0ab72e49"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e717572307db7b2f28e0935a3b3abba5b6a1f803172c38ce8b0556a4b83d865"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"acc4d6fb81244cc5e6c223af1b5b399ea13219a31320855d1bda2e4fd6dd2e17"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66aae2a15c3959a02d6189d9cd56242bca3c5185104212b5c3e3cf9bd0d850fe"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e4b97e5b43e1c56ecbd5e34196698d5ead2bdbba8a75610c836c06c0e404bf4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86eeabd0db04d9e859a54222aa4cadac60ae815de9e00d07205cdbbcb4db507d"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6898fd958e941bf13eac392de59bcc51df4bbd13ff1071f40ba454288725937"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f018752884d6c558353ce1e26dec3e0e9fce711776fb283944f1ccdcfebe74d2"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f063bfc7d02ef96f41294d94b5cb9bf9ee326eccc1b3dd956ea3d0cc00cff352"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5ae9a0397276a95a3c60624b946c15703f699b5db589bd49d8529c99224e8e7f"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edcc98b3679d57ef9e295db04b4e3a807d8cc63b507fe51d22b0ab15c1974bd3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52e3d3c3c31253b5b7b1d5288d058260d371f3d140c21ff6b4f42a53b7d386ea"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0146151f2f5c7045424d1b151c9a52638719ebb59149fdaedc32d0043e48435"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cdb3be272fc01a208c7696222e25546a099644706c8b8affa397c414ba111c6"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bea04667d9740d4ce7bb8610739cedee3794d64de42afdca1c9571b243e5db49"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bdc2e0d2ccd0220fba0d5af31d67655349b82996f258f8ae594d0985108280c"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faaebe8a5c562ac54661aa6a1aef13ecb585aacc4900d7c5ced71e74bd4ffd60"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80a70ad0bbde6922ec5304a5447f130f5b551a669c587a315ef68550dd3129f8"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dfab83f68e3fdcb8c0cd69ceb473f32e126bfc8e292010bf932cac9b7dacab6"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f829c0993588659a431922c15983c4f2c9b6739c1b31a1387541aea7eb27b069"},"properties":{"dependency":{"package":"github.com/tektoncd/pipeline","version":"1.16.0","advisory":"GO-2023-1901","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","relation":"direct","declaredRange":"1.16.0","reachability":{"kind":"production","file":"cmd/workflowexecution/main.go","line":28}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"daf31e38d55147cb4ba2387446ec5f39edeac5270ce66dcf09b549c6d54bbf37"}},{"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":"eec6974260831de12d12e0c2cc6afc65ed3079ecd50dad6266780bda655ca5f3"}},{"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":"41eae5fcdf4f93729c7a45edcdd30fb1e528453352baf957db68636ab197261c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2bcd90165808253ae9840b1487f548d6ec3b3aa13f04ed6e3c45235cb6baaec2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9d759e07284befee649de2d28ea6af792e30d293c8fb5cd7d3393695570fb5f8"}},{"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":"5520764b6b0385a4b437ade7922f192f3c3d74d8a04254c2d97368167461ea24"}},{"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":"aa6b467c6f3b09e46266716b79daf2ac605eaa6c20f65f8d8a3c17970c142454"}},{"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":"e877943b90f9c55b38202e5165f86b7b9f24ebd23419ce230df92550aef665b0"}},{"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":"5a940e88c57a8ec197e3afd3f3b17bb89e109685d08d7a4be88c99d756ad5836"}},{"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":"3875b20281c1c8669d1871740974b9561764f8c289164883342ebb427bc9cb3c"}},{"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":"40bf83e1b6d230a6d0ebdf53cd432e50185508ffbf5bfada689fc8e48116be26"}},{"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":"552e027a9c5985308fca28931d37ac0d4ab1b60f1abbf83d06e56aee9fc688ed"}},{"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":"10bbc4eba3aef0b4c7472e21e9be2713b8b4698a7ea238a4d01c25e058e4fae6"}},{"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":"0a47f13de113891f213e6db59012e443ef8c8139ed070d93c08c2095e648d60b"}},{"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":"56e5b10437a2dd590339df50367918a0b27628d42f284196a00bdaa9d0b63b7c"}},{"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":"c055ea9a0a6e46e4e3af16e6d1583b28588599723650c0c9846762bbd7150093"}},{"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":"2ef9f465e106bd0216bf25cc24ce14f6b5425b7deb8ec2daa2f5e33504f3702a"}},{"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":"ce11b6b17d42287278c316a3acec365dfb63dfd7d4904a11eea386482a2ea14a"}},{"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":"73acd73af61f7254f737cfbd57547ecef3ed69f1d723882fe154b88e47c84f72"}},{"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":"51c9c9bb98cf8306c2eeca59a35c153dfab7d83f7d46fdf019ba0906c8f5f29c"}},{"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":"e4a509d8de6777f2a6cd53069466db5f9817c94f715753884c9c588336e8ed15"}},{"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":"d146db98941eff20d2a7960f3e41d3cdc19cfd645a86455bab86b7791ecb7b37"}},{"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":"c96d1273235ef9ad7fccb9158fa1b536a59186daee40b238437a78afd6679a14"}},{"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":"049c8403b34fed47255426e0c4683315c1c1bb40bc0b3b916c5ef0087f22d22f"}},{"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":"6ddc74b837846926b7782e2d5a0e3545688060bb9509917ade07a48c14b49171"}},{"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":"22cba4899dadab1bf96b0acf9eda74ea9c33c3370eef8631e6e616734082ad8d"}},{"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":"a8e91ba9b87401264a3374fe8a5ae0d3605de2b01bb8d13557580de35a1f15ba"}},{"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":"2421bf854e4a077c3e972d4cd9b3f68f60d170080ba23a90f2e18efbfe7647e6"}},{"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":"0d397731b41380145b7f0a0913f201a07538bc968c8f490aff32ccaff442d965"}},{"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":"ef64f69229154c8a8855568cedc703adba7aecda745ebc1b0d9201ff72aed009"}},{"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":"1196bee477a7cf92ae51a3ab9a3053f1f91b17789864eadc86a8aaf7995b5ea6"}},{"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":"8e4732023b72838f06993b6fe07dfc70a9008907ca0a42d98d9f6950efa03176"}},{"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":"7eddacb5c2085f8f266a99bfda0ecde2af9dc283d3350d5f846834bd8f5360c0"}},{"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":"98da6c5565ce0521d5764a6c0f3f4feb01ad72997cccb96a48e9a1e9039b1b11"}},{"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":"200c803aacc43e607b13d48dda2d9979b926f8f970cb6510c9a2dd6bf4fb5adc"}},{"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":"a0769e80fd8590157d65cedb7181e9a0e1612715521172f30f39707d22ba803b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 722 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 722 of the 893 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: pkg/apifrontend/resilience/k8s_dynamic.go, pkg/apifrontend/streaming/tracker.go, pkg/apifrontend/ratelimit/config.go. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/k8s_dynamic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5710f3624c5018bcf7726f15cca2fffbaa8969ed7bf12af1ce94431b75362e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/streaming/tracker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9357d2b7900c8da82a04106141a4f8329ceab4665d3d71d86dbf454b89d8c48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ratelimit/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef05322075a99eb0bd16a868156c8bca1e916cf9510b2342f433567580f5673"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: reconciler.go \u2194 effectivenessassessment.go: \u0060internal/controller/effectivenessmonitor/reconciler.go\u0060 (context internal) and \u0060pkg/remediationorchestrator/creator/effectivenessassessment.go\u0060 (context pkg) sit in DIFFERENT parts of the tree yet change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060975a8baf\u0060 refactor(#277): rename HashCheckDelay\u2192HashComputeDelay in Go producti\u2026; \u00602f6f2aa9\u0060 feat(#277): implement AlertCheckDelay, HashCheckDelay, and proactive \u2026; \u00609cef4fa1\u0060 feat(#251): implement async target detection and hash deferral \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/reconciler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e5bfd9c83dad4fc3326738bff3716958c32adaa2f87bd1d01b58a1c2a620c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: parser.go \u2194 schema.go: \u0060internal/kubernautagent/parser/parser.go\u0060 and \u0060internal/kubernautagent/parser/schema.go\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609c95e180\u0060 feat(types\u002Bparser): add Parameters to AlternativeWorkflow (#1169); \u0060d994e764\u0060 fix(schema): make api_version required and add EA fallback (#1040); \u006037083d91\u0060 feat(parser): propagate api_version from LLM through parser and respo\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e5d1e30b6df48a17902208f385debadfe0bf5bd10a3e58cdff9396bcf60c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: investigator_rca.go \u2194 investigator_workflow_selection.go: \u0060internal/kubernautagent/investigator/investigator_rca.go\u0060 and \u0060internal/kubernautagent/investigator/investigator_workflow_selection.go\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060735696f3\u0060 fix(kubernautagent): suppress duplicate reasoning_content_delta when \u2026; \u0060fefdbef7\u0060 fix(kubernautagent): propagate accumulated tool-call history in RCA a\u2026; \u0060ce6bbcb6\u0060 lint(tier4): remediate unparam findings - kubernautagent \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_rca.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e64d0804dd4cfe1fd651d26e0ad239e5abf00cee305792792ad3c6a44a7fc08"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: request_builder.go \u2194 aianalysis.go: \u0060pkg/aianalysis/handlers/request_builder.go\u0060 and \u0060pkg/remediationorchestrator/creator/aianalysis.go\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00600e95f03c\u0060 feat(remediationorchestrator,kubernautagent): propagate ClusterClassi\u2026; \u00609f64cfbc\u0060 feat(#462): add signalAnnotations to CRD, OpenAPI spec, RO wiring, an\u2026; \u00602d0adcdf\u0060 refactor(api): replace SP local types with shared aliases, eliminate \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/request_builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5d9e07a9b8cf80f84dc67327d4eb51857633b089e7909d3ef8b99476a8ebe5"}},{"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":"7dc63d1ce3428dfca62c12ee94ba1394fdff20bc1b1c062de5e9c8df06ccb547"}},{"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":"23242335439540a7f0752c9def5c038b557d1cb0f8e6f7b448b5f69adcab3c1d"}},{"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":"3b92e7a6446fd52fbc97cbcbfb55055e0cf9aef76d8a4d48e11a3dde5150ca0f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: RemediationAudit: \u0060RemediationAudit\u0060 is an aggregate/entity with 19 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/audit.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c662a2bbd6aa1f2da9bb45d1906ef5ef17d43c0d418fecbffc13bbcda7e5fd2b"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: AIAnalysisAudit: \u0060AIAnalysisAudit\u0060 is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/audit.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"997944814ca60aeac623bf84d01dbe317d77c333baa9c54d83a2d5b4520bc667"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: WorkflowAudit: \u0060WorkflowAudit\u0060 is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/audit.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69c4c47d25379af5355d71e497a1972460bf53a0452f507a0b711e8d42a18bd"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: ExecutionAudit: \u0060ExecutionAudit\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/audit.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e195b8f0cac42a37c986d3fbc526718aaf0bc6b13f4b5853edfbf04395ac887"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: NotificationAudit: \u0060NotificationAudit\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/notification_audit.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ed8d0df9b902e8f1339c18a7573167d3faa21333afd41709c264873edc65a8"}},{"ruleId":"DM4","level":"note","message":{"text":"Anemic entity: RemediationWorkflow: \u0060RemediationWorkflow\u0060 is an aggregate/entity with 41 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/workflow.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b856c42bff34c128b30ebdd6c665583098021ed3122adfae0b3ccf8bb1bb840"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Reconciler: \u0060Reconciler\u0060 exposes publicly writable state (Scheme, Recorder, Metrics, PrometheusClient, AlertManagerClient, AuditManager, and 2 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/reconciler.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2ef77a0bd1cad55fda976feb74328c400fa1d0cad285f556c01d12a8f113be"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Reconciler: \u0060Reconciler\u0060 exposes publicly writable state (Metrics, Recorder, StatusManager)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconciler.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e701f67991a83215d6d40bc2d8c596b00bf87ba021c4b2eb1699078154035e"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: NotificationAudit: \u0060NotificationAudit\u0060 exposes publicly writable state (ID, RemediationID, NotificationID, Recipient, Channel, MessageSummary, and 7 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/notification_audit.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0991c49b8bdb4327cd7054145591a1a7283c9f5e4c5579d820e80bf46f8a4bb"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: RemediationWorkflow: \u0060RemediationWorkflow\u0060 exposes publicly writable state (WorkflowID, WorkflowName, Version, SchemaVersion, Name, Description, and 35 more)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/models/workflow.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"db102fadb08cb0a891ff6031e6b86fe3f414e3b26ee1c6a0dcb14ceb870f503b"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/APPROVED_MICROSERVICES_ARCHITECTURE.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060remediationorchestrator\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/APPROVED_MICROSERVICES_ARCHITECTURE.md"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f93c90ebf9cc4c2f43d9baf1b5e13f608e3727ae34bd09ebc688d3e48caca3"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/KUBERNAUT_ARCHITECTURE_OVERVIEW.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060notification\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/KUBERNAUT_ARCHITECTURE_OVERVIEW.md"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1e9829e8cf0fea269851e201051e2047e08866bac8151bcfe72dc76c4890ba"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/KUBERNAUT_CRD_ARCHITECTURE.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060authwebhook\u0060, \u0060fleetmetadatacache\u0060, \u0060notification\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/KUBERNAUT_CRD_ARCHITECTURE.md"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"313bab928481836a003b38f9fdd2ef905f3e37b565e40cc4e2ff983d633aadc7"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/SERVICE_DEPENDENCY_MAP.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/SERVICE_DEPENDENCY_MAP.md"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"125ad68f715f723cef6a04ff37915aba04ce2ae1cd1601764cdd4ad98ece000f"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/decisions/ADR-032-data-access-layer-isolation.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060fleetmetadatacache\u0060, \u0060kubernautagent\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-032-data-access-layer-isolation.md"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"084f177ce5ddb5b582344f9fd12238fd3ce230360757c4ae31b7746031232bc6"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/decisions/ADR-EM-001-effectiveness-monitor-service-integration.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060fleetmetadatacache\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/ADR-EM-001-effectiveness-monitor-service-integration.md"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d340d6332b56813337290def01f6990fd1d1f280a9e9ce5f86159f6b1d31e11"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/decisions/DD-WORKFLOW-017-workflow-lifecycle-component-interactions.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060gateway\u0060, \u0060notification\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/decisions/DD-WORKFLOW-017-workflow-lifecycle-component-interactions.md"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"50527a1c0c9d1f8a16e9d0f96c42a5cba90482d21ec71d993515eb042f007585"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/diagrams/kubernaut-layered-architecture.svg\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060fleetmetadatacache\u0060, \u0060signalprocessing\u0060, \u0060workflowexecution\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/diagrams/kubernaut-layered-architecture.svg"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46ed6146ca227fca1e4619f30ae7bf5060b048e4417d9087bb1fbc9d699a469"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/architecture/references/visual-diagrams-master.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/references/visual-diagrams-master.md"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8072fbe3a810c18f4d28a3cfecf9ceb44c53a9c55a8b9b6b37d6a5b520b591"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/presentations/svg/04-architecture.svg\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060authwebhook\u0060, \u0060fleetmetadatacache\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/presentations/svg/04-architecture.svg"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7be3af36b6eea9effd42037928b4f1d056506696a10077cfe389a00259b927d"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/services/apifrontend/design/ARCHITECTURE.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060gateway\u0060, \u0060workflowexecution\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/services/apifrontend/design/ARCHITECTURE.md"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595545fe7f1c05221ca96681020bb15ad3cccd9dec6fe65f761a7757452a8aa"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/services/crd-controllers/02-aianalysis/integration-points.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060datastorage\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060gateway\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/services/crd-controllers/02-aianalysis/integration-points.md"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404cce42811c9fc152fd268e2c9ce65180b96b25d48721bcf87f894ea0f2a97"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/services/crd-controllers/02-aianalysis/overview.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060gateway\u0060, \u0060notification\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/services/crd-controllers/02-aianalysis/overview.md"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a2465f229ec593effc0086e5b55a018d00c0399fd618c011c9c3d8df68a73"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060docs/services/crd-controllers/05-remediationorchestrator/overview.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060apifrontend\u0060, \u0060authwebhook\u0060, \u0060effectivenessmonitor\u0060, \u0060fleetmetadatacache\u0060, \u0060kubernautagent\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/services/crd-controllers/05-remediationorchestrator/overview.md"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eac8ee91fcbf298a74f5d170121a5712d8fe1698ef2f7e2887ad635e2ef7a69"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060value-proposition/README.md\u0060, but \u0060docs/value-proposition/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"23736946810c0bbbbecbd8cdf8dbb221d1c21b1002e7bf3046a8eccc816b4706"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060value-proposition/TECHNICAL_SCENARIOS.md\u0060, but \u0060docs/value-proposition/TECHNICAL_SCENARIOS.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0914df1041295124f4ec50d0c935a69a8e5aad82d706aab44cbd6fc2fa87d2f9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060value-proposition/V1_VS_V2_CAPABILITIES.md\u0060, but \u0060docs/value-proposition/V1_VS_V2_CAPABILITIES.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bcd148a6542fb74f2f3e5057a824f26648056df7c4c2617a33353f56ed7e9a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060development/getting-started/setup/PGVECTOR_SETUP_GUIDE.md\u0060, but \u0060docs/development/getting-started/setup/PGVECTOR_SETUP_GUIDE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9cb25b9f9d42d929e1bfe81da4c69a2866f592601ce6c9cccc088bd0098e49"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060architecture/AI_CONTEXT_ORCHESTRATION_ARCHITECTURE.md\u0060, but \u0060docs/architecture/AI_CONTEXT_ORCHESTRATION_ARCHITECTURE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c43e1869391f6e5c6f51b5dcce9557a0c4863a2226f580dfe50d3ae61b8824"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060architecture/analysis/OSCILLATION_DETECTION_ALGORITHMS.md\u0060, but \u0060docs/architecture/analysis/OSCILLATION_DETECTION_ALGORITHMS.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7863cb602f83ab9719e54223ef14b8c28c1f5c4b97de80200bb8af1ca1253c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060TESTING_FRAMEWORK.md\u0060, but \u0060docs/TESTING_FRAMEWORK.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad33f36343396781a227a4ec0c09316bdf525b4ceecd0f8d6736abd390bdf1b6"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060development/E2E_TESTING_PLAN.md\u0060, but \u0060docs/development/E2E_TESTING_PLAN.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bad613efd6b47a86106e97e6b3ac7f0fc36ce9d63070f1c48a16accd7d38a7d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060development/e2e-testing/QUICK_START.md\u0060, but \u0060docs/development/e2e-testing/QUICK_START.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de13deb819e63eddd155fedf7fdba9cb1a12b14cf1751bd45a5b3d0432076b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060development/e2e-testing/KCLI_QUICK_START.md\u0060, but \u0060docs/development/e2e-testing/KCLI_QUICK_START.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a4123fd3476eb13f5314edbfa90be015b3f348ba6e4380ff78a898775efa41"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060api/testutil/README.md\u0060, but \u0060docs/api/testutil/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd2b95aca78011890956700fa1c45e832f4577ce26d1d73d68d558c49740bf3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060status/AI_INTEGRATION_VALIDATION.md\u0060, but \u0060docs/status/AI_INTEGRATION_VALIDATION.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c259777a102f7ba240cdbfbd55cf3cd94210a1aec4438412cbe214bead4bc5c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060status/TODO.md\u0060, but \u0060docs/status/TODO.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"445822fa55da4d73795e03cfde10998f8ef72da153d84684880db10471805da0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/pattern-engine/PATTERN_ENGINE_IMPROVEMENTS.md\u0060, but \u0060docs/specialized/pattern-engine/PATTERN_ENGINE_IMPROVEMENTS.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c1ea12422b888d1e40fdc6ccc17c8ffb8686173140e7e7fc7fab4ebc43c860"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/pattern-engine/PATTERN_ENGINE_HIGH_RISK_MITIGATION.md\u0060, but \u0060docs/specialized/pattern-engine/PATTERN_ENGINE_HIGH_RISK_MITIGATION.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"157447edf47ff5b9b3b2c8d61b6c68ec23393c361a532acf6ef3ea410b7fa081"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/pattern-engine/PATTERN_ENGINE_MEDIUM_RISK_MITIGATION.md\u0060, but \u0060docs/specialized/pattern-engine/PATTERN_ENGINE_MEDIUM_RISK_MITIGATION.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e761fcbb26efef730da49cd8de9df12012d28056d27c77f480bcf818a5e3afe4"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/testing-analysis/COMPREHENSIVE_BRITTLENESS_SOLUTION.md\u0060, but \u0060docs/specialized/testing-analysis/COMPREHENSIVE_BRITTLENESS_SOLUTION.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"076279a22d16dbd0a7f5dab3d3e76f72e58b8df51113bbf7dd84ff26fc393397"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/testing-analysis/BRITTLENESS_ANALYSIS_AND_SOLUTIONS.md\u0060, but \u0060docs/specialized/testing-analysis/BRITTLENESS_ANALYSIS_AND_SOLUTIONS.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"81edf6ea7e49d8cc11da44dca27c1a37e29b63a3c40dc41d82482761bbae3d16"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/integration-notes/README_INTELLIGENT_WORKFLOW_BUILDER.md\u0060, but \u0060docs/specialized/integration-notes/README_INTELLIGENT_WORKFLOW_BUILDER.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"943ddc3f00e5b4600478a90a7d972175b701ac4338c2795e072d8f9967a3ea09"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060value-proposition/\u0060, but \u0060docs/value-proposition\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3dc5c0aacc21c4e5d59b6cbd24dc684351e95da30e9e424a53cd4fb77cb62d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060ARCHITECTURE.md\u0060, but \u0060docs/ARCHITECTURE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2341ace53d16c9ee6d1a6a0c7bf3248444dc6030106a5710d8d04a0cda537bfa"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060status/\u0060, but \u0060docs/status\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc084492718cfcac5138b10b1f5a29098e61dfdb5726abec1904abaa3096320"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060planning/\u0060, but \u0060docs/planning\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcfb03a125757c529325bafd667828dcca53094b0f6cb66bdac77a29f81b9d9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060specialized/\u0060, but \u0060docs/specialized\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"88850ad5510af81b0984fbc84ddf6cf4056b70eef15e1bcfec53564811f12124"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/architecture/README.md links to \u0060KUBERNAUT_IMPLEMENTATION_ROADMAP.md\u0060, but \u0060docs/architecture/KUBERNAUT_IMPLEMENTATION_ROADMAP.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/README.md"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b36c5ff568e7f42b17e598b4b34b6526d84b539a14eb0cb3a2bfc89b42676"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/architecture/README.md links to \u0060AI_CONTEXT_ORCHESTRATION_ARCHITECTURE.md\u0060, but \u0060docs/architecture/AI_CONTEXT_ORCHESTRATION_ARCHITECTURE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/README.md"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4862378ffc727f52251667412427162f88923343ea36406a3a3802517fbe57d0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/architecture/README.md links to \u0060../implementation/\u0060, but \u0060docs/implementation\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/README.md"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a90bf6d91fd9b2b62b0c3c2806fd579bdd4ea653a95102e0bb08feb9820f6c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/architecture/README.md links to \u0060../strategic/\u0060, but \u0060docs/strategic\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/README.md"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6279edb32f4f51887fc846188786dabb8f322dece9901d6de199760f39d3104"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/architecture/README.md links to \u0060../concepts/\u0060, but \u0060docs/concepts\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/README.md"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d73001fa24c3f789edbf38a2a9465270f4da3f06695a090f61c5b00bd07323"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/development/README.md links to \u0060./CRITICAL_PATH_IMPLEMENTATION_PLAN.md\u0060, but \u0060docs/development/CRITICAL_PATH_IMPLEMENTATION_PLAN.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/development/README.md"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e19f0a809b123ec9dae0a1766ee0e0e7f9135d684af11feb37569c14d6fba36"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/operations/README.md links to \u0060../DOCUMENTATION_STRUCTURE.md\u0060, but \u0060docs/DOCUMENTATION_STRUCTURE.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/operations/README.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf3526a0a755241ed580f8b8e001f139a10f6c183a4a0ae6e5d68e247299abb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/operations/README.md links to \u0060../troubleshooting/\u0060, but \u0060docs/troubleshooting\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/operations/README.md"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefb6021b73ec1cc42f3b72990ff4543772535f5f4c13e7048e58eb969b086d3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05261d455c20b61d970622c43215e109243a8438f800017ec67f6932224b98"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a0ed6e8049ab6f681497bd7b66206c1145e14d0f6c3343547194125ee58c30"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"e596f1d54d9cda359102c7e77392a5270b5c135b83aa1c48f2e611bd976aa328"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd0b9e4cfa5bcbdfc534340e6b8ad0492cb76cfba21387d4c87ea6d1ff46fc4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de2a6b7a3edf15d15f7edd1b9b71025458aba0bcb00135f4344e06b4495e9e8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7afe2b2abce79d0a6aa0d6faacfa034e5a38aa56b775a76403c339474c8065"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2ac6d26b7be83ce0e8debb073929c92e21f3e932a5d526a536c0cd836d4b81"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b380884e97dc145237d976809900003ea6635078e3a98f1bbf405b0c2754cb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a13a23fa094d8c48fd1570002ebbe6c254bd30ca72e533dc95d56c8279176f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"d688a65627410558e896c2ba6eae5089f29bc99ff3f68bff0d0452441f21bb07"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f32325b333f66894f95fc0201dd5ee2cdeed3a0ca6232e69a9f238db2d49974"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3ad5fb69d064ead3462c2815b457d7c23db0e1bde7f7695132f60dff0f7b52"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab47ca5f6b47717749cbafaefb6df31822a61e3c5fdc88915a24469172868006"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6894dd275e9adf093335d9e0e0dfa7902e6540886b4ffc7b1419f3841049ba"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd92d18c9fd7299911784dac2319dcea8ea1b69b0543d4d94d68a95ab2793a4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2da819ffba6283bba4db26bbaaf363dd8dc6ab63840b1b3876073f18d880bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"f599c55326b9b84a008d6bd885bcad755d3532cc58028aa272d269582c396f66"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba270e41f812936db7bcf6ae2e0dc89bcd70a185588dccbe0b93a0aa3d06b4c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f98de7935d5b038e30ef3768c0aec8c915e74983c4dad75d27a25631acc6a63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cfg.Fleet.Enabled || cfg.Fleet.MCPGatewayEndpoint == \u0022\u0022\u0060 appears character-identically in 3 files \u2014 cmd/apifrontend/backend_deps.go, cmd/effectivenessmonitor/main.go, cmd/remediationorchestrator/main.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd7859c9583b10de61f4004ae459f4f39d0c8680bcfb3680e83cbe6f6cff2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!errors.IsNotFound(getErr) \u0026\u0026 !errors.IsForbidden(getErr)\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/enrichment/k8s_adapter.go, pkg/kubernautagent/tools/k8s/resolver.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d5e9370410dfb9392f7c852693d2d114afcfdc32bd46847c79c3ae03b95db6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!interactiveEnabled \u0026\u0026 tools.SessionDependentTools[t.Name]\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/handler/agentcard.go, pkg/apifrontend/handler/mcp.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/agentcard.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc0a871873600be58610ada489c1157fc5953eb8a33031f77fbdca5f96fd788"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ok || time.Now().After(entry.expiresAt)\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/tools/discover_cache.go, pkg/signalprocessing/cache/cache.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/discover_cache.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c3e9926c3502b9b9b7edde9da70b10c071518cf04d2a7d3800ccdda5f62d9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IsTerminal(sess.Status) || sess.Status == StatusUserDriving\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/session/manager_interactive.go, internal/kubernautagent/session/store.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager_interactive.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0072b674bbaa1b007bb64156f48d9bd9ce45d89de9a48a8a0f437798b578f9d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ai != nil \u0026\u0026 ai.Status.GetRCAResult().RootCauseAnalysis != nil \u0026\u0026 ai.Status.RCAResult.RootCauseAnalysis.RemediationTarget != nil\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/pre_remediation_hash.go, pkg/remediationorchestrator/creator/notification.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/pre_remediation_hash.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"123612e06759d355354ac5a22ef1fb22310156f67d98276caf327cbc367433a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ai.Status.GetReview().NeedsHumanReview \u0026\u0026 ai.Status.GetRCAResult().SelectedWorkflow == nil\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/analyzing_handler.go, pkg/remediationorchestrator/handler/aianalysis.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cd7b765f3429e3c7c2542b8cdad0dd9dcd3305797142d4118719598b21dc51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apierrors.IsNotFound(err) || apierrors.IsForbidden(err)\u0060 appears character-identically in 2 files \u2014 internal/controller/effectivenessmonitor/target_resources.go, internal/controller/remediationorchestrator/pre_remediation_hash.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/target_resources.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1634204950e83c1bf859faf00e01cdcf2f8efdd14c806336964418cc73c403a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060as.Status.SessionID != \u0022\u0022 \u0026\u0026 as.Status.SessionID != sessionID\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/agentsession/dispatcher.go, internal/kubernautagent/agentsession/status_writer.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5198e840df4220808fca18154115663ca2b1851e4b4827db2a985e90130f02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.Fleet.Endpoint != \u0022\u0022 \u0026\u0026 !c.Fleet.OAuth2.Enabled\u0060 appears character-identically in 2 files \u2014 pkg/signalprocessing/config/config.go, pkg/workflowexecution/config/config.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/config/config.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ecabd7077b0cc6f7a81ff81de03b4bb62a00575e85d59fde805676b07c131"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.Server.MetricsPort \u003C 1024 || c.Server.MetricsPort \u003E 65535\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/config/config.go, pkg/datastorage/config/config_validate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/config.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9abab79d15fd228a1901e3bda168df226039348dcddd96234763f19fdb4a1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.Server.Port \u003C 1024 || c.Server.Port \u003E 65535\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/config/config.go, pkg/datastorage/config/config_validate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/config/config.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbb8ef252daebfe572206e0fd8b2a4107f21a8ae7297e77791a1db82f149ce9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.httpClient != nil \u0026\u0026 c.httpClient.Transport != nil\u0060 appears character-identically in 2 files \u2014 pkg/fleet/mcpclient/auth.go, pkg/fleet/mcpclient/reloadable_auth.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/auth.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c6d591423291e6746a6d842d8d4069cd19dd209af977031c9c0c5503bb5f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.Fleet.Enabled \u0026\u0026 cfg.Fleet.EffectiveEndpoint() != \u0022\u0022\u0060 appears character-identically in 3 files \u2014 cmd/apifrontend/backend_deps.go, cmd/remediationorchestrator/main.go, pkg/gateway/server_constructors.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/backend_deps.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b65024fb83bd79ee8ec501de47df94e7c5ce8c0657ea217a6e956ed6f45bc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clusterID == \u0022\u0022 || r.readerFactory == nil\u0060 appears character-identically in 2 files \u2014 internal/controller/effectivenessmonitor/reconciler.go, internal/controller/remediationorchestrator/config_accessors.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/reconciler.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7837dc23d3fce8ac66ae81cc47cf7fe3a6de882d44e01578b11ccba5c61de16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code == http.StatusBadGateway || code == http.StatusServiceUnavailable || code == http.StatusGatewayTimeout\u0060 appears character-identically in 2 files \u2014 pkg/shared/transport/circuit_breaker.go, pkg/shared/transport/retry.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/transport/circuit_breaker.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0fc5c591247c5af375326f726e8931dd485e9ebe8ceb276780000ef13d3938"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060condition != nil \u0026\u0026 condition.Status == metav1.ConditionTrue\u0060 appears character-identically in 3 files \u2014 pkg/effectivenessmonitor/conditions/conditions.go, pkg/shared/conditions/conditions.go, pkg/signalprocessing/conditions.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/conditions/conditions.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a195888e2296803bc68bfd42596cbefca54d4f32fa1ccfddd5df9446dfcc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.Analysis != nil \u0026\u0026 ctx.Analysis.RootCause != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/notification/delivery/pagerduty_payload.go, pkg/notification/delivery/teams_cards.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty_payload.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5482c1ee9eadbe5b031e496992fc20ba7d973a13e2c11a86776bd97e01655c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.Target != nil \u0026\u0026 ctx.Target.TargetResource != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/notification/delivery/pagerduty_payload.go, pkg/notification/delivery/teams_cards.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty_payload.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fd440c97d75935fb25b253518125418533e10d079d567c56c85f8d6f19a5e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.Workflow != nil \u0026\u0026 ctx.Workflow.Confidence != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/notification/delivery/pagerduty_payload.go, pkg/notification/delivery/teams_cards.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty_payload.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7d730accd90e9898f9feac6f69a55844a47c37868734597652a4d99426eb7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ea.Spec.Config.HashComputeDelay != nil \u0026\u0026 ea.Spec.Config.HashComputeDelay.Duration \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/controller/effectivenessmonitor/reconcile_orchestrate.go, pkg/effectivenessmonitor/audit/manager.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/effectivenessmonitor/reconcile_orchestrate.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73f7e4bcec9e090ce4cb9109fee1e8fc91ef11478d16523481d9143451009b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enrichData != nil \u0026\u0026 enrichData.HistoryUnavailable\u0060 appears character-identically in 3 files \u2014 internal/kubernautagent/investigator/investigator.go, internal/kubernautagent/investigator/investigator_discovery.go, internal/kubernautagent/investigator/investigator_workflow_selection.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bf09414a610967da2e35613f26eeeb3be614a26c8572f07bf2adeed71a705b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !apierrors.IsNotFound(err)\u0060 appears character-identically in 2 files \u2014 internal/controller/workflowexecution/workflowexecution_lifecycle.go, pkg/apifrontend/session/service.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_lifecycle.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e5c79eea8532fd5d634aa11adf1c1bd49dd4f9008ffc1df6a4c4856939d4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, routing.ErrNotBlocked)\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/analyzing_handler.go, internal/controller/remediationorchestrator/pending_handler.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"06818cab3431cc8bccb851f046938536ea82e96da77be893684551b95c329920"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || len(raw) == 0 || string(raw) == \u0022null\u0022 || string(raw) == \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/agentsession/mapping.go, pkg/aianalysis/handlers/request_builder.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/mapping.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db17d83be82a8939f7a6f5a545124d0c430585452aa97b060be6c518d40740"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, context.Canceled) || (errors.Is(err, context.DeadlineExceeded) \u0026\u0026 ctx.Err() != nil)\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/investigator/investigator_gates.go, internal/kubernautagent/investigator/investigator_loop.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"936ea6935ca52a4f20e6e5a25f380d82cc871e5383aa40efc8360470d3f3b7cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded)\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/enrichment/ds_adapter.go, internal/kubernautagent/enrichment/enricher.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/ds_adapter.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2195f6dcc0319fae3859971fb1114cb050a5953e54cdd94058b79e514167580e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, syscall.ECONNRESET) || errors.Is(err, syscall.ECONNREFUSED) || errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF)\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/resilience/retry.go, pkg/shared/transport/retry.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/resilience/retry.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"670a1c377b7116a5db630479c6132b9333da7ed0b8cd8e7a22b6707875252c64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.Part != nil \u0026\u0026 evt.Part.Content != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 docs/architecture/spikes/run-state-persistence/main.go, docs/architecture/spikes/shadow-acp/main.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3169cd4a40ec8fea1e76fd1288fc66febaf02884087d146f66545129bf644d14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.Type != watch.Modified \u0026\u0026 evt.Type != watch.Added\u0060 appears character-identically in 3 files \u2014 pkg/apifrontend/handler/status_handler.go, pkg/apifrontend/tools/crd_tools_session.go, pkg/apifrontend/tools/crd_tools_watch.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"164b23ddd9fd448c477a14ccb7cbeeeda40c8bdf546d7f1ad111f837e80361f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.Name == ref.Name \u0026\u0026 existing.Namespace == ref.Namespace\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/executing_handler.go, pkg/remediationorchestrator/handler/aianalysis.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/executing_handler.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13276fcc85f1f922dd7227f572061f6ef140c6b0551d8142ff934a15ae811f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedUID != \u0022\u0022 \u0026\u0026 rr.UID != expectedUID\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/terminal_transitions.go, pkg/remediationorchestrator/helpers/retry.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/terminal_transitions.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d139ec8fb0819b461ba5b3eed662c56388b6193eb0ef555ebba14281a74401"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fallbackErr != nil || len(fallbackMappings) == 0\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/enrichment/k8s_adapter.go, pkg/kubernautagent/tools/k8s/resolver.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ccecb6276337a2a52da09a8751846db2757da2518281276514db435081c195"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identity == nil || identity.Username == \u0022\u0022\u0060 appears character-identically in 3 files \u2014 pkg/apifrontend/agent/phase_guard.go, pkg/apifrontend/launcher/session_interceptor.go, pkg/apifrontend/session/decorator.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e5d939a54d87ce1debf47164da72c8901cf3328924f7c6338cde05184d1939"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isHistoryUnavailableStatus(reEnriched.HistoryStatus) || reEnriched.HistoryUnavailable\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/investigator/investigator.go, internal/kubernautagent/investigator/investigator_discovery.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5903e02baa19b99b970bc18f7d96439b2ad38f8ee004af8abdad22a01254c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest == nil || sess.CreatedAt.After(latest.CreatedAt)\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/session/manager_interactive.go, internal/kubernautagent/session/manager_query.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager_interactive.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8714f6c246ca6f20f731faee8b445d5663742f14fe3d968561d822debdfeb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lease.Spec.RenewTime == nil || lease.Spec.LeaseDurationSeconds == nil\u0060 appears character-identically in 2 files \u2014 pkg/gateway/processing/distributed_lock.go, pkg/remediationorchestrator/locking/distributed_lock.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/processing/distributed_lock.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"22245c2d85bedc8be8975d888b7edcdb0825c3c4544e084d154c95b05c182899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(maxConcurrentReconciles) \u003E 0 \u0026\u0026 maxConcurrentReconciles[0] \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/controller/aianalysis/aianalysis_controller.go, internal/controller/effectivenessmonitor/reconciler.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/aianalysis/aianalysis_controller.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede3aaf88c65cd34228940a2cdd8294f5b96f704b6f551f771c2707ab4db4be4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(raw) == 0 || bytes.Equal(raw, []byte(\u0022null\u0022))\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/mcp/tools/select_workflow.go, pkg/apifrontend/tools/ka_tools.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/select_workflow.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b9f4cc2463d2027b95b0e40be7f5997ccb14c4d8cef98d08bc5c3029af8e2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(req.Input) \u003E 0 \u0026\u0026 len(req.Input[0].Parts) \u003E 0\u0060 appears character-identically in 3 files \u2014 docs/architecture/spikes/hitl-permission/main.go, docs/architecture/spikes/run-state-persistence/main.go, docs/architecture/spikes/shadow-acp/main.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf02456f5b1e14ed97d737f78fadeb8a08126d2e41ad68d2bbc1612d48ff435"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(result.Tier1) == 0 \u0026\u0026 len(result.Tier2) == 0\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/enrichment/ds_adapter.go, internal/kubernautagent/prompt/history.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/ds_adapter.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d5e4c21b84df0576bba1f4c6b8cd27a9d5f6d8e533186f7aa2b6282a2e9149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(results) == 0 || len(results[0].Expressions) == 0\u0060 appears character-identically in 2 files \u2014 pkg/aianalysis/rego/evaluator.go, pkg/signalprocessing/evaluator/evaluator.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/rego/evaluator.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef1073addc0929444c60a9d60ecaa9af724a2a868c7d77fbd0f4a448a5b4c29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060page.State != inventory.StateSuccess \u0026\u0026 page.State != inventory.StateEmpty\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/policyread/service.go, pkg/fleet/acm/inventory.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/policyread/service.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22eaae40e67701f404b2eddb2a717adae14aca224c5c6c10e8841d33e0243bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preHash != \u0022\u0022 \u0026\u0026 rr.Status.EnsureOperatorAudit().PreRemediationSpecHash == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/analyzing_handler.go, internal/controller/remediationorchestrator/awaiting_approval_handler.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/analyzing_handler.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d371562876bf6da041b7f3e7ac2f2f1cb7230dca062a510a0cf82b63284a5721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.Method == http.MethodGet || r.Method == http.MethodHead || r.Method == http.MethodOptions\u0060 appears character-identically in 3 files \u2014 pkg/gateway/middleware/alertmanager_freshness.go, pkg/gateway/middleware/event_freshness.go, pkg/gateway/middleware/timestamp.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/middleware/alertmanager_freshness.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff13c224b6a36e82240e46b853ce80a9fd6694e8e6cab6e7c6bd6774dfa5c948"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rar.Spec.Workflow == nil || rar.Spec.Workflow.WorkflowID == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/tools/crd_tools.go, pkg/authwebhook/remediationapprovalrequest_handler.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc950283a36223573ca5de8488b80a0ed3288ced55806060b4df5dfc2e379b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rca.RootCauseAnalysis != nil \u0026\u0026 rca.RootCauseAnalysis.Summary != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/remediationorchestrator/creator/approval.go, pkg/remediationorchestrator/creator/notification.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/approval.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab01441f907968bbc2cfb133b3b7b469f1864ab87b2aa635305598c604b9ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rcaResult != nil \u0026\u0026 rcaResult.RemediationTarget.Kind != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/investigator/investigator.go, internal/kubernautagent/investigator/investigator_discovery.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70239bc516360b67fcfa600e92b84ec5d617d36ce46610f075dc9f28c2b5882"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reEnriched != nil \u0026\u0026 reEnriched.HardFail\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/investigator/investigator.go, internal/kubernautagent/investigator/investigator_discovery.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator.go"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"434751384d34c7a8bdfa079a579a91fbca9a6d9d3a21872116c60d8c9897d996"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060readerFactory != nil \u0026\u0026 args.ClusterID != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/tools/kubectl_get.go, pkg/apifrontend/tools/kubectl_list.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/kubectl_get.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de70dee2445d88181d650654f0bb52452385df86bfab98946c8557560fd0dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource.Namespace == \u0022\u0022 || scope.IsClusterScopedKind(resource.Kind)\u0060 appears character-identically in 2 files \u2014 pkg/fleet/acm/inventory.go, pkg/fleet/scopecache/client.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/inventory.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f023b2f03a14722c822f02dd1e5ee807ff16dc7159cbccf2a38f8e7aae0f3a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode != http.StatusAccepted \u0026\u0026 resp.StatusCode != http.StatusOK\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/ka/rest_client.go, pkg/workflowexecution/executor/awx_client.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/ka/rest_client.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a3c195b27a6bce44a3ffe2fa072fa06bab53310622705250131520e3ce3cf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003C 200 || resp.StatusCode \u003E= 300\u0060 appears character-identically in 3 files \u2014 pkg/audit/datastorage_prober.go, pkg/kubernautagent/tools/alertmanager/client.go, pkg/kubernautagent/tools/prometheus/client.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/audit/datastorage_prober.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1f0cf35fcd5f07aca313d53610f909c0977f1a4bc9467095be77eee8c3103"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003C http.StatusOK || resp.StatusCode \u003E= http.StatusMultipleChoices\u0060 appears character-identically in 2 files \u2014 pkg/fleet/acm/inventory.go, pkg/fleet/fmc/inventory.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/inventory.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f525dbf59da4e6edf183d23aea1c08aad151d829c94d3e333f2bd66fc1125f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode == http.StatusForbidden || resp.StatusCode == http.StatusUnauthorized\u0060 appears character-identically in 2 files \u2014 pkg/fleet/acm/inventory.go, pkg/fleet/fmc/inventory.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/acm/inventory.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04fa9636cdc44061cbddaddd46bc49c0f578d541020e9c25e557fedb105f00b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003E= 200 \u0026\u0026 resp.StatusCode \u003C 300\u0060 appears character-identically in 3 files \u2014 pkg/notification/delivery/pagerduty.go, pkg/notification/delivery/slack.go, pkg/notification/delivery/teams.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e832bcfe746421a0c1832a1696cca54528fd2c911fed697b5b5b8ec4f41388"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != nil \u0026\u0026 result.EvidenceStatus != nil\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/enrichment/enricher.go, internal/kubernautagent/session/manager.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/enricher.go"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bc1f5f560f2a02de7e8c97eb4a3cee7810789a873995e18522f69948b1094d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != nil \u0026\u0026 result.HumanReviewNeeded \u0026\u0026 result.HumanReviewReason == katypes.HumanReviewReasonAlignmentCheckFailed\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/session/manager.go, internal/kubernautagent/session/store.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2683520a9539d92fa299e8fe0e1f30131ad8b03876f471627d24b7b7f767e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result == nil || len(result.Content) == 0\u0060 appears character-identically in 3 files \u2014 docs/spikes/multi-cluster-mcp-gateway/spike-s1-ka-mcp-client/bridge_tool.go, docs/spikes/multi-cluster-mcp-gateway/spike-s4-federated-scope/client.go, pkg/fleet/mcpclient/client.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/spikes/multi-cluster-mcp-gateway/spike-s1-ka-mcp-client/bridge_tool.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"be15b0bcc51b300e77ab8bc8545504b497e3e126fee65b334cfd6ee8d702418a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.RemediationTarget.Kind != \u0022\u0022 || result.RemediationTarget.Name != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/kubernautagent/investigator/investigator_audit.go, internal/kubernautagent/prompt/history.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad45fbb6ab7b6f1d6fafac0cb07348da8e0b36cea8266aca0667e739a825a6d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rr.Status.TimeoutConfig != nil \u0026\u0026 rr.Status.TimeoutConfig.Global != nil\u0060 appears character-identically in 2 files \u2014 internal/controller/remediationorchestrator/reconcile_loop.go, internal/controller/remediationorchestrator/timeout_management.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconcile_loop.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cb6bf422e0ffcd578c5bd2b3966ce67798c279095ef6bda3a1ea74cfab1b36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060severity == \u0022\u0022 || strings.EqualFold(strings.TrimSpace(severity), \u0022unknown\u0022)\u0060 appears character-identically in 2 files \u2014 pkg/apifrontend/agent/phase_guard.go, pkg/apifrontend/launcher/event_bridge.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d28bccc32fd1ec84277141708b686f46eb75deab9eb772adf10fcea28e3fb87"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: this function literal changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060SSL_CERT_FILE\u0060 environment variable (set at line 330, cleared at line 332) and the \u0060SSL_CERT_DIR\u0060 environment variable (set at line 335, cleared at line 337) and the \u0060TLS_CA_FILE\u0060 environment variable (set at line 340, cleared at line 342) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, so anything that leaves the body in between \u2014 an error, an early return, a crash \u2014 skips it: the process then keeps the overwritten value for the rest of its life, and every later relative path, child-process launch or configuration read in ANY code resolves against it. That failure is silent and remote from its cause \u2014 the function that breaks is not the function that moved the value. The window is not private while it is open either: the working directory and the environment are per-process, so every concurrent thread or Go process in it sees the moved value too. The durable fix is not to widen the restore but to stop mutating the global: give the child its own directory and environment (\u0060exec.Cmd.Dir\u0060, \u0060exec.Cmd.Env\u0060), or build absolute paths with \u0060filepath.Join\u0060. Where the global genuinely must move, put the restore in a \u0060defer\u0060 right after the change, so it runs on every return and on a panic."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/tls/tls.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e8bd5a04d245b45a8f41ce32229a54c5049be46aa118e42565a9cb20b076d"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 34/53 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: waitForHealth: \u0060waitForHealth\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9615008a34428dd239baa2674494c05ddd145ae77019fabc4eb1c4ab10d49e9"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: createSyncRun: \u0060createSyncRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1e91c6d9baa7c99ce69454053f31f1d4b9d07d209d3dda13b4e377bd2189b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: createSyncRunWithSession: \u0060createSyncRunWithSession\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a94f2ac10ae58135c201ff3a1f715a2dde3146fc6a07d4493fd7ebe9f1d3a18"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: createAsyncRun: \u0060createAsyncRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba37b000cf2439268d8a7e5afc1b331e49b62b707fc0f26f0e7e482305e8937"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: resumeRun: \u0060resumeRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32f97ee4796e9a7d2b609e18eb077d8305a2fe925cc79f7bb90472fc75fc370"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: streamRun: \u0060streamRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a130318dc903cfd9f6dceadd773def5146914b50e3f27cc55b1710c7594d47"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: cancelRun: \u0060cancelRun\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6cc23b01d65a6e730fa4e6f823f51ca9efc2d9569a1b4629a9dc30965ab1e1"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getRun: \u0060getRun\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"1402bd06c3ad786c0675bc62a059ccf781e798205a8b04a1c4ad3f898e9fd615"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: evaluateWithShadow: \u0060evaluateWithShadow\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/shadow-acp/main.go"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a69f1a75f8af3acc6c81d0f7a96f5c4777dae468623837a1a891b9044a9720b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: testGetRunAfterRestart: \u0060testGetRunAfterRestart\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c633b534a6e6b2df8b39a25f4512c22770e10b7cc761c3442176a160a46650"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: testOptionAvsOptionC: \u0060testOptionAvsOptionC\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8638a809bfbebda0fc51291cd664ffafa4b18d901ecad3a2e7629d9ea6e3ee"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: createSyncRun: \u0060createSyncRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd0b9f898c65a87524bbc117ed1e1661b7699f8c2aa2d01e84f4fce8b5c96b8"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getRun: \u0060getRun\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"47afad7cc580c584bab81c6f3923e6831fde188b12a66dc7b1176bc2af2250e3"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: streamRunWithError: \u0060streamRunWithError\u0060 calls \u0060http.NewRequestWithContext(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb06437bb48a1c1425ccba0ea4cf6c08a1d7f576e5a82350ce952dc1e4c5bdf"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: waitForHealth: \u0060waitForHealth\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/run-state-persistence/main.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f857e1ee816abddd25f9589913d9e8812268a529d4a4161c3e9450fb9e3721"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: waitForHealth: \u0060waitForHealth\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b595b0799655a208fde3132a9f9d670238e9fe7fed1f19a8ef7a0ac841f2a86"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: createRun: \u0060createRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67e06984fe9ea995f0929701eed22eee7d0b755486d81175a3bafc48bcdb2d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: resumeRun: \u0060resumeRun\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ebb40e6a264b670805cf467d9b37572ab50b4747e6aca11913354bed6b4cff"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: getRun: \u0060getRun\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/hitl-permission/main.go"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d22ae95a131144134f608d536c7d1fff52a4d6ac23876c25e366dbe74bd8ae"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060schema\u0060 is walked by the \u0060for \u2026 range\u0060 at line 143, and line 147 appends to \u0060schema\u0060. A range evaluates its slice once and walks the length it had when the loop began, so the elements appended here are never visited by this loop \u2014 work queued for it is silently dropped."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationapprovalrequest/parameters.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"323fa190680aef76b5425735fdddede7615c4022239433b7f84487659e05097b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ca, _ := os.ReadFile(\u0022/var/run/secrets/kubernetes.io/serviceaccount/ca.crt\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ca\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060ca\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ca\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/ansible.go"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f5cb7d57a79108e8bbb58969b5f3003f59e6a5f1e3b231bb71617c65d367d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cb15783e22fa86b6f0402c170a2de94f927d9c47721abbe46f2353b721ef95"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"286551409647bd2506d01b396a9f43ba8ee6db3d03dec308202cff1aefa3bd8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d398f6d38ec14eb4615f0052ef2aff7d87b00aa51aee0015545771f3314832d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"131455df52d69ac789ac569b802a1da0c1cb2f4169431b7271c30bf5561a5e43"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84ffafdd5d103b26a3b4e517531b1bb99243bda23986bc22c522a72eda8b072"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd5310cbc996e44edfed6b8ac9cf58c281791b1bb7d73f43a7e44f37665dd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e0761512584e0c88bbc2779c90550027137d4a17db6ce1afe2e6b953c399c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb0a69d373a0d326cbfecac667dd2f4d4790888a86dfbf1a081a05160f9227"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8dc0295c2df447649df0da8430591247f2a388047eb5a8160c910ea26e85d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respBody, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respBody\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060respBody\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respBody\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/awx_client.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"01acd20324db97db3cb50c008540d913a4a19d8411136b7678a596ae5e1a44f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := buildExecutionStartedPayloadChecked(wfe, pipelineRunName, resourceNamespaces...)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060buildExecutionStartedPayloadChecked\u0060 fails, \u0060payload\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060payload\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/audit/manager.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"84208feefee048f448f00eab8cb4744150d3f29bcc9f880258653f837ad05fa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := buildWorkflowExecutionAuditPayloadChecked(wfe)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060buildWorkflowExecutionAuditPayloadChecked\u0060 fails, \u0060payload\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060payload\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/audit/manager.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dbf880a1d6e8a803788441d27b36ea769af1d0761fa307a3993c479e035e5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bodyBytes, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bodyBytes\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060bodyBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060bodyBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/llm/openaicompat/client.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ba5b57d4014995b280cb2866d06ab146ed888dd640395c92d83262f66d05a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/llm/openaicompat/reasoning.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dabb3addca9940da9ef6103c66ae34829245e5750402a7ac46c982c39b55ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/llm/openaicompat/reasoning.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"74adcacbae7d339b388cad3cb95cf8fd06270fae7ab72fc6d92841aef3d80f7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ji, _ := json.Marshal(normalized[i])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ji\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ji\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ji\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/hash/canonical.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d39967d93e3705c10c871256adb8170157f1aedc06725267a9b7a4ce87e0b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jj, _ := json.Marshal(normalized[j])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jj\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060jj\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060jj\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/hash/canonical.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f56d8626ef09d3ccc2c1e389e5455afda48f8a516d0a589785d5c8a4060c6aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/pagerduty.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba74dd65e3914e495f0fcc0b59a6110f4262b751e11a5da1f360713ffd424d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/delivery/teams.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a4211e270ead492b3a8fe67cfeb7ab13635b0d49ed45487ac25be9bee4da77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5934e38e44170781163d2715c054d5feb1f1de86c551931a5c589fb2f17702d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if closeErr := encoder.Close(); closeErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9785cef598dc86bf554dc827089da1dddc7399dd39a6bd76aca37de66b1142ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := encoder.Close(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c368313987f181d5bbe648d32a4c812a50bf9086565dac178da25d2cb7330b90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026obj); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e9d2400b79bea990f1257f4c98a6ada712b1d53080fe536c79a57a36c8e20f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(kindRaw, \u0026kind); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1262ad40c79f8a8c7126623a5b909e1f1cae7b63371652a49225b755f7fd9305"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(kindRaw, \u0026kind); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a069566f3a044bfb7ce04a1e425ddf50dff2388d28aee8d16ac7bbc863450353"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(fieldRaw, \u0026m); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a6c10590d84ffd0bf057b5d257868469428b21fc1f24839da44eae5218d4a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b638a39845b3482b1f5e47a42ffe6b7742b34f52fb90aeb17437b6fec357581a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f8555782c873b558e0d1a75ff47e3d4c968cf11826b1273b4a35601e42994"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf63cc765a829dbb50e9158969b0c425a8f595f288b9defe73f3c85c897dfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(itemsRaw, \u0026items); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6c5b2d1dbe60892e4e923615d063a7d4c0ed3470574f49310c507113ae41ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(item, \u0026itemObj); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac54e39a7957dd951179ac94b9077e6fb00df16616979b1d7566d23e8ef231"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cabcbda2b5b7254ccbb1cf60c942a10b7ce10c44009383ef0d2e2dae175cd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/secret.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"01376baa7db23c642d44ac24be02601184074b9f1b5fececc3998e36a996c774"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(body), \u0026resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/prometheus/tools.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b4bd8d48d0aed8f8beae802c85380d71defb6a12782326405996600f8af600"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(dataRaw, \u0026items); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/prometheus/tools.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab46d398b1b805342df7cf27245952052bf1818b5d5de4533cacf15611edb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/prometheus/tools.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"820b3fa7a91aab137a2c5c9827e2f963e4030ec1018f1d0f92a31ff3d88e4917"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if fetchErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/logs/fetch_pod_logs.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ec70c4de352d445d9758c196d8ad79184a2bccf47b4b8721088e97c387dd77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if parseErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c469a4e12836cf84c6365e561d9e0865f8a89bd72a6fec3098ad213761dc2c8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if kindErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc2783590cdbac5f6da9f2ab577ae3342a0f08cb96331697944ff932315383c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if mapErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/k8s/resolver.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d5c804f3eae4126d48ee5b2a8dcccd2c96ec6244ab87c681fec9d5cafc7855"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/middleware/trusted_realip.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d3dd22743fced40310eba5f78166c0848625052c22879ac8d09d354486adc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if parseErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/adapters/resource_registry.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bd9b03fc04dc66be09077a8485063882ff962dc5d479b9a5f7d9f8f9bbd1cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060schema, _ = json.Marshal(t.InputSchema)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060schema\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060schema\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060schema\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/bridge_tool.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"487c93cc074d9a4666fef2218d9f116385cffe802aed2523124324f99ee4124d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/client.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d8fa674b166b9c83dd696093d4d468c8a52880d10b5eda845db4168c65e2cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if parseErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/writer.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e5065fd950c2aa50868b10824c0a255bc10b5e915346b738e2d4422ea922e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/fmc/http_client.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb483e562b1a2598da91febc940488f45a377b9f07eaa8ffa55bcb06e62792b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/alertmanager_http.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ca1f8186eb7ab04e3bb4e182ab57b7f6fb5e4b2391c66aa5463f3454ef7ff3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf20ea7eb2dd586b7a36c81528143946ea22b986d3c637ad55ba43705ae3261"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(resp.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dce295ae3b8cc8141af663d75280745bae74b55d168068dda62eb302b12eb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026vr); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f59f596765b57eda6f5d2d70c4fc8c0b209f6bdf48b6c555469eac20aeebee6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be1326c2760dfac5eaa0a83af6b87e407f12df979cb7a988da3ca709c3fab60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026mr); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"79930a3f7e72d57038cc7cc1eb93634bb4b79fecb827482c8589a5ed30857297"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effectivenessmonitor/client/prometheus_http.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"53805ecc9c0288d5416e46701373d0a91ba5967881676a4b49e9ab015e27fc0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jsonBytes, _ := json.Marshal(v)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jsonBytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060jsonBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060jsonBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/audit_export_handler.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3ccd86e5de82355905dba8af0ab3dfdc18b94e13233994db293892cbfc6562"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(payload, \u0026m); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a71b6e778a55ececc48f51bbf91208f3bb0f6585cf9c6df315cfa73ca34b71d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026v); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8c244c0678a7cb1ec69ed122067d7682cf97b82ed792753f83a9287fce8e6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0fe75a14ecac8c55886686a32e339a80f9c696f372e44124ba3a9ded8caef5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/middleware/ratelimit.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61758403c3992c68c096eaf160e32f2747d53882a18c7a4dd7740b05a325fd3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/schema/parser.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"65029fa9b288fcbde6f74e898207ee6670deea2e5f30fc014347ab9c734d2828"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060major, _ := strconv.Atoi(matches[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060major\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060major\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060major\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/schema/validator.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa16419a725ec99fdb7e4df06e3a98bc35e37548b10e65cbb28666b2e6c8020"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(m.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ea9d58efae1743e2781c6980c67f7970765d4d926108d4c626c93d33c1342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cef28edb320acb8fa4fbaabe5fffb9eb6b5b42848ff04ba3ee14e1b8c20541f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config_accessors.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d544d4973c4b0baf55e9dd944dc85077af022ff85657373bd07e2afb35663"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/config/config_accessors.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"282627c3f8c1d443596ae84c9a8748a46c05be49a4f433dad293438907997b8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(oldObjectRaw, oldRW); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/remediationworkflow_handler.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e4997fde0d7911cb8a9a8b0432e9ef7094f117a16201a7dd7d325589979c6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/remediationworkflow_handler.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55e6f4f7ab32a4a29d61cc63b2c0509c621e54482dd197180f9964f07678463"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.syncActionTypeCRD(ctx, logger, at); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/startup_reconciler.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"874ae9be987b02e54f0da1e98a9945266f240e0a2bfc5c21d47d74db304e6443"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.syncWorkflowCRD(ctx, logger, rw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authwebhook/startup_reconciler.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcdff172bd19e1415c133180f4581c610b27240f37406d346c1871fb8b64fd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/af_alerts.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"166231783a4531b29b13317b4f4273c32eda729a1b86dc58ad7a085e7592a360"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := client.List(ctx, \u0026list, crclient.InNamespace(args.Namespace)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools_session.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb48a79774ac91871d386e0a06b763fd99dc9896dae75131f75616e29f13584b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := client.List(ctx, \u0026list, crclient.InNamespace(namespace)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/crd_tools_session.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"152991953d0f82efcb003c57809a1bdb2e1d059b21851f7e3f2297feeae6dd0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/helpers.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cc99b06879a4c542951214b4c9f9d3914147765080fcb36c4f70af9926ef48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6f7f60f8bf780480e524980721c939a4aa3c6744752e7dbc402a98a808bdad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026m); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6cc22b3c1d014dbf02f203d2706d122dd769595f552d27ab24d6980737c49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026m); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46056a862b82a91ed2c96bf024784fefac0a7969b486cd80194b8b80966a4c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if sleepErr := sleepInterruptible(ctx, delay); sleepErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_mcp.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"473bb53ca8685e419bc64372f322dc5133a5a4874db96860e96f11304ce78e23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := client.List(ctx, \u0026list, crclient.InNamespace(namespace)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_mcp.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"569fbee688f852697233fcce1ea52d11d76099cbfea4e529bfc6256055a9ae9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/scope_helpers.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca02a9444f51404fcad8a80114fba5b4cee176a708ceb26349768fc82c55a25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/scope_helpers.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af0cfbb7a640ba59991e05c7322fcd51eb0d5c290b398e997b924925d1aac9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/reinvoke.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"044b08ae57f65bccf07576adc30b61c78649fcdbfcaae72901a645df08f3766f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/reinvoke.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc8ea5970ba53e190d68fb8b30ca6ade69991eb803f08c04ded7d28dd653afe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/session/reinvoke.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45327e51e8d3f2e43fa74a21b7e2953fb812ca52513be9a568410b43a1e6fce"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060artifact, _ = BuildRecoveredDecisionArtifact(DecisionRecoveryInput{ SessionID: activeSessionID, RRID: rr, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060artifact\u0060 as if the call succeeded. When \u0060BuildRecoveredDecisionArtifact\u0060 fails, \u0060artifact\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060artifact\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/completion_coordinator.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83973ec4658a0b33b61ad1431284c94bf53495b68c8aa10f47972f871afb5cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/completion_coordinator.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d8903c0c3748c99ee9197a79d8bb0477f993a5f5d9961619ccc1d6faaa7eb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/completion_coordinator.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"346ca627800544a89da3224e0ab403c09d493315586890a27b24f99013703454"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/completion_coordinator.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea8211796f44bb35207669711846b6334ef5c291f22ca46aa115d0f46f586a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/part_converter.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b501659d7e1f97ea4cbb7ea0a9bbb3384cea0eb54a24f956868fe4dcd6fde8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026result); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/part_converter.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"409dbc48ab1517ae3431c21a38e5d0799e7a4ee71edb83d205a2033fe49b0edb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/part_converter.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc38f533edd88dc8551821bf7f97b4386fc7027ea5d440e27b3b2e4c8675782"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060argsJSON, _ := json.Marshal(part.FunctionCall.Args)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060argsJSON\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060argsJSON\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060argsJSON\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/openai/adapter.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe02f1fbf8342c8ddc3aab5aee76a478d5f5245ab0625cbd0aafbf704d358a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060respJSON, _ := json.Marshal(part.FunctionResponse.Response)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060respJSON\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060respJSON\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060respJSON\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/launcher/openai/adapter.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c533477ccdb4a020efdca4d6cc334c4ecb695d3b666d07de12e99a63a4c49"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := json.Marshal(backendContractResponse{BackendIncarnation: incarnation})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060payload\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060payload\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/backend_contract.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1f4bb35f2b8c7cd11b7e7fc25c8992cc6224ce85e2e776d46a2b6bc39e595b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/mcp_bridge.go"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ead442d65dfe7c7bfb25e5b2533bacba752a29b77b9584c2500df623a6a733"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026fields); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/mcp_bridge.go"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2a58e398284fcc0850155dfd12e7e8b38c76ed2a7178812bb5d16b1521fd7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := h.client.Get(ctx, crclient.ObjectKey{Namespace: h.namespace, Name: eaName}, \u0026ea); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/handler/status_handler.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d0378e0633aea6529fe072b3723d7abeff79c8bfb314c212bf1b522846853"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := token.Claims(keySet.Keys[i].Key, \u0026raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3901d290fc73c12d9e9ef94e4bb2814c79184d7bb3ab9ac8fc11fbc667b76ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026claims); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"60759eb8af06f3d247a0df73724a8ef09dda16cdd4a698f038dc2bab1c81d43d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/jwt.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2b88f14638ef020d3da7f99f3d4ca0efac476dec8994cdb4d214ba9a014f57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/middleware.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d0a84e92e0b5dabbee64fb164b0d6790b0000242019793c075a238066113f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060v, _ := strconv.Atoi(detailStr(d, key))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060v\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060v\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060v\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be77978d7f7f0c3d5d888ea19ed85e3804815ad3218519858d5df8a2cdaa804"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := buildToolExecutedPayloadChecked(e)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060buildToolExecutedPayloadChecked\u0060 fails, \u0060payload\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060payload\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/audit/store_adapter.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"150eea11e01eb3ff22b4d1fe14fe4b1715280fc7c2203a115f3326388a67b0e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/checkpoint_tool_filter.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ab371573c021c40facecd55e71c209820bf81af5128154905e9dcb0e8fe5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/checkpoint_tool_filter.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d7927466980b89b0b12c1643559a08b8b4dfe5b7c7d3e867381f21ebdf6a49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6abc6f122913762a8546e7f7de9ed78ff398bad7cde305b93b639bcc9319c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb8f88d5576de13ccc3daab667aa3574b84e3dab5782b34bdb66a4857d262f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"885a8f6dbba04cc4ba35533113498b2a346d150e44e611b9c538e32e330049a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(b, \u0026rca); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/phase_guard.go"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7124ab404c74d81261cbc42707cfbb503cd702081fd5345027ad0f288604a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if toolErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/root.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b2f583f17c89f1fe77997544303c49323e2d62d85d01d61af1f34c320b3dfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if toolErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/agent/root.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd461ccb08710d9b59dd5ee0cf65d74cc3ae8b8eecb4cd5994eb714340acf3f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(j.Raw, \u0026m); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/aianalysis/handlers/response_processor.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c3cb0315bb1adf81272b73a6112568a577a47d7d3d985ff67069815b503312"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64ab13e680498d5b5c3988ccbfbe3318b6a5d08ac2725c19053b2b71feb863"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d16930c5683d1fd6037cdc083125e2ef6f41406f2a14b2dcc697fd59bbdf5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026p); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40ec12f28ab2ac29392965a1555a37a74dee84b4eabefad503969cdb6f8a491"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026obj); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36bd641d66c1e5a21e8a5f5d3690ecf80360fd7de5e77a847d54eaf1bd113a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(paginationRaw, \u0026dsPag); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"670b5bf7a8118b17e035805f082152013827daa9789defcb1719048723e733ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"185d75e5ae5c5e59018a88d5f37e3be846a83a8416c4234be3d729f7f17bef5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5a03b878ed862bb847bb3b5a5eaa618c42ad0d0bdb71610dfc17e248fcb60e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"515dfc7dcf2e3102421384de9f5ddd183780eff3c081a343ca3d2306bf82e443"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060groupsJSON, _ := json.Marshal(groups)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060groupsJSON\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060groupsJSON\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060groupsJSON\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/manager_interactive.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"984e0cbd69e2ddef604578683b4dd923574c6c64ff36475becd8fc229f4b213e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/session/rca_event_payload.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a4c000a3a2e1608983174ecd13a86d73ce6730f9b9794545965d883c192cdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(jsonStr), \u0026resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_format.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"514014b257bfe0f93aa2e6168ee69e709c9139d4ad8508cd34dc148f8dfc2173"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(jsonStr), \u0026resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_format.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e499335cd6d6c6c7a71d316d12ec07505cde99d3c82ae49fdae60017f146535c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(jsonStr), \u0026resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_format.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a881965a3c1db53e33270fe348ab3d1031bdbabb02f7bbc70a93baf0c83b82d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(s), \u0026arr); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_json_extract.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ed85f98493dc22fdb0914fdb7028ad1307499ed1b4709e027812f44a61c14a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(rawJSON), \u0026raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ae4823d59d0134b4610f32e058f5ffb54a6e8341918137697bfeeaa7248361"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31120e6d0db6d214e01963d17c036242247870cbc5d85bd660d2699962dba6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(rawJSON), \u0026raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"684de24823741918bbd99493d4573ec765a3851798b135865c9661aaaf01a5e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a83ea86db6996b3f149f4ab505a4cb04185ceb7a9d87f58a70c24d9f913a4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a0f7241e8125a5c8d3334005c3bd3a9596237c8dc7b74989a6c1bddf301ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := strconv.ParseFloat(s, 64); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_llm_types.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f9643f759768ff8da7b47c9f72807c77a84231a7e7258b17643be425acf8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := m.client.Get(ctx, key, existing); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/session_manager.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7cbfbfb6d67350771647b9d0fce0bab842f8afca9b9017ec4430b7a158c7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(args, \u0026parsed); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/anomaly.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc6d6d2bb4f8ea4c455dea82e7c32ab28a815a8fa74b8a415e5b01de71ab521"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_audit.go"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b40335494818dd3ba2d342e63aa7174c8f2871ce56ccb09b101f1984f7ed9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc3606a20a954ab62eae5b49786b985751b7a73e238bfc77e954d99fceb7afd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(trimmed, \u0026items); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"11db61ec2b8cec5c6ff47d1ac9d3d8107b124bc2f3e59213ca3d4eaa464f605b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(trimmed, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca601effe826607d2f42d6ae381654ebc2a74d398b0f50ed91e7b9bcd49feaf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := projectResourceMetadata(metadataRaw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bfaefc41d68c8a5fdefdec62321c48d57716546d839aa7b1731ef44f06e049"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(trimmed, \u0026envelope); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea3c7973bf081123f609aacce40186124c6ec17b7aab1e5ed638e53d5f47b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060args, _ := json.Marshal(map[string]string{\u0022kind\u0022: target.Kind})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060args\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060args\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060args\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee8543563c836b09ca0cee9da1096a44f5705c2d551ac407301ec6e078efcd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5ed1d7c8b2f8f5ee1c83f084bf34a631b6486d03b6542c28ab75969e28d8c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if marshalErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd311b6de6bf273b4dc717f709a28340f0fd11f0cd36c2a9b3afffa09c3a99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if digestErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6895d138a351cbf6d382d07b9e8fab119870ff797d7263ce6be89e1369c05a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_loop.go"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"868ad8c4860be5ae212b8cc2571b3760958fc8663581a57b3fd478c723e26e37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if kindErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"16196cd4dd6c4f5fd8fe631fcca23572170102be6eee74904723cf37af7f4994"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if mapErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/enrichment/k8s_adapter.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b446bcf311208edb35642aa856bd6691d2d1348778106d25f2491e5327fc4d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/credentials/resolver.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08314f5de707310ee079b6aa8bf9b97f52178a418b9c2c8f1e92432b18c2ca3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(s), \u0026raw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1674cb7a721f8e973a9bffd8b8ef2ed75f8a906b20a69b376d52d27c855330"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_response_mapping.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7eb5e541237144ed0951eef58e9be3f9fcfc4e247624a5fbaadf17427a2adc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_workflow_catalog_payloads.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329bd46e83afb03f73f56160ad7a67ca675419da1c9129fedcd53bce76e3015"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(encoded, \u0026labels); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_workflow_catalog_payloads.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a08c7b3bad32a20e3d0ffd5d819179bd6cd3d52105347155752754a664f7bfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(raw), \u0026evidence); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/audit/ds_workflow_catalog_payloads.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef6181d7128d425587d80e5b2b3b2902ceaa47463670ffac8edc71568b61c90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := d.client.Get(ctx, crclient.ObjectKey{Name: d.epochLeaseName, Namespace: d.namespace}, lease); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/agentsession/dispatcher.go"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf21f7b90c7b682f0a400eb56d61e26a8b2db83bf32cb63249cd5cd6331227b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_collision.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5025c6f2d7affb1ee5ac29fac2c0b10b47123a8798061b7b5768bf18c73b5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := executionClient.Get(ctx, client.ObjectKey{ Name: resourceName, Namespace: r.ExecutionNamespace, }, \u0026job); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_collision.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f46eba1ee205d729e61e681e5b474710c51048ee81ef6a7ed63f0334308fce7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if clientErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_lifecycle.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24938c804c5cb5cafcaf52b99ba83093e8d208b572e6a347278654f37fc5cb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := executionClient.Get(ctx, client.ObjectKey{ Name: wfe.Status.ExecutionRef.Name, Namespace: r.ExecutionNamespace, }, \u0026pr); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_lifecycle.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6678560555f5c00777d335c8e2661fa2cdbc6b4b4491eaa8a5ba206da2f3e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_pending.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fd5680bcbe5016329a3c6c60b03589e64a7635b3296029d34402ca47d1cdc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if scopeErr != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/remediationorchestrator/reconciler.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ac034ccc754d57a0bf4a39aeaf52b93b6f7b9dbeb8d6bcbebd030e9447dabe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddf144d7d49d784db6c496a27aa590fac5951718c45f322f2b8e926187614c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de696b8ce8ef6ada71bda28b28751220e30dc51203a3b78bb6cf3705c2c2e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4075f7577b2dd52be3a5d219710ae8eb6a757733e6dc43a241b83dd854a552ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060logLevel, _ := parseLogLevel(cfg.Logging.Level)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060logLevel\u0060 as if the call succeeded. When \u0060parseLogLevel\u0060 fails, \u0060logLevel\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060logLevel\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d4c2eab3cfc1b03dbb3114aa65eb51775fab7a53f03417c625430d9b05169d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/session_infra.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e79e3239aae8bd9787568f1579bc33a8bbfdbf20e5c7c1dc8917bc4e083a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 19 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/goose-mcp-roundtrip/mcp_server.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"239d3fccfa6adbb6adb20c07f56e7aab6f0bb385337cce31da32a1a5f2b7ff3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/goose-mcp-roundtrip/mcp_server.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e442e9a55370b0ac15621972753cd0dc035d617a23e18bb097a8fba454870ef9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/architecture/spikes/goose-mcp-roundtrip/mcp_server.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefd6df0b014f93822c749ee2071d06cd7d1af86f55518b9fea70e22688e4dd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 701 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowexecution/executor/ansible.go"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eccd1024b69b66414f1dfcf95d2caaf230fb637da5ebef2128a9bdb6c150ab3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 287 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/enricher/k8s_enricher.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5886993bcc0bbf8b34cf7056652dea7d479cd0b55e56f6bde2431c31768292c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 292 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signalprocessing/enricher/k8s_enricher.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72e30e5a867a87957fd7ea47e757aa3b0da8a1870fcb03111a62968dcc9233b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 130 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce61e8258aa56b27305641d8eaeaf5c119e260611a390d7cd7e9db122189a62f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 158 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"343303c6da79599d8c708e6dba9abb902f359c5b21dc6293e1def7e5513123f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 161 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/creator/notification.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ade55fe50cb5761c67fde2eec66c8f234caa0121fb2d517153521dbeb66e96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 72 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/aggregator/status.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac323c549fdd217156701229189b37993a9401d1b7cad651eca2100734151261"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 74 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remediationorchestrator/aggregator/status.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c1a71c06709e748f44317ae17c526ff9650892b17f38a234b2aeaaca7af35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 700 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/gateway/server.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b350ffedee58b2ee2a6cb67ab7427347e3ca103f796fb06b95e4f6048e150"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 114 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/resource_context.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97134e0d7a0b349d5234d4dc33868144d6afca6bf3aedea83b9e619f195a090"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 152 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/resource_context.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c93a0309b6e35c8cc6424947ee1bbfd0ef2012b9ec35ac1dd5392e0001b71c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 449 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/mcp/tools/investigate_discovery.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffa55496e60ef1a7409a5e958eff4555bb7811e45ab20c1a207013bf2554e29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 122 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_anomaly_scope.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ea8b72212da2ca097bbe657663253f71d06dd2c27e99e7da9f5cbb3addc59a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 203 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bf79075d8ea56a59143e0f9ae507963df786c58abebfc1c7c45e810152a9f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 217 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b4b1d0496092b6511199cfbb2e1f97cf11742a57835af57eab17c8d03e4e24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 223 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_gates.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7dd163564334407db5b9854f3f6fbe9f3ef50a64cc9c77edaf718fcad02a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 158 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/investigator/investigator_phases.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc29a9351981d42e9c0d7c7c3cd69bde9d2db96ff5141e752f1edd8c20a48635"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 561 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/workflowexecution_status_marking.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"60db0ce9afbdd2218e595c3b526dcfebd139cc9a13aff7654860f56372444d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 397 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fleetmetadatacache/main.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1c8aa48e66acf94418e2c45908920dd8a9b363bfd7a45ef60b565e20ed95b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Error\u0060 at line 429 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Error(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Error(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Error(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/fleetmetadatacache/main.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3f982adb9f2815f4fc719b84dbe69a8e8b3dac8f77e393d96fbac3c4a502c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 123 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/mcp_a2a_handlers.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b336b6f09709fdaaac62bd1f23799d6c70dab105af5334a2fb964d59bf62f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Go code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/shared/sanitization/sanitizer.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4e4d07b0d73b8f8217112889b0f34aae63b110d0f9f2828c9a8e5698398bca"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Go code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/injection.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b91203fa083336c87c066e26fda01aaac402fb1ce226378c12825494f75eab"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Go code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kubernautagent/tools/sanitization/injection.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1223f951d25ce60d0f8e1e569b242a493130d90b76452a4d67b59c54fb4d16e7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060unwrapSingleElementArray\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/parser/parser_json_extract.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1ac2bb860d038d7efd4aa69448e5817b34ec1d3a1ec122157a533ae20c6b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060EncodeCursor\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/kubernautagent/tools/custom/tools.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"740bef7777cc917061e3da91d467ee48fc803640c32112a19f2337f3b40d72ec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060cryptoRandIntn\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/auth/middleware.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a05a2921bab32c390e8ae2f297d8bd2fc8223a40facdb2d69112c81245f649"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060extractJSONField\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/apifrontend/tools/ka_investigate_bridge.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"754062bfae003ddb7fb07a76d5302859b493167a7305714f92c7b0f20b198103"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060CorrelationID\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/dlq/client.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92cbf8dcf7c92112d024579bb118908ad90a0232e40ba5e520e90fa7350d82d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060extractPayloadField\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0e3558d370622876386325a5db883594499959069e558859d95a46693289cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ParseTimestamp\u0060 turns a non-nil \u0060err\u0060 into \u0060return time.Time{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee3ff1ba86af9d81cbdb34c87b8fcbf3d27ff1b5ab71d9112ecdd03311fdb1a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ParseRetryCount\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/datastorage/server/dlq_retry_worker.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11ca97dc1c36a7a4be33a4a89affc28e710e0a0466c7efbb0ee23d89e097eb2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ExtractText\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fleet/mcpclient/client.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54a8dbb87b565d00c2df1553a32ad32d7a09bcccbc63a9a7853a791aed325c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060default\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/performance/apifrontend/scripts/mcp-tools-call.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b5aaf9c11083a0b35b5b0066512096c7a24d67d31b4004e6559c0ce788fb71"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060default\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/performance/apifrontend/scripts/sse-streams.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def4100ec44e13633aeed2078943e826412da0d819adc966c892f244b88f27f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.Contains(messageLower, \u0022oomkilled\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.Contains(messageLower, \u0022oomkilled\u0022)\u0060 also satisfies \u0060strings.Contains(messageLower, \u0022oom\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/controller/workflowexecution/failure_analysis.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed48908bece1c9e1edb2a9c7afb22cfd823318536646a244c49fe917325b9fe"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.Contains(ct, \u0022application/json\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.Contains(ct, \u0022application/json\u0022)\u0060 also satisfies \u0060strings.Contains(ct, \u0022json\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/apifrontend/main_wiring_test.go"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a4b0da4aefaf2dfa0fe9ff50eb7585eef017c7caddba92decd129089c3bb72"}}],"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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":92,"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."]}]}