{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::main (cyclomatic 169): ecc_tui::main has cyclomatic complexity 169 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b978bd7c20bdf58e952e2189a17834c24ade6d9b7ef17f7ba78bf2c2587d9509"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::tui::app::run (cyclomatic 79): ecc_tui::tui::app::run has cyclomatic complexity 79 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/app.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a0a82afdf6ddc6825c95e390c0b8154389a18221d05d00957ffef3e945fef"}},{"ruleId":"D1","level":"warning","message":{"text":"contract.validate_artifact_receipt (cyclomatic 58): contract.validate_artifact_receipt has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098c6d6bb8df461cd4ef8a418ed56db190fd3eafce036a5eb2f523b62a9af19"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::selected_session_metrics_text (cyclomatic 54): Dashboard::selected_session_metrics_text has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6133}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cade6f4388357d2ba52279af35a2f80de5ea70c765f376f4b1fb6295b9764"}},{"ruleId":"D1","level":"warning","message":{"text":"forge.forge (cyclomatic 54): forge.forge has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/forge.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a04e06f7a959adb566585010fba2698a851da2cc5ca324833b856f54b3ee23b"}},{"ruleId":"D1","level":"warning","message":{"text":"instinct-cli.cmd_import (cyclomatic 51): instinct-cli.cmd_import has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0e9faf3ed7edf963ce890abcf0ad2c49c3a316e583cf1b571937a7883383fb"}},{"ruleId":"D1","level":"warning","message":{"text":"memory-mcp.createMemoryMcpService.handle (cyclomatic 50): memory-mcp.createMemoryMcpService.handle has cyclomatic complexity 50 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d912651b8cf5c3563835c190cc9161f04f5ec06632e5812416ec9ce2439c960"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 47): (anonymous) has cyclomatic complexity 47 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1431dac531c5a70e34438d148b867f6064eb07406cf516446603c0fce41ae55"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 47): (anonymous) has cyclomatic complexity 47 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"622dbefd7dc3272115c98f289fb1dcaa07977c1eea7eb810ad2a0cadc023d26f"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::ensure_session_columns (cyclomatic 41): StateStore::ensure_session_columns has cyclomatic complexity 41 (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":"ecc2/src/session/store.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3ffbed5ca9a2721568c569d5ef1b8b24261cadf9bce68a0e8f7be9e1c2bfc6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-intent.parseArgs (cyclomatic 41): run-intent.parseArgs has cyclomatic complexity 41 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c950bbd6c66b902196e7fc4799da853269305ec9a378bf414e089d615865ed8a"}},{"ruleId":"D1","level":"warning","message":{"text":"contract.validate_effect_recipe (cyclomatic 40): contract.validate_effect_recipe has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4554df821eae29e9323e7a7ea859ee91d7b0b9d9ce1ebef5303266657fcfbfe"}},{"ruleId":"D1","level":"warning","message":{"text":"run-intent.main (cyclomatic 40): run-intent.main has cyclomatic complexity 40 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa38130a7d67ab94d1439803e7c7ea6e53587a2078e14d183ce75d02508bb434"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.apply (cyclomatic 39): apply.apply has cyclomatic complexity 39 (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":"skills/taste-application/scripts/apply.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"141085a75b3709e65da59ecedab62447373f3af4344320b26a2ab1bb0564bdce"}},{"ruleId":"D1","level":"warning","message":{"text":"blender_prop.build (cyclomatic 39): blender_prop.build has cyclomatic complexity 39 (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":"skills/taste-application/scripts/blender_prop.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca94bfed5a716b33365ff62c8fc0183b02b6c6543c556cf9f7acd56fc3603dd"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcb339f28772203a4db32a6708696e03d9ab6c4c037eb35f49f8a190b9545a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b0f3f07839f0af38a8ee67be359b1a2678da8934c7e18bd59a8d8b00d3198f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cc252e93c583e187a2c1694f5c17ceeec2515f52f0d41777f55c20c774f577"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"492eb368bc2b676575c7479c13b4fc1b49d2d5155c24626d0003bcfb0aa4b40a"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.run_workflow (cyclomatic 34): workflow.run_workflow has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc492d42d25cdc96b191d940ad2a505d10973646867a51f483332adab6095d81"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.main (cyclomatic 33): pipeline.main has cyclomatic complexity 33 (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":"skills/taste-application/scripts/pipeline.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bf793c7add2f11ec8fc827d4eab8e0ca52ada9e9611b587ef648ddbc0adb81"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.run (cyclomatic 33): cli.run has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/forge-cli/src/cli.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"06047fdf6b9a4c3d6a930472c6d07139e9d0f7172957cb26343812ed1fe510c8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 33): (anonymous) has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0985ec8d57397ccff88003ca8f0357ced0e83a3e302b084a1c1243b3e8c5a28"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-eval.main (cyclomatic 32): ai-eval.main has cyclomatic complexity 32 (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":"docker/context-profiles/ai-eval.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"81248fe19b535709f704442205a6b451c95b084fff573aad1a0a15804cf3891c"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::board_text (cyclomatic 30): Dashboard::board_text has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6574}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf9f7a0b39a92ee4a3aafeee6cbab320418e72d6cde460d82a88c990521828"}},{"ruleId":"D1","level":"warning","message":{"text":"schema.validate (cyclomatic 30): schema.validate has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/schema.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd572fdbd8ca96b4e53e506153b4051359651c164978b4c0cb9e988947b847"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_dashboard.load_skills (cyclomatic 29): ecc_dashboard.load_skills has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd295b52e197c6cdf9ffc1f40a65effa661222a9b694c87b148b47f446352d4"}},{"ruleId":"D1","level":"warning","message":{"text":"run.parseArgs (cyclomatic 29): run.parseArgs has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"17381fa227393488c5396a8be1a31873daed507c33d3ad3d4737f5e993b67677"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 29): main has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f0f8364bc3b6720710c3c47066ab2541cd54b45adb1f9b138c493d25bae6d"}},{"ruleId":"D1","level":"warning","message":{"text":"install-apply.printHumanPlan (cyclomatic 28): install-apply.printHumanPlan has cyclomatic complexity 28 (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":"scripts/install-apply.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f12dbded19064e2af06e5200b61da7653158f3e730f93b9d18f8d28d5e7653f"}},{"ruleId":"D1","level":"warning","message":{"text":"doUninstall (cyclomatic 27): doUninstall has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/uninstall.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b0ae3113e8832fcbb0106259eb224776eb760b5c1e3f46732d151ac7a8db8a"}},{"ruleId":"D1","level":"warning","message":{"text":"instinct-cli.detect_project (cyclomatic 26): instinct-cli.detect_project has cyclomatic complexity 26 (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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f7c917ae134d181fd25e6e788e700694d0dc61d6f31c6b4b2b7c4893060818"}},{"ruleId":"D1","level":"warning","message":{"text":"app.createApp (cyclomatic 26): app.createApp has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 41, 45). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d2a70e2d5b1a07a72eff28c31208f918a009ad97eea3cdbfc8b63d4040681e"}},{"ruleId":"D1","level":"warning","message":{"text":"lib.parseStream (cyclomatic 26): lib.parseStream has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f2ad0750a47c00e880be28235a3a49b96064cac8433f252126880e343a9b0"}},{"ruleId":"D1","level":"warning","message":{"text":"run.main (cyclomatic 26): run.main has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 144, 169, 182). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"674cef21a99403ede3bcce07730180fb4737faec97607ea6f6badd86d7690aec"}},{"ruleId":"D1","level":"warning","message":{"text":"report.generate_report (cyclomatic 25): report.generate_report has cyclomatic complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/report.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"37add3a494cf56d29ee17d690b76f60adc69194b643bfb0e5121f0a54cfa794e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 25): (anonymous) has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2effd55c2b93927dfb6858ae5705c102c6d0e50af799d2532c8a1db9b409d95b"}},{"ruleId":"D1","level":"warning","message":{"text":"instinct-cli.cmd_evolve (cyclomatic 24): instinct-cli.cmd_evolve has cyclomatic complexity 24 (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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e533c1a96009437992eefa2ff482db9ad2f21eaf4143702dde4c0e99587820"}},{"ruleId":"D1","level":"warning","message":{"text":"quality-gate.main (cyclomatic 24): quality-gate.main has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/delivery-gate/hooks/quality-gate.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2b70072d371e70e5dd01f6af6fff0fe9bf06086f691ad511d53b2a477910e4"}},{"ruleId":"D1","level":"warning","message":{"text":"runner._sandboxed_setup_command (cyclomatic 24): runner._sandboxed_setup_command has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db56bd50193e418374562480e2562fb00764395c0866ee7580c0c8c4798742e"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.apply_local (cyclomatic 24): apply.apply_local has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/apply.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1841c33789e0b5c5922eed8864e899d5584e4df4e870ac0efc08577f29ec18a"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve.apply_placements (cyclomatic 24): resolve.apply_placements has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/resolve.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6dd31e4d330eb584fe78bbcdd3ab71a72c6773b47ee6a59ada3accbab13c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"memory-mcp.runStdioServer (cyclomatic 24): memory-mcp.runStdioServer has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 610, drainQueue, enqueue, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a9a11d6823124fb357c50ed8e6efc0a768b7628f43745c8a2debc37a8457b4"}},{"ruleId":"D1","level":"warning","message":{"text":"doInstall (cyclomatic 24): doInstall has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/install.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f8733c8109ededf6a80c93c62aecbd0f7c01300176981552629dd40d29ee8"}},{"ruleId":"D1","level":"warning","message":{"text":"config-protection.main (cyclomatic 23): config-protection.main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hooks/hermes/config-protection.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6834a928d8336cd431dce1bee97d5b1cafed42ed056ad214099d8ee15f5f638"}},{"ruleId":"D1","level":"warning","message":{"text":"contract.validate_genre_specs (cyclomatic 23): contract.validate_genre_specs has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e16af226eb1dab7588b4f8f5c8d470146985337a10117d8d9e621d5bc205e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeProvider.generate (cyclomatic 23): ClaudeProvider.generate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/claude.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fd3d56239e2371230668c6e6c9597345c9020a0b218404396c2e57d135927d"}},{"ruleId":"D1","level":"warning","message":{"text":"check-evidence.checkEvidence (cyclomatic 23): check-evidence.checkEvidence has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (check, a function literal at line 32, a function literal at line 26, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/frontend-design-direction/scripts/check-evidence.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab5cb196d20bfa04a158298e4a9653c1dad204ee9c47077734dc927f3aae160"}},{"ruleId":"D1","level":"warning","message":{"text":"renderContextMd (cyclomatic 23): renderContextMd has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2140af5b481024d9efa6ebb5ffc9ddd72ca32466c363ab5253267bee5eb642f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::build_legacy_migration_plan_report (cyclomatic 22): ecc_tui::build_legacy_migration_plan_report has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7314}}}],"partialFingerprints":{"codehealthFindingId/v1":"de75ab275734f13deee80f5415635646618c83443bef1c8e45bb16d83bafbf1c"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::session::manager::build_agent_command (cyclomatic 22): ecc_tui::session::manager::build_agent_command has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a812e10dfa6e6b07c588ab9c6cbc4430136cf1f390806b02ac59503d4bf8bf99"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown_links.inline_link_targets (cyclomatic 22): markdown_links.inline_link_targets has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d3c500e083d0f37224fc93e4f0fb13f5886c683dfc38200b508b54f47e6a58"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown_links.inline_link_targets (cyclomatic 22): markdown_links.inline_link_targets has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d183d24b981653ec569f8c0d8c0d9ff82bd5f1794b97cc3f302da361c3f85c"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown_links.inline_link_targets (cyclomatic 22): markdown_links.inline_link_targets has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea97faa05e235efc1f08bb4633956a5b185669e63adba39f275b35c6365f3d33"}},{"ruleId":"D1","level":"warning","message":{"text":"app.createApp (cyclomatic 22): app.createApp has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 25, 29). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b7d374fc6ba30a6ee893d5b6fcc6f573d71ee7a700e34f4cfa2463fa4bc0cb"}},{"ruleId":"D1","level":"warning","message":{"text":"open-terminal.parseArgs (cyclomatic 22): open-terminal.parseArgs has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/terminal-opener/scripts/open-terminal.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0329c4444fab9745786548c69b13c828d79eb6bb0ea056b775aace48ce5ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"runExistingHook (cyclomatic 22): runExistingHook has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/adapter.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9405b9d44f3a8e58362f6af4dc85e3cc14997d49ddf06aa2fde5cb5c6c8a81f"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::session::manager::build_configured_harness_command (cyclomatic 21): ecc_tui::session::manager::build_configured_harness_command has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d944ade5239d99990a2780d0bffe276f8c5b3b41d841e508be9c976059accd2f"}},{"ruleId":"D1","level":"warning","message":{"text":"mint3d.mint3d (cyclomatic 21): mint3d.mint3d has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/mint3d.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b236034c671babd8fb294d145f4b312a85835437a18c3de1e4a2136729392241"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._read_local (cyclomatic 21): integration._read_local has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"da434b279d82039157c17221a41d8bfb83eb97509c43851a7c7d8da24dfcde0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::build_legacy_remote_add_command (cyclomatic 20): ecc_tui::build_legacy_remote_add_command has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7070}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f31d86c6e437630cb7944920e76eb151296bebf5d11b57f26f9e67fa40870b6"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-eval-lib.validateCorpus (cyclomatic 20): ai-eval-lib.validateCorpus has cyclomatic complexity 20 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e027781aab144f95c55fa43fea299cad480319dc7596ddd044b6cbfa613fee89"}},{"ruleId":"D1","level":"warning","message":{"text":"intent-eval.loadIntentScenarios (cyclomatic 20): intent-eval.loadIntentScenarios has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 28). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba93e4224fc3776c0e9f450f3ca983a23882afcd40c0f35dd6bfe5a8cdc1b2ad"}},{"ruleId":"D1","level":"warning","message":{"text":"review-with-codex.runReview (cyclomatic 20): review-with-codex.runReview has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/council-multi-model/scripts/review-with-codex.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d6c524110cb21818354668a8a84eeeb8eb629b63a96325ba08eeaef04d1f46"}},{"ruleId":"D1","level":"warning","message":{"text":"ito-baskets.run (cyclomatic 20): ito-baskets.run has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bd9f64c49f4837b38c7dd75c51a3a911e029c38c77f898cb1329d627f7ba32"}},{"ruleId":"D1","level":"warning","message":{"text":"build-agreement.buildValues (cyclomatic 20): build-agreement.buildValues has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/master-agreement-generator/scripts/build-agreement.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b835ab924f9a2156cd606cf14f855c126add9b7968f8aec27f9264d7b1137b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1591c5f224ed000d6dd17f1d3c7777477ac6e260fc2a0002658fcd145ebb87a9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"beee6a21469278dd748f6026e9b1da108423d476c7c006f0d4b53c556346c258"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::session::manager::render_task_with_profile_projection (cyclomatic 19): ecc_tui::session::manager::render_task_with_profile_projection has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d40d0ab271d623f3d904734309c420717ecb98bb89c652c6e26fd27bc67a97"}},{"ruleId":"D1","level":"warning","message":{"text":"integration.build_application_bundle (cyclomatic 19): integration.build_application_bundle has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dd00285cb7775957daf2f62c8e477ef899ef34a468182e91502e84acbaceb6"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve.allocate_placements (cyclomatic 19): resolve.allocate_placements has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/resolve.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb358e0324fb0149892be203b12f5d8afff41253b45f32d753b405f69332878d"}},{"ruleId":"D1","level":"warning","message":{"text":"ws_listener.listen_with_retry (cyclomatic 19): ws_listener.listen_with_retry has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/videodb/scripts/ws_listener.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ac577b9fe734c84b6ffbe9b1cbb5bbf98327dc78b23cc855ba53c78a0f328d"}},{"ruleId":"D1","level":"warning","message":{"text":"AtlasProvider.generate (cyclomatic 19): AtlasProvider.generate has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/atlas.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"75763e51c9fc071c82251eade25bd3decc67b0a61bff92c7e28ad5af1fe8e65b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::render_output (cyclomatic 18): Dashboard::render_output has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Dashboard::empty_timeline_message (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea7ef6f4c7fce5cd05557c9852ccf508976d3b72a73984680f501356e820a4"}},{"ruleId":"D1","level":"warning","message":{"text":"check-console-log.main (cyclomatic 18): check-console-log.main has cyclomatic complexity 18 (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":"hooks/hermes/check-console-log.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f291efb0a5e34823a3f94736efc76ad37b3ae9c74a70639c3031ee8bcd57240"}},{"ruleId":"D1","level":"warning","message":{"text":"instinct-cli.cmd_export (cyclomatic 18): instinct-cli.cmd_export has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"1781e083f60b8549a7af5c7609d4cac583a033c1d1aa78f137d8a82dad3c36c5"}},{"ruleId":"D1","level":"warning","message":{"text":"runner._archive_operands (cyclomatic 18): runner._archive_operands has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130d641067be0f5c00458b62f21d2c3f06a5bc3618b8f634e3d57c6e30bd1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"_AstraflowBaseProvider.generate (cyclomatic 18): _AstraflowBaseProvider.generate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca304b989e8108fa0a3363b9275d65f6a7621d8666bc8e18c3f9d419a3a01b0"}},{"ruleId":"D1","level":"warning","message":{"text":"OllamaProvider.generate (cyclomatic 18): OllamaProvider.generate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/ollama.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"642baa91d8a56baa71c65c2812e679fd5a6da5ce0194181a4d391ca9270a7cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIProvider.generate (cyclomatic 18): OpenAIProvider.generate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/openai.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7139d0bc19d76540bb39a4b941bbceb0504178fe72ec127573ade7fd3b8b2dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"session.runConversation (cyclomatic 18): session.runConversation has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/session.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"703bcbdee6683604afeef52e6e78558d6fb6bd7157817f7f4f6981f8e5b23541"}},{"ruleId":"D1","level":"warning","message":{"text":"renderBriefingBox (cyclomatic 18): renderBriefingBox has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d8847e49c8a1bc8a72fc6f41c781775b2352388a2a7331118d3fc024fd220a"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::evaluate_promote_and_health_check (cyclomatic 17): StateStore::evaluate_promote_and_health_check has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":5670}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5fcf227c472c21aa918bed84b3ed62596b48dc8acc2c51ea1bed86f66ff8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::session::manager::enforce_conflict_resolution (cyclomatic 17): ecc_tui::session::manager::enforce_conflict_resolution has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3ea51288c114318b8e5b18256cbbfe50b89925f89f8b530738916791898be"}},{"ruleId":"D1","level":"warning","message":{"text":"instinct-cli.parse_instinct_file (cyclomatic 17): instinct-cli.parse_instinct_file has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f267964d8af6143e25979f762099a8f1e702c3274e2a4706a0a7a908d1a0120"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve_ingest.run_resolve (cyclomatic 17): resolve_ingest.run_resolve has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/resolve_ingest.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"984d6c850e55c0386ef34c8f0ae18a2a4cc8cbf67448dd9e2ab4c3961f359fe2"}},{"ruleId":"D1","level":"warning","message":{"text":"verify.verify (cyclomatic 17): verify.verify has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/verify.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11f5fcdbc81696c718cb4d8649659128e819f987de54c8e63b6ef32080a4f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-eval-lib.runScoredCheck (cyclomatic 17): ai-eval-lib.runScoredCheck has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c34e4c6a2e17cb56c272c892cf09e78bbf5cbc13f4dc4c1c6c3293df61529a"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-plan.parseArgs (cyclomatic 17): interactive-plan.parseArgs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb94eb542801568162c0adfaa9845e076beda98dd2bf22c7b9882d46d021af0"}},{"ruleId":"D1","level":"warning","message":{"text":"memory-mcp.executeMemoryTool (cyclomatic 17): memory-mcp.executeMemoryTool has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f45bbc177c8dc627a59b030b946734091eacc7b0889e9123176775073803bb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54f9bface6c04d32da42807f397b298db597a7d7dd14d299c20c5b8943a82ad"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::sync_tool_activity_metrics (cyclomatic 16): StateStore::sync_tool_activity_metrics has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eefbdd251c4f69943c7cfd555f73b4e5db4a7bb8f1c6b1ce204c23d3455ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::verify_harness_audit_entry (cyclomatic 16): StateStore::verify_harness_audit_entry 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":"ecc2/src/session/store.rs"},"region":{"startLine":5795}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c75ee78e58d28125c1c115fd65f9d95ec0fb98c609678e9074987dd97de4c2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::sync_session_state_notifications (cyclomatic 16): Dashboard::sync_session_state_notifications has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Dashboard::empty_timeline_message (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6204135322d536a73801c5ff88345d2f2cc5dc9ebf0955d4434d73c1c556d57"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::metrics_line_count_before_delegates (cyclomatic 16): Dashboard::metrics_line_count_before_delegates 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. This is NOT this file\u0027s highest cyclomatic complexity: Dashboard::empty_timeline_message (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6013}}}],"partialFingerprints":{"codehealthFindingId/v1":"8427b399b21f79f7da0131afc1345b2f7844cd6e11841ad0b39120a8719154f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::worktree::base_checkout_path (cyclomatic 16): ecc_tui::worktree::base_checkout_path has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a50b4c8339cff30b3a600b6cd2742d1549eb964641c32581c6200dab54f6b1f"}},{"ruleId":"D1","level":"warning","message":{"text":"runner._extracted_archives_safe (cyclomatic 16): runner._extracted_archives_safe has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d347af94472f5e8d7251528bdc1072f3e587a8d7c5e875d20ba3bde58604f3"}},{"ruleId":"D1","level":"warning","message":{"text":"glitch.render (cyclomatic 16): glitch.render has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/media/glitch.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5eead404c1dabdc30411ef977c31d67dec2214ce0ee66c6b910c8d5bf08184"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_icons.swift.top-level code (cyclomatic 16): generate_icons.swift.top-level code has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ios-icon-gen/scripts/generate_icons.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c94a663530e894408ea78b566bbf67692902e02125baa99c6e0cad98f7618b"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-eval-lib.parseCodexJsonl (cyclomatic 16): ai-eval-lib.parseCodexJsonl has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de50cdeee061a94eed2126628f9581e40007181bb043f5ec413138496e0db6d"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence.verifyManifest (cyclomatic 16): evidence.verifyManifest has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb3e18c02522c7ed8cfb2b2dbe36142fde12aedd1b0a42929ea07d235187a98"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc.runCommand (cyclomatic 16): ecc.runCommand 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":"scripts/ecc.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6f34727e107dfa96d901146d5449727e51ab2ae0d23080bd48c72ef1b5846a"}},{"ruleId":"D1","level":"warning","message":{"text":"plan-canvas.main (cyclomatic 16): plan-canvas.main 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":"scripts/plan-canvas.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ee0ffc869454361f6c0bef94767a2efd2d8e14a5a45b0b890ac42e0997a319"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.requireHardlinks (cyclomatic 16): ledger.requireHardlinks has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb7d829ba09f2cb01e3610bf1caf6c32f0077dd92ca09941ee9c94d57131f0c"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.replaceTable (cyclomatic 16): ledger.replaceTable has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ad6928c5771051a621c264cfd7ca06cb2e08c72a42edcb938cee385f25aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.main (cyclomatic 16): ledger.main has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39d77c3f51669932f639f225d766fc2e52fa05710269e2de437a4a3bf71189"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::main (cognitive 335): ecc_tui::main has cognitive complexity 335 (threshold 15). Drivers by points: if/else 149 (285 pts), loops 10 (32 pts), match/switch 7 (13 pts), boolean chains 5 (nesting depth added 164). 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":"ecc2/src/main.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd683edd262ac59ce61503ad49c2bc3a8ac374a70764ac421e5037a7e9e52462"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::selected_session_metrics_text (cognitive 136): Dashboard::selected_session_metrics_text has cognitive complexity 136 (threshold 15). Drivers by points: if/else 44 (90 pts), loops 12 (45 pts), boolean chains 1 (nesting depth added 79). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f475c29e5deecad177d4565e9d725242661204ea2f3db4860cf4acd2a305f8"}},{"ruleId":"D2","level":"warning","message":{"text":"contract.validate_artifact_receipt (cognitive 109): contract.validate_artifact_receipt has cognitive complexity 109 (threshold 15). Drivers by points: if/else 33 (76 pts), boolean chains 13, loops 7 (12 pts), error handling 4 (8 pts) (nesting depth added 52). 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":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f0f13029cc8ebfa512def174fafefe3f2e01013450fc4544947c217e5b4a03"}},{"ruleId":"D2","level":"warning","message":{"text":"forge.forge (cognitive 88): forge.forge has cognitive complexity 88 (threshold 15). Drivers by points: if/else 21 (34 pts), ternaries 8 (20 pts), boolean chains 16, loops 8 (15 pts), error handling 1 (3 pts) (nesting depth added 34). 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":"skills/taste-application/scripts/forge.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf3f2a0b32352ddc5c4221ef486899005940c2107ccb97a5c17caa911cb2f3"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.cmd_import (cognitive 81): instinct-cli.cmd_import has cognitive complexity 81 (threshold 15). Drivers by points: if/else 35 (53 pts), loops 8 (11 pts), boolean chains 7, error handling 3 (6 pts), ternaries 3 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f1fc5824c8e9ba76b46cfb624647ea5f1dc531f5bbb65e6407fb33303bcf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::board_text (cognitive 70): Dashboard::board_text has cognitive complexity 70 (threshold 15). Drivers by points: if/else 30 (59 pts), loops 5 (11 pts) (nesting depth added 35). 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b374d495df4ed1205655a1389cfc29456820edee34b315cac8356e33fb7b4d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"contract.validate_effect_recipe (cognitive 65): contract.validate_effect_recipe has cognitive complexity 65 (threshold 15). Drivers by points: if/else 23 (44 pts), boolean chains 10, ternaries 2 (7 pts), loops 4 (nesting depth added 26). 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":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a857b7be36b88fbaa756d91db00de0d84b7fcd47ecdd64979d802c63adaa7"}},{"ruleId":"D2","level":"warning","message":{"text":"contract.validate_genre_specs (cognitive 58): contract.validate_genre_specs has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (34 pts), loops 6 (22 pts), boolean chains 2 (nesting depth added 36). 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":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff54eebb1706423465fba3ce8dc521bb88c4e0d06c5886930b44d7212fbf95a"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.run_workflow (cognitive 52): workflow.run_workflow has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 8 (13 pts), ternaries 6 (12 pts), boolean chains 3 (nesting depth added 22). 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":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d693e76b5b599b1b155b0f48a1ff93c685c40beda8734a84e65c92aea5c61f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.run (cognitive 50): cli.run has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 8, ternaries 4 (8 pts), loops 2 (4 pts), error handling 2 (3 pts) (nesting depth added 18). Of this number, 48 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/forge-cli/src/cli.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f173460460d8d2e7cb8f6dd3023d6a8cd7740fe646704a506454d26c17033e"}},{"ruleId":"D2","level":"warning","message":{"text":"doInstall (cognitive 50): doInstall has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (36 pts), loops 7 (13 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/install.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9660cfac74ad9294d12bcbb10e9a2b8415d5cfebb3a582c8524160986dd13361"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 50): (anonymous) has cognitive complexity 50 (threshold 15). Drivers by points: error handling 11 (20 pts), boolean chains 16, if/else 8 (11 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7c6ba81679319e4d24cf7ee0506a618153cf2c588ae79159fe5bc1359dae86"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 50): (anonymous) has cognitive complexity 50 (threshold 15). Drivers by points: error handling 11 (20 pts), boolean chains 16, if/else 8 (11 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66e941ac23c235af8f4dbd9a77b6f7807a4893237ed7c9fb2aa204945786d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ws_listener.listen_with_retry (cognitive 49): ws_listener.listen_with_retry has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (32 pts), error handling 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 31). 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":"skills/videodb/scripts/ws_listener.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7305bd2c8f6771f5987e1ebbb1d6a16932a8f49ea0d73f1905ba381a5bb383"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 48): main has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 9, loops 4 (5 pts), ternaries 3 (5 pts) (nesting depth added 14). Of this number, 39 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bf7dd12f262181ba951f7ed6036e1035981855d24ffca700cfb01bafdc3e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 48): (anonymous) has cognitive complexity 48 (threshold 15). Drivers by points: error handling 14 (26 pts), boolean chains 13, loops 4 (7 pts), if/else 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf21190da13f0cdc94bfd29c6f21fa7d853d8cf21b3868da129035208b2404f0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 48): (anonymous) has cognitive complexity 48 (threshold 15). Drivers by points: error handling 14 (26 pts), boolean chains 13, loops 4 (7 pts), if/else 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff32847e2e1c924808462d52ca4ea2c6f273c0d3e5a74e0e3e9028ec4849039"}},{"ruleId":"D2","level":"warning","message":{"text":"report.generate_report (cognitive 47): report.generate_report has cognitive complexity 47 (threshold 15). Drivers by points: loops 10 (22 pts), if/else 7 (11 pts), ternaries 4 (10 pts), boolean chains 4 (nesting depth added 22). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/report.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7786ac2ed324d8544d035e9d06b76edfc5bb4812472275d99667b5cc1bc7eff"}},{"ruleId":"D2","level":"warning","message":{"text":"blender_prop.build (cognitive 47): blender_prop.build has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 6 (9 pts), loops 6 (7 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/blender_prop.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca0027e2a6b9788f557738be3e6d3c7083948832e86ee18145203c5c12909a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_dashboard.load_skills (cognitive 46): ecc_dashboard.load_skills has cognitive complexity 46 (threshold 15). Drivers by points: if/else 7 (25 pts), boolean chains 9, loops 2 (7 pts), error handling 1 (5 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1970fd2b43694e9d9ea4cc685d5cbf7f05e41367b804bfb3e3920069b6c8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.apply (cognitive 46): apply.apply has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 7, loops 6 (7 pts), ternaries 6 (7 pts), error handling 1 (2 pts) (nesting depth added 7). 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":"skills/taste-application/scripts/apply.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"90170576018c04627f5554153afd45d366e6e5d204b5f958b64bcefb4868dbad"}},{"ruleId":"D2","level":"warning","message":{"text":"schema.validate (cognitive 45): schema.validate has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 4 (9 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/schema.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f25bbe240cc1f7635dc2d9fcc844874581912708ef9d7b3ed989060189d43f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::enforce_conflict_resolution (cognitive 44): ecc_tui::session::manager::enforce_conflict_resolution has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (37 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 27). 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":"ecc2/src/session/manager.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3298975083b5a252e118f0cfca15c99b592bbc74690adb4057c46560c0a6eb"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown_links.inline_link_targets (cognitive 43): markdown_links.inline_link_targets has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd03799701aed4e6639b654a2ed8d1abb8e21afa4fb566fe602d8a88aba5bcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"config-protection.main (cognitive 43): config-protection.main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 5 (11 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hooks/hermes/config-protection.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5999bbecd10198bbcd8d3268b365d558bc406f86570d933ba6450e0cf5f0ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown_links.inline_link_targets (cognitive 43): markdown_links.inline_link_targets has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d658b60ad0e286cf90a4273ac3d3b1149729c6dcba7a02753ee1b59f1770382"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.parse_instinct_file (cognitive 43): instinct-cli.parse_instinct_file has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), error handling 2 (10 pts), ternaries 1 (5 pts), boolean chains 2, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa46ee388064a509d436b5606724e4d19c9e3b36c93bc4094bb78206f0096c9"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown_links.inline_link_targets (cognitive 43): markdown_links.inline_link_targets has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1799dae5f8e44e499e791c9a739bc92539eee3ceee50883d2f5818eaf61ee360"}},{"ruleId":"D2","level":"warning","message":{"text":"memory-mcp.createMemoryMcpService.handle (cognitive 43): memory-mcp.createMemoryMcpService.handle has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 14, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5b7731552f6329f48715e650984c0adf9ca2358930edf20cc18b4872998532"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 43): main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 12, ternaries 5 (11 pts), error handling 1, other 1 (nesting depth added 16). Of this number, 39 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7518eff8d7490ab5bbba3abbd198d40a962b0961c8daa37f62c611e4ac3d99f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 43): (anonymous) has cognitive complexity 43 (threshold 15). Drivers by points: error handling 15 (25 pts), boolean chains 13, loops 2 (3 pts), if/else 2 (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":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"757161fa5af95aa67b28db74fff8739cac4f886cabbca27f51a57bb6e99c7b97"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 43): (anonymous) has cognitive complexity 43 (threshold 15). Drivers by points: error handling 15 (25 pts), boolean chains 13, loops 2 (3 pts), if/else 2 (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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09614dfd53359b8e33584e84c10628dab075a0ae0d5386e160f833d7b127745"}},{"ruleId":"D2","level":"warning","message":{"text":"doUninstall (cognitive 42): doUninstall has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (26 pts), error handling 5 (10 pts), boolean chains 4, loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/uninstall.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b8c5702c9557a1716038d22644afc21838087285117064bf72c928c74b465"}},{"ruleId":"D2","level":"warning","message":{"text":"lib.parseStream (cognitive 41): lib.parseStream has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 7, loops 3 (6 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"110dc3b54279e98f085e424ea1885356b5a7e30f767f0ed0b6e6b02e0b83861c"}},{"ruleId":"D2","level":"warning","message":{"text":"StateStore::ensure_session_columns (cognitive 40): StateStore::ensure_session_columns has cognitive complexity 40 (threshold 15). Drivers by points: if/else 40. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"953222bdda64542d299e527d9d4469820a88a47b6bae8d6726b06cec5d5e959e"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::build_agent_command (cognitive 40): ecc_tui::session::manager::build_agent_command has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 2 (6 pts), match/switch 1 (nesting depth added 22). 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":"ecc2/src/session/manager.rs"},"region":{"startLine":3097}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b11a47b7ccac3f1c2212caee27c400e839ba99d271828879b98fecaaa93e5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.main (cognitive 40): pipeline.main has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 11, loops 1 (2 pts), ternaries 1 (nesting depth added 6). 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":"skills/taste-application/scripts/pipeline.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"470d4262374d450535a52991974a9c7aab2612cc523d11ce608672b8c0857e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-intent.parseArgs (cognitive 39): run-intent.parseArgs has cognitive complexity 39 (threshold 15). Drivers by points: if/else 28 (32 pts), boolean chains 6, loops 1 (nesting depth added 4). Of this number, 35 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4826c97b9868c93221fb1e7f2bb88568e7b876a84253e32a7efa91d1775ee238"}},{"ruleId":"D2","level":"warning","message":{"text":"memory-mcp.runStdioServer (cognitive 39): memory-mcp.runStdioServer has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 2 (6 pts), error handling 1 (3 pts), boolean chains 2, loops 2 (nesting depth added 15). None of this is in the body itself: all 39 points belong to 5 function items inside it that branch (a function literal at line 610, drainQueue, enqueue, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"529e351d0cc2b73c3f5fd9e38dd935ac86cb6d0c61fc3d4df31a53aefb76729c"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::tui::app::run (cognitive 38): ecc_tui::tui::app::run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (22 pts), match/switch 3 (14 pts), boolean chains 1, loops 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/app.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8eceeb01943241ad60017d60d889ec7970f50bba200eefb2841c0a18ce4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-eval.main (cognitive 37): ai-eval.main has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (14 pts), if/else 10 (13 pts), boolean chains 9, loops 1 (nesting depth added 6). 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":"docker/context-profiles/ai-eval.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a5766441d3fbb203ae547a31eb6d33f727a2464e814df67928c6f1f8c9e994"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::build_configured_harness_command (cognitive 36): ecc_tui::session::manager::build_configured_harness_command has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66c95a90ac56502d41852defdf8b67138ffaa2d8c9f814ca9971e94f66e645b"}},{"ruleId":"D2","level":"warning","message":{"text":"quality-gate.check_stale_libs (cognitive 36): quality-gate.check_stale_libs has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (18 pts), error handling 3 (10 pts), loops 3 (8 pts) (nesting depth added 24). 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":"skills/delivery-gate/hooks/quality-gate.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4d14613c50ca98f674a409b63cf8e0b9ae8bd8e5107d1ce9846a4c11bc2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"install-apply.printHumanPlan (cognitive 35): install-apply.printHumanPlan has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, loops 5 (9 pts), ternaries 3 (nesting depth added 7). 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":"scripts/install-apply.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b52bd7dbd3f01315e6fc45190e62bf95966127a5d122200280548cce38aa008"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 35): main has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (8 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 11). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 144, a function literal at line 169, (anonymous)::execute, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f350550b428c55185f5b805fabc40f4215e655670d63b4eaeb8ee11a1a7bdbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_dashboard.load_rules (cognitive 34): ecc_dashboard.load_rules has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (12 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77579d1faa0dc7a9da25f06bbe0366f3b43128a5c2da597ed434448f08438a9"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.detect_project (cognitive 34): instinct-cli.detect_project has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 2 (5 pts), ternaries 5, boolean chains 4, loops 2 (3 pts) (nesting depth added 9). 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc7c5bf5e94cd5915a68fcedf1c720ab8821c1285b7d4a336595a91b502cfaf"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.cmd_evolve (cognitive 34): instinct-cli.cmd_evolve has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 7 (14 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 10). 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"86902c174b40f2376f2e3e736ecd25456426c536b9475ce3a66823d8e04167a5"}},{"ruleId":"D2","level":"warning","message":{"text":"app.createApp (cognitive 34): app.createApp has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 10, error handling 2 (4 pts) (nesting depth added 9). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 41, 45). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fbb5ec439b974b86497eeec35306855c45a0ed505402b5e26be10f8abc2255"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._archive_operands (cognitive 33): runner._archive_operands has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 20). 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":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811f56c1629015cad88b9d9fa439e982641bc052b7792a46cb6bcb53bd6e5e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::render_output (cognitive 32): Dashboard::render_output has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (29 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635f9d1b3c0e8ceaeb054e87f5cdba5d0d85f6b6cab38e1b8fc8930dedb6a54"}},{"ruleId":"D2","level":"warning","message":{"text":"quality-gate.main (cognitive 32): quality-gate.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/delivery-gate/hooks/quality-gate.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb11b746ae6c75eb68c0a5eb14b7e43b7878560b15317d74095eb7b17d4330"}},{"ruleId":"D2","level":"warning","message":{"text":"run.parseArgs (cognitive 32): run.parseArgs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (27 pts), boolean chains 4, loops 1 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e26d7e103f4fbb8c1b2d5b86b53d5c16e6131f9e4173fd9165646444999deb2"}},{"ruleId":"D2","level":"warning","message":{"text":"module_audit.check_modules (cognitive 31): module_audit.check_modules has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 18). 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":".agents/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0d991cc91df2b340ecd27fef999fd37587c238caeac783c45f142ebf68691e"}},{"ruleId":"D2","level":"warning","message":{"text":"module_audit.check_modules (cognitive 31): module_audit.check_modules has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 18). 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":"pi/core/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a11edd75fb34d7acfdb523b275db9a9de7c3786f7f52f5a17e88ac98cc6d1d3"}},{"ruleId":"D2","level":"warning","message":{"text":"module_audit.check_modules (cognitive 31): module_audit.check_modules has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 18). 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":"skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6f6f4c809b47de9653a6289272597a5a627b45de8f5bc5da637367d87ca4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._sandboxed_setup_command (cognitive 31): runner._sandboxed_setup_command has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac5cf0bad1bebe41ce037c9cda867a404cd0c0e7667a0e26625ed7def254e3"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.apply_local (cognitive 31): apply.apply_local has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 6 (8 pts), boolean chains 5, loops 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":"skills/taste-application/scripts/tasteforge/apply.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"833b98e8f46f4887162c697e3dd0a533b2c3d9f774f899a9c98627dd47756488"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve.apply_placements (cognitive 31): resolve.apply_placements has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 6 (7 pts), boolean chains 5 (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":"skills/taste-application/scripts/tasteforge/resolve.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92db46f0ea96b08ca6fb216a6d96ef18a8b791137bd59386eb7ebd64895885"}},{"ruleId":"D2","level":"warning","message":{"text":"StateStore::sync_tool_activity_metrics (cognitive 29): StateStore::sync_tool_activity_metrics has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e8b02845234761d6fa19dad82464269edf63ec13564a8c38e7ca5d9b316ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.cmd_export (cognitive 29): instinct-cli.cmd_export has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d01858ebccde9127af3f8c35ae583eab257a970b02449c28166a5d824b7e9d2"}},{"ruleId":"D2","level":"warning","message":{"text":"mint3d.mint3d (cognitive 29): mint3d.mint3d has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, error handling 2 (4 pts), ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/mint3d.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d0f0c5f6abff63652f7bf76a690debba94257fc0434d4a0945554bd8dab01d"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve.allocate_placements (cognitive 29): resolve.allocate_placements has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, loops 2 (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":"skills/taste-application/scripts/tasteforge/resolve.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3265571def8453b2e8f725be05ddc6caabe8341b5fc1df5ce2feea8ea04c9822"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeProvider.generate (cognitive 29): ClaudeProvider.generate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/claude.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"24941f81300473d65cc1b35e7bb1b8f9482029e9b83b788fb74cb23a6fe73d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"app.createApp (cognitive 29): app.createApp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 8). None of this is in the body itself: all 29 points belong to 2 function literals inside it that branch (lines 25, 29). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e3bcfe433bd46dcc6184fc1fe1b2f6201bef07c44c462b3a1a8189328ec80"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_dashboard.load_agents (cognitive 28): ecc_dashboard.load_agents has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (7 pts), error handling 1 (3 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4c3343f286ccb7d01953d07bb8ca6d942b0b398271bdfaabf996cd1562e50b"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli._parse_created_date (cognitive 28): instinct-cli._parse_created_date has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 3 (7 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2dd7f073787232862b41a8ce212cc01c94cea81fdbc71ea2e84c6ac8e41a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::submit_spawn_prompt (cognitive 27): Dashboard::submit_spawn_prompt has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 4 (7 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b19e9a2e2ade6ac53cee51bc9c578a3b2b57ff84dca669e3d81a000e7b3f423"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::worktree::base_checkout_path (cognitive 27): ecc_tui::worktree::base_checkout_path has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 4, 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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385f79dd23987cc5f693e9dfad91321a02157f1fc2a105b3ab2e534ae650760"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve_ingest.run_resolve (cognitive 27): resolve_ingest.run_resolve has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (5 pts), loops 2 (5 pts), boolean chains 4 (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":"skills/taste-application/scripts/resolve_ingest.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f21479ef31863a507ce751523b848105d0221989ad5fd69d165863577a4d42"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_graphs.validate_graph (cognitive 27): workflow_graphs.validate_graph has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/workflow_graphs.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"95db0143f4664631947614d825385ca79b7f21b24982758fd3ddc44641d0c0fb"}},{"ruleId":"D2","level":"warning","message":{"text":"shared.renderContextMd (cognitive 27): shared.renderContextMd has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 12, ternaries 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"skills/ck/commands/shared.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f21fbd987e4a946031c773e17692781a3b11e55263c2e730270077110cc74f6"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::rebalance_team_backlog (cognitive 26): ecc_tui::session::manager::rebalance_team_backlog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 4, loops 2 (3 pts) (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":"ecc2/src/session/manager.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e9cda2f617966d6f2952071300974e915da217caf4f6a46dea2d477906e710"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::build_merge_queue (cognitive 26): ecc_tui::session::manager::build_merge_queue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 2 (4 pts) (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":"ecc2/src/session/manager.rs"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"383fbdb763af1411048361352f8725d05f8ae35ecd23c213c6fc67117d34821f"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.cmd_prune (cognitive 26): instinct-cli.cmd_prune has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (8 pts), error handling 1 (2 pts) (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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d705e98ee7615053b27148450c69d664fb23d3bceb3748d8701ebc98c549f"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::build_legacy_migration_plan_report (cognitive 25): ecc_tui::build_legacy_migration_plan_report has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, match/switch 2 (3 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":"ecc2/src/main.rs"},"region":{"startLine":7314}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cfa1600afc351218fcfbd603d601539b6f97b72078da599dae8f9c95549264"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._parse_stream_json (cognitive 25): runner._parse_stream_json has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 4 (9 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4655ed9b0617df2419328b7cc788baf4cabdda1f3a9ad0118bff8e697ef1c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.recover (cognitive 25): ledger.recover has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, loops 2 (4 pts) (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":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3db4703077ef1f297a6677a7bbe7a391d300e803039e6b06934695c2a45e8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_session_state_notifications (cognitive 24): Dashboard::sync_session_state_notifications has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (7 pts), match/switch 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0292eb2eecbd2b772f9019689b43be5fc85193d953359eeecebaa9522b4707f"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::build_legacy_remote_add_command (cognitive 24): ecc_tui::build_legacy_remote_add_command has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 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":"ecc2/src/main.rs"},"region":{"startLine":7070}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc8643dccffce50d92af164fa360a81ce320386e78feef740a1d4f4c21bee46"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::process_merge_queue (cognitive 24): ecc_tui::session::manager::process_merge_queue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (6 pts), loops 3 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a499591ab43066380e1968ca0ba5fe5f892609aad6365eed5910d6dc5c6f0232"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::tui::dashboard::summarize_completion_decisions (cognitive 24): ecc_tui::tui::dashboard::summarize_completion_decisions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), boolean chains 2 (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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8896}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27bc443459ee20ca1d660195a7e32f622c115193b789d5f871752272792499"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli.cmd_status (cognitive 24): instinct-cli.cmd_status has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (3 pts), boolean chains 2 (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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"643c84ef50f8e2cf786dde1b226673ef8c3ac039e8f075390da72008544806e3"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.validate_spec (cognitive 24): distill.validate_spec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb559293fbaf17e57cc4cb7c5898316867d3ba18cee9f453d04b56b915fb63a"}},{"ruleId":"D2","level":"warning","message":{"text":"glitch.transform_stream (cognitive 24): glitch.transform_stream has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (5 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/media/glitch.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfef0f965f116f3212e2aafb37755203cadd51d170ef750f4d5fe8a9a1b53c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"glitch.render (cognitive 24): glitch.render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts), boolean chains 3 (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":"skills/taste-application/scripts/tasteforge/media/glitch.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"055534f65d575a67173f1a4f998a86207033ca07cda22b416e6416d87ff6300f"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.validate_spec (cognitive 24): distill.validate_spec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 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":"skills/taste-distillation/scripts/distill.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b1cae5d2a845e4f00dd8addfbc7c4c4e58052b0d81728966327321a1b5971a"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::parse_markdown_memory_sections (cognitive 23): ecc_tui::parse_markdown_memory_sections has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 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":"ecc2/src/main.rs"},"region":{"startLine":3740}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8b8d141e9d7733e7f99e12d2c6eadf4698c5bee711c161ee07149520444cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::format_merge_queue_human (cognitive 23): ecc_tui::format_merge_queue_human has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 4 (7 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":8259}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21fd30bab3df0d31ce4b1b29ab1335ad1cd2ca838c6da83d77fd027abc698f"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_adr_lifecycle (cognitive 23): audit-docs.check_adr_lifecycle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"88109ed7d758f5d2d47a82ccefaeddc651e939fe021dad04fb638196b35a9061"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_adr_lifecycle (cognitive 23): audit-docs.check_adr_lifecycle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a551ca82d82376e16c0af1d809fa7b61e72799225365d91bf5ed796bbf918624"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_adr_lifecycle (cognitive 23): audit-docs.check_adr_lifecycle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eee39fb92f405f5d21995f80a65068ea259a084641506aa5153c2321ec2bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"grade.transfer (cognitive 23): grade.transfer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (5 pts), boolean chains 3 (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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c517f3643fb33335db29c938c0b716016a68aaa249e98b44ed1fda702d07036"}},{"ruleId":"D2","level":"warning","message":{"text":"grade.transfer (cognitive 23): grade.transfer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (5 pts), boolean chains 3 (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":"skills/taste-distillation/scripts/taste/grade.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"61afffce6f1692ec623bf1c9d475165a970a5bee33fed0edff9e2ab2690e298a"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaProvider.generate (cognitive 23): OllamaProvider.generate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/ollama.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fce96b67060d209131d383df335bb86f31bc1c839bbd8a2cdfdfd4d1a86095"}},{"ruleId":"D2","level":"warning","message":{"text":"open-terminal.parseArgs (cognitive 23): open-terminal.parseArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8, loops 1 (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, 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":"skills/terminal-opener/scripts/open-terminal.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"044807ec3e0376fee3537fcad3c0a0a5af2f095eac3a494aee6c4ad1132bc309"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::output_title (cognitive 22): Dashboard::output_title has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9cc06ef49b4be948a615beeb60a1afd064f2e4521ab202ded7554dd39940dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::import_legacy_remote_dispatch (cognitive 22): ecc_tui::import_legacy_remote_dispatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 5 (9 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":"ecc2/src/main.rs"},"region":{"startLine":7155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679cdd0c5fd9f23ff73e9bc075ca07940f4e6dc884ea86bf8a24cace6dca2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::render_task_with_profile_projection (cognitive 22): ecc_tui::session::manager::render_task_with_profile_projection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0012d4e3437b60ac827c25ca22e7f85bd764cc5be540fd9071148cd12de8100"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._read_local (cognitive 22): integration._read_local has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, error handling 1, loops 1, ternaries 1 (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":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c777b5c4678a8eaba8df6dcba5b2c0cc126aeac98c94936183b0bff43618047c"}},{"ruleId":"D2","level":"warning","message":{"text":"integration.build_application_bundle (cognitive 22): integration.build_application_bundle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b097927ae7f842bd891fd13478c7c5a19f35828391297fe2b3dc26a5513220"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_icons.swift.top-level code (cognitive 22): generate_icons.swift.top-level code has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (2 pts), error handling 1, 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":"skills/ios-icon-gen/scripts/generate_icons.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f8a851db5dc3c02fb00425bac25dcb8db3b64f9a03857cd8e5fe1daa38cc20"}},{"ruleId":"D2","level":"warning","message":{"text":"session.runConversation (cognitive 22): session.runConversation has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), loops 3 (5 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":"docker/gateguard-effectiveness/session.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d89fc64091a9bf140492d9d61643763e3626f60a0c1a7b4eddf8352a4a2b52"}},{"ruleId":"D2","level":"warning","message":{"text":"review-with-codex.runReview (cognitive 22): review-with-codex.runReview has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/council-multi-model/scripts/review-with-codex.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5254a4a2a9fbb3ce0be6ec588500c76fdf33a011c4bfee648ab4bb1e37b89c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.acquireLock (cognitive 22): ledger.acquireLock has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b465fe3c01bd754fd8d4d4796882127b9620b0de3d68ae40fe62636fe95e2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 22): (anonymous) has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, ternaries 6, error handling 3, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b951fef16f62d975fd79129c5d4a54a5276bc350bc63ba02ecafaea047dbb26a"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::session_graph_recall_lines (cognitive 21): Dashboard::session_graph_recall_lines has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5448}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e76a8f4335441dc2530f24fb58068b0d07d76f6eed9c51df303f49e2519500"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_dashboard.load_commands (cognitive 21): ecc_dashboard.load_commands has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d268d8c0541508832c9874ca3c4809cbaef3de4a182c2e0c7e395a15f395780"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.parse_feature_output (cognitive 21): workflow.parse_feature_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (3 pts), boolean chains 2, loops 2 (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":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"488c8186ec1539e4f56d0122958205a22783a23c94c63ea5c8317b3b8f1c2b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"AtlasProvider.generate (cognitive 21): AtlasProvider.generate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/atlas.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e491f4149124b029520510f7723aa0e8f4580efb5a79e35ac4fd830f94bf9e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIProvider.generate (cognitive 21): OpenAIProvider.generate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/openai.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2227f9c048c191f058c5eef1b1c1721187e1f8fce0ac4d7c105d6559b6bd7b"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence.verifyManifest (cognitive 21): evidence.verifyManifest has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 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":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a18eb38f4dfe5f265a15897341b012910d6f16307a51febd78e83c4ac93aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ito-baskets.run (cognitive 21): ito-baskets.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (5 pts), boolean chains 2, error handling 2, loops 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":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1dce2ffcd2a2b8742ea11cc6654d77d8d829334cd7aec5c3d4856df8ec6c12"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.requireHardlinks (cognitive 21): ledger.requireHardlinks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, error handling 2 (3 pts), 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":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aff1bdd7c31185f8fe25ed4ae276fb6e97449c6f1641732564e9d17c13b54a9"}},{"ruleId":"D2","level":"warning","message":{"text":"parseCodexJsonl (cognitive 21): parseCodexJsonl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, error handling 1, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"217050b007ca7588e979058ac7cfa7e850ffd74743ca9ba50078674e04f2e915"}},{"ruleId":"D2","level":"warning","message":{"text":"loadIntentScenarios (cognitive 21): loadIntentScenarios has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, loops 2 (nesting depth added 2). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 28, 27, 46, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af1ff47a7ba782700560717a4bdab49d2d0c6e2b34feb133836da42865e3d81"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::store::derive_board_conflict_signals (cognitive 20): ecc_tui::session::store::derive_board_conflict_signals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 7 (10 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":"ecc2/src/session/store.rs"},"region":{"startLine":4925}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902caa30d7638ddfb936515bdec28eb6917220200721c82e9be34599ff1a1cb"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli._promote_auto (cognitive 20): instinct-cli._promote_auto has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (5 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed87d5df6bef98c5212ae281ed05b21edcc01b720a58d8296a9c3d0aca6305ef"}},{"ruleId":"D2","level":"warning","message":{"text":"verify.verify (cognitive 20): verify.verify has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 6 (7 pts), boolean chains 2, loops 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":"skills/taste-application/scripts/verify.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60334b935dfc1a79eedbf430eb484c6b9c7cb897b93d26bf076e531b586aa5d"}},{"ruleId":"D2","level":"warning","message":{"text":"_AstraflowBaseProvider.generate (cognitive 20): _AstraflowBaseProvider.generate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad79dd89ed80f30ef219faf59be002aa74ec49584c45d1da6de8552626f035b5"}},{"ruleId":"D2","level":"warning","message":{"text":"selector.keccakF (cognitive 20): selector.keccakF has cognitive complexity 20 (threshold 15). Drivers by points: loops 9 (20 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/keccak-selector/src/selector.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fa1f6a129ca83fcba816b29dffed61dee0721f19c44960ffb01cbf5f609a14"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive-plan.parseArgs (cognitive 20): interactive-plan.parseArgs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, 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":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"126f5feb0e0f7a2dada312e1fd16353bd366d7d23a60ac908a7eb3195e9fc2ed"}},{"ruleId":"D2","level":"warning","message":{"text":"prepareEnvironments (cognitive 20): prepareEnvironments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (restore, verify, listing, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17c94053d60a6896c330d12ad729c86e8ab842d723c02c6afbdb420aec639de"}},{"ruleId":"D2","level":"warning","message":{"text":"runExistingHook (cognitive 20): runExistingHook has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (7 pts), if/else 4, error handling 2 (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":".cursor/hooks/adapter.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1545eaa73f0bae12cd050fc3f0c3c55cbfc26435917cfc96ce7c37c93ccbb6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_selected_lineage (cognitive 19): Dashboard::sync_selected_lineage has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 3 (4 pts), loops 1 (2 pts) (nesting depth added 10). 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4950}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80362d36395da7760d85088f4acf8805d06c10f866ecd7f827750be12ab371"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::parse_dotenv_memory_entries (cognitive 19): ecc_tui::parse_dotenv_memory_entries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, 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":"ecc2/src/main.rs"},"region":{"startLine":3674}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ad25152c1ac6b917267ea9a58f189200316c4e07d213b6e302093615113ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.format_report (cognitive 19): evaluate.format_report has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3 (5 pts), boolean chains 2 (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":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a6c2a7f0d922b9d48fe09b4b62e6fec4f3c37199d249f4e400ff1419a72459"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.format_report (cognitive 19): evaluate.format_report has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3 (5 pts), boolean chains 2 (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":"skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c120e4eda630e98b3005c5efcd4ed326fd14996401fbe52ad316846c1d510c"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli._cluster_by_keyword_overlap (cognitive 19): instinct-cli._cluster_by_keyword_overlap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (6 pts), ternaries 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6b647e11cb0e41f908aa807c5dda07412cf6b9ce839397420450c63b37d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"contract.validate_provenance (cognitive 19): contract.validate_provenance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 4 (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":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd72cb1252e419b836100a8a55df4f7a6f9190e1f2c7aa772195f06103735bc4"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-eval-lib.steppedTrial (cognitive 19): ai-eval-lib.steppedTrial has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 2 (4 pts), loops 2 (4 pts), boolean chains 2 (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":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"db743335112e03acd4d618c3e64c0d581582c42f1745628d872f14f4ee6b5cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-smoke.smoke (cognitive 19): sandbox-smoke.smoke has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (11 pts), ternaries 2 (4 pts), if/else 1 (3 pts), boolean chains 1 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/sandbox-smoke.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"78569363ed779165d493f5bafed82adbfc5230b5f0f38cd4251dedf3271778cf"}},{"ruleId":"D2","level":"warning","message":{"text":"build-agreement.buildValues (cognitive 19): build-agreement.buildValues has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), loops 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/master-agreement-generator/scripts/build-agreement.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5523cf9975411e1d5f8cc4a0a28c9437c26dd99046c742d1d5f2a00a9fb2e8"}},{"ruleId":"D2","level":"warning","message":{"text":"StateStore::list_file_overlaps (cognitive 18): StateStore::list_file_overlaps has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 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":"ecc2/src/session/store.rs"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ca72fa30bf0e8c7d50ac93fdc353b761626bd86dfa6abf11f05ac7b850c7c"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_spine_paths (cognitive 18): audit-docs.check_spine_paths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"426f0140d1c456dc6effca5467a5be26e0cf4159f4cf6c57aebe1e6cb580590b"}},{"ruleId":"D2","level":"warning","message":{"text":"check-console-log.main (cognitive 18): check-console-log.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 2, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hooks/hermes/check-console-log.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"672244290f8dd041c85ee02b4122559f95ad8b8ba68a6c81d9b636e255ac788b"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_spine_paths (cognitive 18): audit-docs.check_spine_paths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":"pi/core/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5782363b89d26a4655b5b61d298a6ea690027d15d94c003dd84236211fdcb5"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_spine_paths (cognitive 18): audit-docs.check_spine_paths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"522cdb73a0258965257f46a4cbb1cae5964c4fb278367083e17950e778d36d15"}},{"ruleId":"D2","level":"warning","message":{"text":"grader._check_temporal_order (cognitive 18): grader._check_temporal_order has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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":"skills/skill-comply/scripts/grader.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"711b12a8093fa13e5c9444bf9758cd8c8688d9fba1aa6b1aaec3b263a5d29a18"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._extracted_archives_safe (cognitive 18): runner._extracted_archives_safe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, 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":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e4d70b031e3ff0503d4817263f1ae5ea5ac8666da758363f99ce989db9cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.describe (cognitive 18): distill.describe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02b97828545f577a89d22514dca4deafa4017ad514f5ec2d7aa102be91f0a67"}},{"ruleId":"D2","level":"warning","message":{"text":"falapi._mesh_url (cognitive 18): falapi._mesh_url has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d64ff48b9972d348f4dca930a9c095c865208d6806289d6a7c3883c027c94e"}},{"ruleId":"D2","level":"warning","message":{"text":"falapi._mesh_url (cognitive 18): falapi._mesh_url has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/falapi.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d712947ea48c0640ff80d4c6a931bf353f475345093d69b67ff67b49d0ce11a7"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow._build_effect_recipe (cognitive 18): workflow._build_effect_recipe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (4 pts), loops 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":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e37761d58ce6cc60cac0e10034b0b6ed3c3870e4990c279db4cf00fc7ab31"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.describe (cognitive 18): distill.describe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-distillation/scripts/distill.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c804b0474f5fe80162de1a7ea5e5b3eecbedcd4f13a14f66693f634cdad3a59"}},{"ruleId":"D2","level":"warning","message":{"text":"falapi._mesh_url (cognitive 18): falapi._mesh_url has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-distillation/scripts/taste/falapi.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c7cb1cee622298af0e93a9edd1fd139b67fcd0a2e746429e179e93b435f07f"}},{"ruleId":"D2","level":"warning","message":{"text":"install-apply.main (cognitive 18): install-apply.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (6 pts), boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-apply.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a138e72e4d6e08d5f562e3fefeb627b3b80359fb37e777ce9883e23422c073d"}},{"ruleId":"D2","level":"warning","message":{"text":"memory-mcp.executeMemoryTool (cognitive 18): memory-mcp.executeMemoryTool has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2477f7c4ee42df71fea0db8c66a4668ae2991b6613939c2ba402330fac984f"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.apply (cognitive 18): ledger.apply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (nesting depth added 6). Of this number, 17 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":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"592296ef93552e58d6ed7b7d6c87779a766b85ac68fc86f4a71f5deeaeac598f"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBriefingBox (cognitive 18): renderBriefingBox has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 3, other 1. Of this number, 16 points are the body\u0027s own statements and 2 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec5832e59acae60e001f2fe61cf0b3faededc1db09ba75d3c24279296f2eee9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 5, error handling 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2412153c924020af70f54ecc6d6204da67a0c8768da30e235d7c0292ca373a06"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, error handling 7, ternaries 2, loops 1. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d464f7a93ca7427ab2f19090c8ca1efd927da2dc16fbf63593059f97e37239e2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, error handling 7, ternaries 2, loops 1. 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":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc0fb31441ea60188626d4b4a8b9d4d4dd3f4ccdc69713bd1f2cf7549f6cc59"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::metrics_line_count_before_delegates (cognitive 17): Dashboard::metrics_line_count_before_delegates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (17 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6013}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ddc252852d777505e56b4b67a2ee936b42888d89f99d65abdc93e46c9d835e"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::import_legacy_schedules (cognitive 17): ecc_tui::import_legacy_schedules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":6053}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37cff6f99fef5133b2905b7bf5c3d259f6143031612278414fe35b03f98e71f"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::session::manager::enforce_budget_hard_limits (cognitive 17): ecc_tui::session::manager::enforce_budget_hard_limits has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce1e37f8ab829c106822a310f17c17be06ba285c34e2f6cfa4ba7d2be3d37f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::worktree::detect_shared_dependency_strategies (cognitive 17): ecc_tui::worktree::detect_shared_dependency_strategies has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac531a3b9ea6b1e485a0f015c2b1ce68e5b0e8fac96aa5495ded13f580bc3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_markdown_links (cognitive 17): audit-docs.check_markdown_links has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"328dc2af99be22cf801ee7ff2d2cecfacf9b6b37db2e5fa0daf21d1c23f79ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_status_resurrection (cognitive 17): audit-docs.check_status_resurrection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff89c14c346a99a456f1cbe23a4b864c7d37fd0093b3975684b41a376b3c9769"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_markdown_links (cognitive 17): audit-docs.check_markdown_links has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae97753fb2e23939e93cad263c9331150b1e6719bd124edfcc5977c14051c409"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_status_resurrection (cognitive 17): audit-docs.check_status_resurrection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":"pi/core/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75859ecba57f91926a0208ce6e93f3137b1e50870b1827b9881ad087a2b8aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"instinct-cli._generate_evolved (cognitive 17): instinct-cli._generate_evolved has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa650ae49cea459ed889c56ccb7f28f2e6f5bc70a574b890594cc52e9dfae972"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_markdown_links (cognitive 17): audit-docs.check_markdown_links has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2362f6521bee980e156ad10898f0d299679c95bc20fe35f7c626657a069a76"}},{"ruleId":"D2","level":"warning","message":{"text":"audit-docs.check_status_resurrection (cognitive 17): audit-docs.check_status_resurrection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (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":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea87aef6a65cd533cd2dd1d01367d3755ef4cf0040e6dbda0d6a142ec28897ba"}},{"ruleId":"D2","level":"warning","message":{"text":"grader.grade (cognitive 17): grader.grade has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 pts), ternaries 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":"skills/skill-comply/scripts/grader.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaee5ebeeed2bdf930019cfb2f3c040a143c245e6e488d900c24ef744527d42"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve_ingest.detect_resolution (cognitive 17): resolve_ingest.detect_resolution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (2 pts), boolean chains 1, 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":"skills/taste-application/scripts/resolve_ingest.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f0bb00fcaddb22ecfc2220549f218acefb881e1a9971508658fb4dbd76f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._snapshot (cognitive 17): integration._snapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (4 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b505b0ab44e6f19f54ba88af90bcf896948e93a0bf5efb49bcc067b4e522d6d"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_graphs.main (cognitive 17): workflow_graphs.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/workflow_graphs.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd204e478d9f4aadd1dc6c95a4390b282029fad2a82d4dbf113df7566f48830"}},{"ruleId":"D2","level":"warning","message":{"text":"coverage.renderHoles (cognitive 17): coverage.renderHoles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 4 (5 pts), ternaries 4 (5 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":"docker/gateguard-effectiveness/coverage.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f568a858ab650411a09de6e931ea93e3ef54e99d045f111560c3fadc820351"}},{"ruleId":"D2","level":"warning","message":{"text":"ito-baskets.buildRequest (cognitive 17): ito-baskets.buildRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, ternaries 3 (4 pts), loops 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":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"557d75418741c8177f6ba8db1e799f5619c19a183d4dfe4abdd0867b5cfe2436"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::render_status_bar (cognitive 16): Dashboard::render_status_bar has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e6b5b05ea25cd0ac11b24174cdd7eaec45a9d531863e8934b517b5657419e"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_runtime_metrics (cognitive 16): Dashboard::sync_runtime_metrics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32167e87b7df026e2976f0a7132a83d98cfb51ced4efb007c1cf44df40f18c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::board_overlap_risks (cognitive 16): Dashboard::board_overlap_risks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6785}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ec50e1c2f8b1f81f84ddfb09e76344a318f34944d2e4a07ec112e9fa75f70"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::handle_remote_dispatch_connection (cognitive 16): ecc_tui::handle_remote_dispatch_connection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 5 (8 pts) (nesting depth added 7). 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":"ecc2/src/main.rs"},"region":{"startLine":4055}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f47f9f0105ad2044e1cb568ceb6568e37613480af872ff79eaae282b75ed30a"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::tui::dashboard::build_worktree_diff_columns (cognitive 16): ecc_tui::tui::dashboard::build_worktree_diff_columns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e817002a3c296e858a286adfd009b7f7efea80172977caefab12d51893995a30"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-pptx.extract_pptx (cognitive 16): extract-pptx.extract_pptx has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 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":"skills/frontend-slides/scripts/extract-pptx.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"56469fdccb97436a5ecbcc0cfbf32316666de96638971e1a04ea1df4674a34ce"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.extract_json (cognitive 16): distill.extract_json has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae865d317e03d7490dc6757371a15ea489ab9a68693a9babc08789f709d7abc7"}},{"ruleId":"D2","level":"warning","message":{"text":"apply._strict_assign (cognitive 16): apply._strict_assign has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 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":"skills/taste-application/scripts/tasteforge/apply.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86a3584564c2c4fe910da15cc9f4b6cc119ec000d20796f11bfc240a7742af3"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._candidates (cognitive 16): integration._candidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"skills/taste-application/scripts/tasteforge/integration.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"12687e189b3c5d4d9e00bd12615ab31d97c7e7658f166b34a820013b2e24369f"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow._stable_probe (cognitive 16): workflow._stable_probe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 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":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb7bf1ed7e3a8c2e8da4b82c0c01dfc5781def1021df11b2ca209778f7dc473"}},{"ruleId":"D2","level":"warning","message":{"text":"distill.extract_json (cognitive 16): distill.extract_json has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-distillation/scripts/distill.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095eac886f0f4669c2061ca0698f192f78af0304fd91c164c5ba1b62dbc32c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ollama._messages_payload (cognitive 16): ollama._messages_payload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (3 pts), ternaries 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":"src/llm/providers/ollama.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ee5e5030308f69991f8c4bf8a60b36bcab6a0b14d8b4a85af6f5cda6b906aa"}},{"ruleId":"D2","level":"warning","message":{"text":"plan-canvas.main (cognitive 16): plan-canvas.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bdc92d9be9f8185789b8f9f6925b4b6a6f561d0c42c6ca317e563d9ba38df3"}},{"ruleId":"D2","level":"warning","message":{"text":"check-evidence.checkEvidence (cognitive 16): check-evidence.checkEvidence has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, boolean chains 5, if/else 3. Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (check, a function literal at line 26, a function literal at line 32, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/frontend-design-direction/scripts/check-evidence.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bdf55bc7cf7d9c80f062b0d44d4235a4ac47a1021b22e07e9076d2942deb8"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.replaceTable (cognitive 16): ledger.replaceTable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 4, loops 2 (3 pts), ternaries 3 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0f212655f2f1f26fd1281160ee78fdc8230ccf9bd38ba9dbfd52126afda359"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.allocate (cognitive 16): ledger.allocate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, error handling 1 (2 pts), 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":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4422a40ca86228f6ad49d12775c6f024d7be8371c895d74c0f88712bd2b4e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/dashboard.rs: FileTooLong \u2014 6784 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: Dashboard (2 blocks, 107-7232), declaring 95 free functions. The bar is 500 significant lines; this is 6284 over it, 13.57\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8657ee32b2acb971badc9bdeaa5a822aec1df1e422824f29a41c58f4de493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 6447 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 154 free functions. The bar is 500 significant lines; this is 5947 over it, 12.89\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":"ecc2/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ea71f0c4be7be6acf57885f8277812ee72b2d818f508420fc7fcb723cfe3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::main: FunctionTooLong \u2014 ecc_tui::main runs 1228 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1128 over it, 12.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02ab2746257ccc62a57c8ad0622eacc3adeafe1b23823791c24b6b89b4075cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Dashboard: ClassTooLong \u2014 4883 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 214 methods, 2 blocks, lines 107-7232. The bar is 400 significant lines; this is 4483 over it, 12.21\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ca06328ba0bf41cec0ae57aeff8f9ab1995ca899c109fea74e5fd31c1d58f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StateStore: ClassTooLong \u2014 3735 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 118 methods, 3 blocks, lines 27-5863. The bar is 400 significant lines; this is 3335 over it, 9.34\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":"ecc2/src/session/store.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7044c2d0a323d702f587c256bbb4670611ecbeebbb12527d3f3b927de9c09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/store.rs: FileTooLong \u2014 4551 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: StateStore (3 blocks, 27-5863), declaring 42 free functions. The bar is 500 significant lines; this is 4051 over it, 9.10\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":"ecc2/src/session/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7adbd5ff9f74ae1452128115d341541ffab0326e135969444e37413882924c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dashboard: TooManyMethods \u2014 214 methods. The bar is 30 methods; this is 184 over it, 7.13\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"950c47a078efe635723237dc129cf46cfb704a24e3c1a59888ebbe79cbff21b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/manager.rs: FileTooLong \u2014 3187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 109 free functions. The bar is 500 significant lines; this is 2687 over it, 6.37\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":"ecc2/src/session/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23464a3065e5b6384acd968dea4f9d19ccead3f5297549a12bd22853942247c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StateStore: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.93\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":"ecc2/src/session/store.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e533542e86e66bb2b28455177048355189557aaf236b15c028bc663ca553fac0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/instinct-cli.py: FileTooLong \u2014 1593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1093 over it, 3.19\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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2135e2670953350376351756ac8f642e3335b9efc260a0416f522fdc29aa1e71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dashboard.selected_session_metrics_text: MethodTooLong \u2014 selected_session_metrics_text runs 316 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6133}}}],"partialFingerprints":{"codehealthFindingId/v1":"15782ecddf97da3e0434a6385e872e52de03d96333385cf8a171f104b7f9c89f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateStore.init_schema: MethodTooLong \u2014 init_schema runs 294 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 194 over it, 2.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1019b9c8c4757fc62689da115314031d89e4f01d6803025ef8e07808b35901"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Dashboard: TooManyFields \u2014 75 stored fields beside 214 methods. The bar is 30 stored fields; this is 45 over it, 2.50\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0bca96611b7bc5d2a18ebbdeba34328835346db2cf9d0aaa98e3266d712d8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worktree/mod.rs: FileTooLong \u2014 1167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 60 free functions. The bar is 500 significant lines; this is 667 over it, 2.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb906358f0be0898dfb98c5bf6322578c6a33bcb07234ed6db011de6d8e3eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateStore.ensure_session_columns: MethodTooLong \u2014 ensure_session_columns runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd7770cab47d3218f90c338ae80c1489540a51592308a72ec052f2ae7fb38ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::build_legacy_migration_plan_report: FunctionTooLong \u2014 ecc_tui::build_legacy_migration_plan_report runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e438e17fdbffb1aee498f730ef6383648098b339bb2ec2a0991fd229a112c47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dashboard.board_text: MethodTooLong \u2014 board_text runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6574}}}],"partialFingerprints":{"codehealthFindingId/v1":"364c6091541a0064e6054f5a9ce544c20570576dcc21dc60b20adb43118b0f8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::build_legacy_migration_audit_report: FunctionTooLong \u2014 ecc_tui::build_legacy_migration_audit_report runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":5172}}}],"partialFingerprints":{"codehealthFindingId/v1":"587242d2c7fc28801d3373382f62df0d0d9b3b9ff37e172b6498cdb60bcb5b08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateStore.sync_tool_activity_metrics: MethodTooLong \u2014 sync_tool_activity_metrics runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66a490ee897a6eb233a4a0ffc220c4b5abe2ba748f44413bd2273f82656e36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context-profiles/ai-eval-lib.js: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 225 over it, 1.45\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":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef0ea6c036abe0e9e22c9822d79dc615024141c276c09d55a76e3c5c93af01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasteforge/workflow.py: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 over it, 1.41\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":"skills/taste-application/scripts/tasteforge/workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"784793d86e7e2c8e745c6f1a42b75493619ed139a05fe116f6280e5ea0be8abf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::handle_remote_dispatch_connection: FunctionTooLong \u2014 ecc_tui::handle_remote_dispatch_connection runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":4055}}}],"partialFingerprints":{"codehealthFindingId/v1":"145a12011d104fb10d144ec7ded4520222815d6a82c100906ed7b254dc9de621"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/mod.rs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 174 over it, 1.35\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":"ecc2/src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ab6fc5a0d026270d72c5061f8780e9dc48046c443ac5268dc32b9dbce489c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./ecc_dashboard.py: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 152 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":"ecc_dashboard.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2025c1f72c43a108857575c07816efc378555db1b93593a924be9fe5e5aa8a04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-intent.main: FunctionTooLong \u2014 main runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1ebdf27da0e7e49e37454f361db2f7b2f2bbcf537574644f90ddea8fac53b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/audit-docs.py: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a035c23ad82136d75b94e9ece8b95adff04d984939ebd3f65052bf96cae0dc30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/audit-docs.py: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\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":"pi/core/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"398bc92fee862a1d7c9b9c7941ea020ebfff7ca3ac72519d7e3fedfaacfc0e66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/audit-docs.py: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\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":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad825e483ba8522a49ee950d2d7df83fb2e99e7982feab0c0e65b4c4bafd93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::import_legacy_remote_dispatch: FunctionTooLong \u2014 ecc_tui::import_legacy_remote_dispatch runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50e8df018f7f98ae95f9718432140fc70fc3fa62423dcbc303ea75cb2c60ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::session::manager::build_merge_queue: FunctionTooLong \u2014 ecc_tui::session::manager::build_merge_queue runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"67941b416741a1a4c9f339f79b07aa7cd85dce695fef12b464fdb297c2e6ea5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dashboard.new: MethodTooLong \u2014 new runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a7f70593118bc0634748aee8147cbee82084f56c41456052da5c5398ae44e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-smoke.smoke: FunctionTooLong \u2014 smoke runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/sandbox-smoke.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c62ae709a468cd8381d164d2f10247a6d2f1ad3672a564f64a90b126b81a98e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dashboard.submit_spawn_prompt: MethodTooLong \u2014 submit_spawn_prompt runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f4572bd657dd1aab821edb902644135a9d3e300190a7ebe9a813b9e43b554"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dashboard.sync_selected_lineage: MethodTooLong \u2014 sync_selected_lineage runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4950}}}],"partialFingerprints":{"codehealthFindingId/v1":"9254057d282af336777e7f6da9ae1ae8b339b117aee1adb85a9c8dd7b7735992"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::session::manager::enforce_conflict_resolution: FunctionTooLong \u2014 ecc_tui::session::manager::enforce_conflict_resolution runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ada0702160b6b8dd0e35cfcc4d0b7177c2fb8f7903ecbb7cb7379be318e176"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::session::manager::assign_session_in_dir_with_runner_program: FunctionTooLong \u2014 ecc_tui::session::manager::assign_session_in_dir_with_runner_program runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a5b8dd8194b22bbd0eca515536966a256f269e59b89978786095e16866c625"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 33 stored fields beside 19 methods. 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":"ecc2/src/config/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebbe763deead3e83d6582fa85961341bb54882f6b3e6084e63e21fd7e1efbd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::session::manager::launch_orchestration_template: FunctionTooLong \u2014 ecc_tui::session::manager::launch_orchestration_template runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058e5748fa40148f2b0b88ae4d6faff2d398f06ed3a6206088cfd0714e847c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/mod.rs: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 40 over it, 1.08\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":"ecc2/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6c28236d314d9cafa5251ccce5cff237884faa1758990879e548c3d44ecab8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateStore.recall_context_entities: MethodTooLong \u2014 recall_context_entities runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":3304}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c9c8c7eb7dab5a87ea227f4cc55384e9b540d6c96361e4f29e5c00ff9948d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::tui::app::run: FunctionTooLong \u2014 ecc_tui::tui::app::run runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/app.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f450ea10eb52ff7a0d83fb04adaf6f2df4b2c420af49a88c7bf43b2e3b271c26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory-mcp.createMemoryMcpService: FunctionTooLong \u2014 createMemoryMcpService runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"015e443d4ba9627997df4bfe57ff926d37e8656713da20a101b37bb74247b775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ecc_tui::import_legacy_schedules: FunctionTooLong \u2014 ecc_tui::import_legacy_schedules runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":6053}}}],"partialFingerprints":{"codehealthFindingId/v1":"2079447db73426c2bc37014c69f7dbd72f6c836a8c6f892c26042808799ebd39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/memory-mcp.mjs: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 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":"scripts/memory-mcp.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9fa0a9e2b99c1d4f4d7a1dc30db18b812065f02f8c959ff964e64d6d0f8619"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): ecc2/src/session/manager.rs:1585-1720 | ecc2/src/session/manager.rs:3815-3921 \u2014 These two members are variants of one another: 52 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":"ecc2/src/session/manager.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd44559ead81170ba8dbf2591e066da919cee1c0ce3312c7216cc4aca3e0c917"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): ecc2/src/main.rs:6580-6680 | ecc2/src/main.rs:6866-6971 \u2014 These two members are variants of one another: 49 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":"ecc2/src/main.rs"},"region":{"startLine":6580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6e727729fcce6925c44b6b70dadc8f515da897c4574acc014507c3f19fedd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): skills/taste-application/scripts/taste/timeline.py:269-379 | skills/taste-distillation/scripts/taste/timeline.py:269-379 \u2014 These two members are one piece of code written twice and then edited apart: 111 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c61c348bcab9c79ecf15a209a62238a6a871f6f96d546c7816a416f5fec3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .agents/skills/docs-governance/scripts/audit-docs.py:249-267 | .agents/skills/docs-governance/scripts/audit-docs.py:300-329 | pi/core/skills/docs-governance/scripts/audit-docs.py:249-267 | pi/core/skills/docs-governance/scripts/audit-docs.py:300-329 | skills/docs-governance/scripts/audit-docs.py:249-267 | skills/docs-governance/scripts/audit-docs.py:300-329 \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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e5dcd55e23ba51751657e35e209ea3775fac93d73b625d9908250170664dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ecc2/src/session/store.rs:2688-2717 | ecc2/src/session/store.rs:2723-2752 | ecc2/src/session/store.rs:2788-2814 | ecc2/src/session/store.rs:2816-2843 \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":"ecc2/src/session/store.rs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5445b41ece984e1baf47bbd73a756aa11fc1f52ace0d616ab28382326d3361"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:49-91 | pi/core/skills/agent-self-evaluation/scripts/evaluate.py:203-243 | skills/agent-self-evaluation/scripts/evaluate.py:49-91 | skills/agent-self-evaluation/scripts/evaluate.py:203-243 \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":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3513c0706c9a627f422e23c6ab7e20edcf770f4f8b71c930ea113d2bbe4cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/taste-application/scripts/taste/grade.py:212-237 | skills/taste-application/scripts/taste/grade.py:607-639 | skills/taste-distillation/scripts/taste/grade.py:212-237 | skills/taste-distillation/scripts/taste/grade.py:607-639 \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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"40986c08612d8b8693c342861fae74929575025c36e3924a8d3ea69bf45ec0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): ecc_dashboard.py:398-452 | ecc_dashboard.py:503-563 \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":"ecc_dashboard.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b88ada86aa68bf8beab366e506559c6279039a28759be58e16e618cdfb915e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): skills/taste-application/scripts/mint.py:138-176 | skills/taste-distillation/scripts/mint.py:138-176 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"skills/taste-application/scripts/mint.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f036d36967699208ca586fd18d84603e269c294a88e6ba617446126c708fdf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): ecc_dashboard.py:625-659 | ecc_dashboard.py:675-720 \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":"ecc_dashboard.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fa78af1ba1926db19c229bc6aa17ed5a9eb867c211c5575eab974c7771aff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): ecc2/src/main.rs:3166-3225 | ecc2/src/main.rs:3319-3376 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"ecc2/src/main.rs"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb7f5e9bec2db6fa53d01547973bae186fedb0eb4cf06a9bfa0aeae670e7763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): ecc2/src/tui/dashboard.rs:2824-2881 | ecc2/src/tui/dashboard.rs:2929-3002 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac8d36bc246bfb919f73b7db06a7a38209862764b3696f7f84c9ed2d5fbf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): ecc2/src/main.rs:7740-7796 | ecc2/src/main.rs:7972-8034 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"ecc2/src/main.rs"},"region":{"startLine":7740}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc4984c18dece5ea2c382c286b0629e60b501998fd9c7541af3ef87bfcdaf46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): src/llm/providers/astraflow.py:72-123 | src/llm/providers/atlas.py:85-140 | src/llm/providers/openai.py:96-150 \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":"src/llm/providers/astraflow.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"90191cbed852d0744de166050e114c634b86f49abbfcd539fb0c43cbdd621578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): skills/taste-application/scripts/taste/grade.py:126-141 | skills/taste-distillation/scripts/taste/grade.py:126-141 \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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb29dd5d3205d3bf5d0e88dc572894a54e396d1b003e0271bed09a212e639f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ecc2/src/session/store.rs:4227-4273 | ecc2/src/session/store.rs:4275-4303 \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":"ecc2/src/session/store.rs"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b865bb0b140b9a6a644b3df8e1c1ed700ca13a39f7ea4854e0d461131f95cb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): ecc2/src/tui/dashboard.rs:8338-8386 | ecc2/src/tui/dashboard.rs:8393-8435 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24726ea326a4eb82b852af76bcba2e8d3b93bd3a827e1a37a640536dd0b621d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): ecc2/src/tui/dashboard.rs:2717-2768 | ecc2/src/tui/dashboard.rs:2770-2822 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e46eb59cdbcd6da9ef67be896cbcaed86a8d1156d604c0a2563e5d1c42c8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): ecc2/src/session/manager.rs:2624-2674 | ecc2/src/session/manager.rs:2735-2775 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"63afc0f5711a21d479739baa31b182a95538bfc51f4bd157c4f65defdff1c007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ecc2/src/worktree/mod.rs:694-720 | ecc2/src/worktree/mod.rs:1410-1440 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"46559b26c9b46f35fcc5ac42d8c8fe6b5f8090e6f4ea1e48c3ea4ee742d19418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): ecc2/src/main.rs:3123-3159 | ecc2/src/main.rs:3279-3312 \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":"ecc2/src/main.rs"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97037e698d7507cc84188277cd03038bf987964050d6aae3baf04009548eb51c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): skills/taste-application/scripts/taste/timeline.py:161-198 | skills/taste-application/scripts/tasteforge/timeline.py:83-104 | skills/taste-distillation/scripts/taste/timeline.py:161-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 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf6737163f161f3be28bbbeb419bbf9354bf4996aab8a96c499bfc5edfddfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): ecc2/src/main.rs:6550-6578 | ecc2/src/main.rs:6835-6864 | ecc2/src/main.rs:7036-7068 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"ecc2/src/main.rs"},"region":{"startLine":6550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3896f25efe404af4787aa8df0ec459e540c12c63515f2a903ef650f8df9382e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): ecc2/src/main.rs:7883-7911 | ecc2/src/main.rs:7913-7939 | ecc2/src/main.rs:7941-7970 \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":"ecc2/src/main.rs"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d8e45f2f67e210d57079cafa2ed51e3cf32b84b60ee9c559f6973f67fe786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ecc2/src/session/store.rs:5319-5340 | ecc2/src/session/store.rs:5362-5384 \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":"ecc2/src/session/store.rs"},"region":{"startLine":5319}}}],"partialFingerprints":{"codehealthFindingId/v1":"186b21856d7f961a9ffcae236a08fea660020a97b534669fc9d5e461e96b2d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): skills/taste-application/scripts/taste/timeline.py:393-421 | skills/taste-application/scripts/tasteforge/export.py:206-226 | skills/taste-distillation/scripts/taste/timeline.py:393-421 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff8f52daf16f036827088727564a3783afa8a261f0acfd45a7f02b873386c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ecc2/src/tui/dashboard.rs:1254-1287 | ecc2/src/tui/dashboard.rs:1289-1320 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"57daf682b4559f76764de66c447d6278a3810ad03699417f0b03d62010c19ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): ecc2/src/tui/dashboard.rs:2367-2393 | ecc2/src/tui/dashboard.rs:2395-2424 | ecc2/src/tui/dashboard.rs:2426-2452 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a683861d45417d91355a66508197c56e86a313cee31c7efa6e3c17e81c4a1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ecc2/src/session/store.rs:2438-2462 | ecc2/src/session/store.rs:2504-2527 \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":"ecc2/src/session/store.rs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"762854851262d57b5af8efcacbd291a23108f36edd99b6fc2fa89964fa4c8cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ecc2/src/tui/dashboard.rs:1808-1835 | ecc2/src/tui/dashboard.rs:1844-1872 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a2d13cb7f49290703f0baef34d04d02c4245a248e4234c6efd077a295218b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): ecc2/src/main.rs:6461-6482 | ecc2/src/main.rs:6732-6759 | ecc2/src/main.rs:6987-7014 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":6461}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0cca7d2fb91e3d7ca6c36374de013585e958c792218797f54ac339ba1d1ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ecc2/src/worktree/mod.rs:1056-1083 | ecc2/src/worktree/mod.rs:1089-1120 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dcbee20f539f039d849928e3affea4ab479c8607689802688067bd066d074c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ecc2/src/main.rs:6509-6529 | ecc2/src/main.rs:6790-6813 \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":"ecc2/src/main.rs"},"region":{"startLine":6509}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c00db286c7da9aa65ff09895d11c15c001c79027b7c1b9dee09c72ed48673e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ecc2/src/session/manager.rs:1802-1834 | ecc2/src/session/manager.rs:1836-1862 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac1670c9c154d7ff4dd58d1b1825257b7bb758b49fb1537c2f87105fd97bb28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ecc2/src/session/manager.rs:215-246 | ecc2/src/session/manager.rs:404-439 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc13d60fff1d4d6ca0c83551ddeb5408c3d0c1e951146fbcd470a13c3152d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): ecc2/src/main.rs:3599-3620 | ecc2/src/main.rs:3622-3643 | ecc2/src/main.rs:3649-3672 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":3599}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8510fe0ff25b778f67b72aa2159de094809a14f4abc9702c7b409b6d5c5e984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): ecc2/src/tui/dashboard.rs:2514-2531 | ecc2/src/tui/dashboard.rs:2533-2550 | ecc2/src/tui/dashboard.rs:2552-2569 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a874177c38095ed1592b35f6207fd557bb942f62d8feba73c75c4c05686d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): ecc2/src/tui/dashboard.rs:3004-3024 | ecc2/src/tui/dashboard.rs:3026-3046 | ecc2/src/tui/dashboard.rs:3048-3072 | ecc2/src/tui/dashboard.rs:3214-3234 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3004}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95497cf4d99eb16c9add8773c6aaaada8884cc443a8454a4b3d1471fd7d6d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ecc2/src/session/store.rs:4137-4155 | ecc2/src/session/store.rs:4162-4178 \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":"ecc2/src/session/store.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8f51fc15c5a9b8437108025cf115f4fc03e1c8fc461ddc15f5e7169abe10e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): ecc2/src/session/store.rs:1544-1577 | ecc2/src/session/store.rs:1684-1727 \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":"ecc2/src/session/store.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4900b62c9b2f399e031f9505c1f904de590919537b3da277a6840485a01c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): ecc2/src/worktree/mod.rs:972-1000 | ecc2/src/worktree/mod.rs:1002-1025 | ecc2/src/worktree/mod.rs:1027-1050 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"db06aa04856e8ebbeb956108f8735a5c0165e636b054c0de44fa69d2205e2e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ecc2/src/main.rs:8596-8626 | ecc2/src/session/manager.rs:2959-2987 \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":"ecc2/src/main.rs"},"region":{"startLine":8596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9e2cb1016dadf442ebbc42e501d27835952b02c5cdfaac22621d160293bd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ecc2/src/main.rs:8632-8646 | ecc2/src/tui/dashboard.rs:7412-7432 \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":"ecc2/src/main.rs"},"region":{"startLine":8632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e09c8705531a38b974675cf9ea637b9bff6ee1d25168eb7a8415060baf3f55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): ecc2/src/tui/dashboard.rs:3927-3946 | ecc2/src/tui/dashboard.rs:3948-3967 | ecc2/src/tui/dashboard.rs:3969-3990 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"04244fdc7ebc5510b3c4e1743861955aded8e83fc080341d80a937ff267760c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ecc2/src/worktree/mod.rs:292-306 | ecc2/src/worktree/mod.rs:308-322 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"369345916c859b8957fbfa2fee43653c9297ec1f8292281d9465ee8b8d156e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ecc2/src/session/store.rs:2754-2769 | ecc2/src/session/store.rs:2771-2786 \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":"ecc2/src/session/store.rs"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a1ba0c76608b7b22ada957a248689517c52bc57686d63f910273ee17148fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ecc2/src/tui/dashboard.rs:3394-3404 | ecc2/src/tui/dashboard.rs:3406-3416 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9fc21b9a13e471ef15f18431a6104c8592ef4f9ee69a86fd941a4927ba4216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): ecc2/src/worktree/mod.rs:491-504 | ecc2/src/worktree/mod.rs:604-617 | ecc2/src/worktree/mod.rs:1462-1476 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3386c7ae7ba0deda2e179c752bb8b1e22e41c1808ecefb590e46e999ca4823b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): skills/taste-application/scripts/taste/plates.py:58-66 | skills/taste-distillation/scripts/taste/plates.py:58-66 \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":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"39195814d9ed3aa1b02485f081c1ba156a3b067fbf8f1827b68c32ea0c02d331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ecc_dashboard.py:476-496 | ecc_dashboard.py:597-613 \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":"ecc_dashboard.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8380e0a122d3869379fda0f7e16a48fa08dee87a833e2310e76cab72ed81f377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ecc2/src/session/mod.rs:34-48 | ecc2/src/session/mod.rs:50-64 \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":"ecc2/src/session/mod.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7ed13833956102d6a004e0830d17f6a3aa10316d6d88ec5ff0c600285fdbd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): ecc2/src/tui/dashboard.rs:2629-2648 | ecc2/src/tui/dashboard.rs:2650-2671 | ecc2/src/tui/dashboard.rs:3892-3908 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"4683ad4b26a9a80fae078a0abef2e9bd9b83e8097e3da028aaeb01c81f591ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/llm/providers/astraflow.py:56-69 | src/llm/providers/atlas.py:65-82 \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":"src/llm/providers/astraflow.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d2bf31c5d246dafcbbb9fd6cbf89fdf05f876aeb34444a5ad9edccb849c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ecc2/src/main.rs:6815-6833 | ecc2/src/main.rs:7016-7034 \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":"ecc2/src/main.rs"},"region":{"startLine":6815}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c63516f429faf3a578c7ef6957966f31c34d3f12a2a2dbe1baf8b2a574b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ecc2/src/notifications.rs:152-165 | ecc2/src/notifications.rs:241-254 \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":"ecc2/src/notifications.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ae86b04d44eaa0d1174d0b725b237a1ecfd683f9ecb9ab2d27b41da860c274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ecc2/src/tui/dashboard.rs:8099-8115 | ecc2/src/tui/dashboard.rs:8117-8133 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8099}}}],"partialFingerprints":{"codehealthFindingId/v1":"584525ab4846ccc912772175a965c9655ff9909b645ea114a404439b1e881dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ecc2/src/main.rs:6009-6023 | ecc2/src/session/manager.rs:2385-2398 \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":"ecc2/src/main.rs"},"region":{"startLine":6009}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a34ff631cad73fc51f553bbd02ec7b36caf1eef28e5c86f26ca8b88632583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ecc2/src/tui/dashboard.rs:8796-8825 | ecc2/src/tui/dashboard.rs:8827-8850 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a341e2461352645cfa99813f4a0e3856f23a581cf3ff2d637340f27176d8908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ecc2/src/main.rs:8088-8108 | ecc2/src/main.rs:8245-8257 \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":"ecc2/src/main.rs"},"region":{"startLine":8088}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1cb8565c0eeaf4f87bd661d7f3e23a124f36e03ebdae552f584da98781d93f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ecc2/src/session/store.rs:4562-4587 | ecc2/src/session/store.rs:4589-4605 \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":"ecc2/src/session/store.rs"},"region":{"startLine":4562}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea16c68de8c80cdcca55e98e7f620e852250728f52d28227f1f9f505dc9f660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): ecc2/src/session/store.rs:1327-1349 | ecc2/src/session/store.rs:1392-1412 | ecc2/src/session/store.rs:1423-1446 | ecc2/src/session/store.rs:1448-1474 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 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":"ecc2/src/session/store.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8585aa8876ef2c90f08246e4a85bf0524ed60ba9a4c01b8a5c17a02a37367778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): skills/taste-application/scripts/taste/grade.py:263-266 | skills/taste-distillation/scripts/taste/grade.py:263-266 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d324236c35f44dfe9c566cb69bca84687e14059c73f7081d59d4374282ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ecc2/src/tui/dashboard.rs:3828-3843 | ecc2/src/tui/dashboard.rs:3876-3890 | ecc2/src/tui/dashboard.rs:3910-3925 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3828}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedfb44b1b953282c62686113734bf355d69db8e0124112e7ff9e837b7c195e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): ecc_dashboard.py:455-460 | ecc_dashboard.py:571-577 | ecc_dashboard.py:728-734 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc_dashboard.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa8e93a5f35a7cce9d3e415b1b5b1d6384cc01a948e1a730dcdf5c0495a3510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ecc2/src/comms/mod.rs:162-170 | ecc2/src/main.rs:3882-3889 | ecc2/src/tui/dashboard.rs:8064-8072 \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":"ecc2/src/comms/mod.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"047ff8815d195d20d190a5b8ede71d6c7bd37c2aebfff66e4d4713d29aea19f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): skills/taste-application/scripts/taste/cadence.py:244-251 | skills/taste-distillation/scripts/taste/cadence.py:244-251 \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":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a98808e561f7a1dafc777496660ee181eeedb00a89415059b9d516997bbf70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/llm/providers/ollama.py:67-107 | src/llm/providers/openai.py:42-93 \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":"src/llm/providers/ollama.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca437f3b5b72796c62f28f8954564ce2b39f13091dbe78fd921bc349f67ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): .agents/skills/docs-governance/scripts/module_audit.py:28-31 | pi/core/skills/docs-governance/scripts/module_audit.py:28-31 | skills/docs-governance/scripts/module_audit.py:28-31 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":".agents/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c68d36730d7d869f94bff9ad78d963147294c024c72dffa1c6ac7c291b0b36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): ecc2/src/session/store.rs:3124-3144 | ecc2/src/session/store.rs:3284-3302 | ecc2/src/session/store.rs:3617-3635 | ecc2/src/session/store.rs:3853-3875 | ecc2/src/session/store.rs:4046-4063 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5794389dc12b5fc1d64ee284873dc0b6304b11c10cf50cf68d1fdcd298e8f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ecc2/src/tui/dashboard.rs:3802-3811 | ecc2/src/tui/dashboard.rs:3813-3826 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c956dd2060eb43285e6a2e209787b0807d298cad62195186465bd5dcae8b2899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ecc2/src/config/mod.rs:689-700 | ecc2/src/config/mod.rs:702-713 \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":"ecc2/src/config/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a062a0d10d9f832ac5103e731ddc230301ab4ca9a477fa3c31857b6bab322a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): skills/taste-application/scripts/taste/assemble.py:29-31 | skills/taste-distillation/scripts/taste/assemble.py:29-31 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e453a49b21c5594e3d27db34d2a413aff3e5ce5162867369b0e68300e5379e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/llm/providers/model_config.py:7-11 | src/llm/providers/resolver.py:40-43 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"src/llm/providers/model_config.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"66326bdbe5cc34318879b689e3672883322315221cbbca1bc80770edc4ea26c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): ecc2/src/session/store.rs:149-162 | ecc2/src/session/store.rs:169-183 | ecc2/src/session/store.rs:185-199 \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":"ecc2/src/session/store.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac79c889a101e3eaee71b24c9ba5991b0d8be327777839e721ed25b30cdab61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): skills/taste-application/scripts/taste/timeline.py:250-253 | skills/taste-application/scripts/tasteforge/export.py:83-86 | skills/taste-distillation/scripts/taste/timeline.py:250-253 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6c4161764f905dbe6bdd13d276ec4ad8e6d324486570a32aede083a5a2863c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): skills/taste-application/scripts/falapi.py:627-630 | skills/taste-application/scripts/taste/falapi.py:627-630 | skills/taste-distillation/scripts/taste/falapi.py:627-630 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"197fa13f52e1a5ff68592ac3c07eab8a2de52800617fefc5bfcad15d3097b1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): skills/taste-application/scripts/taste/pack.py:161-164 | skills/taste-distillation/scripts/taste/pack.py:161-164 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"skills/taste-application/scripts/taste/pack.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33476406a72ab2057b683989befc56677917223e071991322345373cfe43fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): skills/taste-application/scripts/taste/pack.py:123-126 | skills/taste-distillation/scripts/taste/pack.py:123-126 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"skills/taste-application/scripts/taste/pack.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab9833b062c64e4e6898ac662e9256d78d6bed1467c593eabb20b5b4259e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): skills/taste-application/scripts/falapi.py:734-735 | skills/taste-application/scripts/taste/falapi.py:734-735 | skills/taste-distillation/scripts/taste/falapi.py:734-735 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c34402cd709dd6366c191fb1f613a666ef43b6a00c1ec3e7bca33045515981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): skills/taste-application/scripts/taste/assemble.py:283-286 | skills/taste-application/scripts/taste/cadence.py:255-258 | skills/taste-application/scripts/taste/pack.py:129-131 | skills/taste-distillation/scripts/taste/assemble.py:283-286 | skills/taste-distillation/scripts/taste/cadence.py:255-258 | skills/taste-distillation/scripts/taste/pack.py:129-131 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7365a9d879523b977f8edeec0ce2b0f867544150c2ffcd7380c5600419f141"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): skills/taste-application/scripts/taste/grade.py:329-330 | skills/taste-distillation/scripts/taste/grade.py:329-330 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b468ef57706b6db15f44fd452a3f7b321cf64ee2e5aed3f3a5dcb8232e626f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): skills/taste-application/scripts/taste/grade.py:98-99 | skills/taste-distillation/scripts/taste/grade.py:98-99 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a1767c0594614a1deee760b4314e98e661c6df4e3816076ac12ef87f205c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): .agents/skills/docs-governance/scripts/audit-docs.py:241-243 | pi/core/skills/docs-governance/scripts/audit-docs.py:241-243 | skills/docs-governance/scripts/audit-docs.py:241-243 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab188a21b44722a4756fe44032a17dc976bdfa4e9e54f6532f2d282c902a61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): skills/taste-application/scripts/taste/grade.py:592-595 | skills/taste-distillation/scripts/taste/grade.py:592-595 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8461078cca71d40c4d1458506acb84400d1ad5e634567dee7d28dff70c9cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): .agents/skills/docs-governance/scripts/markdown_links.py:148-149 | pi/core/skills/docs-governance/scripts/markdown_links.py:148-149 | skills/docs-governance/scripts/markdown_links.py:148-149 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"33587a28ae7772f1ad205a8b3e55892505956c386302c78a0aaa38f70b00dde0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ecc2/src/session/mod.rs:696-703 | ecc2/src/session/store.rs:5234-5243 \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":"ecc2/src/session/mod.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a1102436ae5c924ca3b4090256b0cc6e70c3ed3a7b8f441fc8abc47108d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ecc2/src/main.rs:3178-3199 | ecc2/src/main.rs:3331-3352 \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 \u0060ecc2/src/main.rs:3178\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":"ecc2/src/main.rs"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3359ff272c3f08e71df65a28f486a34def0d5c527be47167a3514eb7160316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ecc2/src/main.rs:4092-4111 | ecc2/src/main.rs:4169-4188 \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 \u0060ecc2/src/main.rs:4092\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":"ecc2/src/main.rs"},"region":{"startLine":4092}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c93b469d35793742e6f02d32713f5a2c926616538fa4830d0188b926cef657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ecc2/src/main.rs:4126-4145 | ecc2/src/main.rs:4206-4225 \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 \u0060ecc2/src/main.rs:4126\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":"ecc2/src/main.rs"},"region":{"startLine":4126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6945ec67dfbf429e7baa163fd10822d3cddd5066c5606b2d04e3b1122306c1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ecc2/src/tui/dashboard.rs:8339-8359 | ecc2/src/tui/dashboard.rs:8394-8414 \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 \u0060ecc2/src/tui/dashboard.rs:8339\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbca09bf38caaae2efa8b4f6879571482a1e3172498b6bed4e7be1d096eddb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): ecc2/src/main.rs:3207-3225 | ecc2/src/main.rs:3359-3376 \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 \u0060ecc2/src/main.rs:3207\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: just before the matched lines, \u0060ecc2/src/main.rs:3359\u0060 calls \u0060as_deref\u0060 and \u0060ecc2/src/main.rs:3207\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":"ecc2/src/main.rs"},"region":{"startLine":3207}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fdd3b66fdaa661eceaf76ff25c354d1783d2f95294aa49ac7409598375a12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): ecc2/src/main.rs:6033-6051 | ecc2/src/main.rs:7090-7108 | ecc2/src/main.rs:7133-7151 \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 \u0060ecc2/src/main.rs:6033\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060draft\u0060 to \u0060\u0026LegacyScheduleDraft\u0060 in one and \u0060\u0026LegacyRemoteDispatchDraft\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":"ecc2/src/main.rs"},"region":{"startLine":6033}}}],"partialFingerprints":{"codehealthFindingId/v1":"b126cdbfa0eeec0301e705133270a6c2af3e81bea873f0f781fe6f29ce9c62ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): ecc2/src/session/manager.rs:940-957 | ecc2/src/session/manager.rs:1148-1163 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e7701f0d06e3a23f68e1cdea32497f4012faf171b8965fb1454e070f637f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ecc2/src/tui/dashboard.rs:1818-1835 | ecc2/src/tui/dashboard.rs:1855-1872 \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 \u0060ecc2/src/tui/dashboard.rs:1818\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: \u0060ecc2/src/tui/dashboard.rs:1855\u0060 is reached only past a guard at line 1845 that tests \u0060self.cfg.pane_layout\u0060 and leaves the function early, and \u0060ecc2/src/tui/dashboard.rs:1818\u0060 reads \u0060self.cfg.pane_layout\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"e766384c61c551b1fce013c7911aeba92aa1dbf78ab9290e3adf9cea8c1286fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ecc2/src/main.rs:6513-6529 | ecc2/src/main.rs:6797-6813 \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 \u0060ecc2/src/main.rs:6513\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: just before the matched lines, \u0060ecc2/src/main.rs:6794\u0060 calls \u0060starts_with\u0060 and \u0060ecc2/src/main.rs:6512\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":"ecc2/src/main.rs"},"region":{"startLine":6513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4c3d9807cd7990a42ab6c46588b2786695406dbd780c8f300b7612abd77ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ecc2/src/session/manager.rs:1660-1676 | ecc2/src/session/manager.rs:3880-3896 \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 \u0060ecc2/src/session/manager.rs:1660\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":"ecc2/src/session/manager.rs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc540288bc7108e3519a26f05b86735dcecf6e37f8c82e270e375d81680de392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ecc2/src/session/manager.rs:1641-1656 | ecc2/src/session/manager.rs:3854-3869 \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 \u0060ecc2/src/session/manager.rs:1641\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":"ecc2/src/session/manager.rs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f033c48cad0631e3741e991e16a203a5235d440502ec5628916606065d7687bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ecc2/src/tui/dashboard.rs:2742-2757 | ecc2/src/tui/dashboard.rs:2796-2811 \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 \u0060ecc2/src/tui/dashboard.rs:2742\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2d59fd1db9cedfe290de70033044515f282f93ee93ea4c770fb52c77d20e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ecc2/src/session/manager.rs:218-232 | ecc2/src/session/manager.rs:405-419 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e07b1d0e0b22eb0e5702427b27749837bf85fe3c9b32f558513235ec494bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): ecc2/src/tui/dashboard.rs:2225-2237 | ecc2/src/tui/dashboard.rs:3647-3661 \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 \u0060ecc2/src/tui/dashboard.rs:2225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50645c333700e40f4354d93b48f55e166dd455b05451ed8ee8b8af828e2cdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ecc2/src/tui/dashboard.rs:7026-7040 | ecc2/src/tui/dashboard.rs:7059-7072 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":7026}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ddfae27904cc60e8d06c038c59897d345b5c48aa42c94f4210473374a0a76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): ecc2/src/session/store.rs:2699-2711 | ecc2/src/session/store.rs:2734-2746 | ecc2/src/session/store.rs:2798-2810 | ecc2/src/session/store.rs:2825-2838 \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 \u0060ecc2/src/session/store.rs:2825\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":"ecc2/src/session/store.rs"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"a572b7529ac00fd4ff8aa2f93738ce9fe3fdabea304534385c3b6c3ca327a3b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ecc2/src/main.rs:3131-3144 | ecc2/src/main.rs:3284-3297 | ecc2/src/main.rs:3443-3456 \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. 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, \u0060ecc2/src/main.rs:3128\u0060 calls \u0060open\u0060, \u0060with_context\u0060, \u0060display\u0060 and \u0060ecc2/src/main.rs:3282\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":"ecc2/src/main.rs"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d34545851eeb5ce20b41388a5ff096c61a6e9563f6f9580ec7df9e18bd2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ecc2/src/tui/dashboard.rs:2370-2383 | ecc2/src/tui/dashboard.rs:2398-2411 | ecc2/src/tui/dashboard.rs:2429-2442 \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 \u0060ecc2/src/tui/dashboard.rs:2370\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d60ffa345f55a5126939b95669f8e24e63e0cf89cfe8b7b8eb09e31529a5d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ecc2/src/main.rs:1770-1783 | ecc2/src/main.rs:1998-2011 \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 \u0060ecc2/src/main.rs:1770\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: just before the matched lines, \u0060ecc2/src/main.rs:1997\u0060 calls \u0060short_session\u0060 and \u0060ecc2/src/main.rs:1769\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":"ecc2/src/main.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"40016cc431fed5281d328a6a3f43fafe48ea21d1441bc3da3019279c09d7b466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): ecc2/src/main.rs:6854-6864 | ecc2/src/main.rs:7055-7068 \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 \u0060ecc2/src/main.rs:6854\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":"ecc2/src/main.rs"},"region":{"startLine":6854}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b955f5eb9862019d499ac2d09a34d0b21c1fb17d1839b1310802667c7bd83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ecc2/src/tui/dashboard.rs:8189-8202 | ecc2/src/tui/dashboard.rs:8253-8266 \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 \u0060ecc2/src/tui/dashboard.rs:8189\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8189}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceb8e3e82de5b56fa057ff5c5866fcfd5c0a150794b3309dfb26feb88166e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ecc2/src/main.rs:4070-4082 | ecc2/src/main.rs:4147-4159 \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":"ecc2/src/main.rs"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfa748edebeec8d0b7aa05dc0f634f9f6be1d6564d7d7bcc0190a14e0d5e7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): ecc2/src/tui/dashboard.rs:2905-2913 | ecc2/src/tui/dashboard.rs:2968-2980 \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 \u0060ecc2/src/tui/dashboard.rs:2968\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eedf3932f9ad4b3b904a03c56ac3a944646f82ca329726e78c8cee1706ae663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ecc2/src/tui/dashboard.rs:2857-2868 | ecc2/src/tui/dashboard.rs:2905-2916 | ecc2/src/tui/dashboard.rs:2972-2983 \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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e9c7137ff27448e9ec6bd3630d87731481a131fc498df4c030998e2841db4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ecc2/src/main.rs:7803-7814 | ecc2/src/main.rs:7847-7857 \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 \u0060ecc2/src/main.rs:7803\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 \u0060report\u0060 to \u0060\u0026LegacyMemoryImportReport\u0060 in one and \u0060\u0026LegacyEnvImportReport\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":"ecc2/src/main.rs"},"region":{"startLine":7803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61f5fbfc34c5001832cdee4ada6e07dee103d2d66b36074474f070ba22b9f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ecc2/src/main.rs:8527-8538 | ecc2/src/tui/dashboard.rs:2949-2960 \u2014 before extracting anything, compare \u0060ecc2/src/main.rs\u0060 and \u0060ecc2/src/tui/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060ecc2/src/main.rs:8527\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":"ecc2/src/main.rs"},"region":{"startLine":8527}}}],"partialFingerprints":{"codehealthFindingId/v1":"da92f4b1b94d20ed1fefd6bc6c044013a72567b6243fae4e6adb9162641678de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ecc2/src/session/manager.rs:1604-1615 | ecc2/src/session/manager.rs:3826-3837 \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 \u0060ecc2/src/session/manager.rs:1604\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":"ecc2/src/session/manager.rs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4335e27d2e7526039080f5e38e72c874e96221810054293daeb044a60005b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ecc2/src/tui/dashboard.rs:2036-2047 | ecc2/src/tui/dashboard.rs:2083-2094 \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 \u0060ecc2/src/tui/dashboard.rs:2036\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde94c742d93f4a79bb1d96a1c6745f9f6d15c2911d2dabd7d91f41984c0ad4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/main.rs:6599-6609 | ecc2/src/main.rs:6885-6895 \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 \u0060ecc2/src/main.rs:6599\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":"ecc2/src/main.rs"},"region":{"startLine":6599}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a9a1f4a602055f94285db238a0efdee9676dd586d8b01101a91ea921b3ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): ecc2/src/main.rs:7932-7939 | ecc2/src/main.rs:7960-7970 \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 \u0060ecc2/src/main.rs:7932\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":"ecc2/src/main.rs"},"region":{"startLine":7932}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5e8c30cc5c861edad32cd984939de04c12c973b2793e493aa4108909ad7dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): ecc2/src/session/manager.rs:1106-1112 | ecc2/src/session/manager.rs:1130-1140 \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 \u0060ecc2/src/session/manager.rs:1106\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, \u0060ecc2/src/session/manager.rs:1127\u0060 calls \u0060direct_delegate_sessions\u0060, \u0060unread_message_counts\u0060 and \u0060ecc2/src/session/manager.rs:1104\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":"ecc2/src/session/manager.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95c70f36a0a66a644c8d5c51a998c261f0220bcfe02016e32b40ed61fae384d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/worktree/mod.rs:710-720 | ecc2/src/worktree/mod.rs:1430-1440 \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 \u0060ecc2/src/worktree/mod.rs:710\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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"5345fea321f55c171a50e09ddfe18f02c18a53af5705ce845355701480d9f2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/main.rs:4682-4691 | ecc2/src/main.rs:4737-4746 \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 \u0060ecc2/src/main.rs:4682\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 \u0060report\u0060 to \u0060\u0026WorktreeStatusReport\u0060 in one and \u0060\u0026WorktreeResolutionReport\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":"ecc2/src/main.rs"},"region":{"startLine":4682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5385242cc2fa75213cb3c9617ecb9c9ef342ab240d2afa7d5961a571a4c7e6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/main.rs:6618-6627 | ecc2/src/main.rs:6904-6913 \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 \u0060ecc2/src/main.rs:6618\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":"ecc2/src/main.rs"},"region":{"startLine":6618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b696b42a0beb46fe51f2c7699008c01def0d4ec2082d46769ea94ffbb8d7b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/session/manager.rs:2643-2652 | ecc2/src/session/manager.rs:2748-2757 \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, \u0060ecc2/src/session/manager.rs:2639\u0060 calls \u0060Some\u0060, \u0060as_ref\u0060, \u0060upsert_session_profile\u0060 and \u0060ecc2/src/session/manager.rs:2746\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":"ecc2/src/session/manager.rs"},"region":{"startLine":2643}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fadca6e6f29b000c162b6b8ec16edf664c5b031a65ecf9c09010a063c05e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/session/store.rs:2760-2769 | ecc2/src/session/store.rs:2777-2786 \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 \u0060ecc2/src/session/store.rs:2760\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":"ecc2/src/session/store.rs"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcba61537b0c5d0c1f346fc4d4f134654e6c7170d9c82aa6966d92b87fffcdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/session/store.rs:5211-5220 | ecc2/src/session/store.rs:5464-5473 \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":"ecc2/src/session/store.rs"},"region":{"startLine":5211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca46c5d89f2c664ff02c4ad5ebccac7c3b70ca140547ab6b2d4d6445987eae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): ecc2/src/worktree/mod.rs:1591-1600 | ecc2/src/worktree/mod.rs:1612-1619 \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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9309bf99cef4b95726e43f390ecfc36f25428a55de36b0e10c0b81412e0c8a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ecc2/src/main.rs:7888-7896 | ecc2/src/main.rs:7918-7926 | ecc2/src/main.rs:7946-7954 \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 \u0060ecc2/src/main.rs:7888\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060report\u0060 to \u0060\u0026LegacySkillImportReport\u0060 in one and \u0060\u0026LegacyToolImportReport\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":"ecc2/src/main.rs"},"region":{"startLine":7888}}}],"partialFingerprints":{"codehealthFindingId/v1":"802dce36ea3944e5764dab9df32589956e8ff8ad78850688326d4e5335348deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ecc2/src/main.rs:6735-6748 | ecc2/src/main.rs:6990-7003 \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":"ecc2/src/main.rs"},"region":{"startLine":6735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e565cb834cc90d9347e0347ae5f508ef15bd0b1bfea0cb0047e4b23a5bdc6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ecc2/src/main.rs:8540-8548 | ecc2/src/tui/dashboard.rs:2962-2970 \u2014 before extracting anything, compare \u0060ecc2/src/main.rs\u0060 and \u0060ecc2/src/tui/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060ecc2/src/main.rs:8540\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":"ecc2/src/main.rs"},"region":{"startLine":8540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4994ae4f6691c57552a610626e54b6694d4d3646545fdcdb9c686faf02e9c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/session/store.rs:2446-2456 | ecc2/src/session/store.rs:2512-2522 \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":"ecc2/src/session/store.rs"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e56e9a356eb44b45ae9840577e3f46a742f6aeeacadb3c0438c6c6aeaa58e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): ecc2/src/comms/mod.rs:163-170 | ecc2/src/main.rs:3883-3889 | ecc2/src/tui/dashboard.rs:8065-8072 \u2014 before extracting anything, compare \u0060ecc2/src/main.rs\u0060 and \u0060ecc2/src/tui/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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":"ecc2/src/comms/mod.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aadf8236e856f36f3b2ead92810de01119fb2688a4b192ed7fa58b2047d1da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ecc2/src/main.rs:5011-5018 | ecc2/src/main.rs:5081-5088 \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, \u0060ecc2/src/main.rs:5008\u0060 calls \u0060Some\u0060, \u0060push\u0060 and \u0060ecc2/src/main.rs:5080\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":"ecc2/src/main.rs"},"region":{"startLine":5011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d665406c97c9366aeda4709ce407328e73e2744c7a9c1d3cfc3b384aa288edbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ecc2/src/session/store.rs:962-969 | ecc2/src/session/store.rs:1854-1861 \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 \u0060ecc2/src/session/store.rs:962\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":"ecc2/src/session/store.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b856956124d402ddd7bdaa63ac10c8bbc5a0e905b61a88672f1169beb5bf90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ecc2/src/tui/dashboard.rs:1255-1262 | ecc2/src/tui/dashboard.rs:1290-1297 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060lines\u0060 to \u0060\u0026[\u0026OutputLine]\u0060 in one and \u0060\u0026[GraphDisplayLine]\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ecc2/src/tui/dashboard.rs:1264\u0060 calls \u0060selected_session_id\u0060 and \u0060ecc2/src/tui/dashboard.rs:1299\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6cf7f2775eee3893a5becd5e429fd50b908a39c957df9eb53fc07a3faca827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): ecc2/src/session/store.rs:962-968 | ecc2/src/session/store.rs:1163-1168 | ecc2/src/session/store.rs:1854-1860 \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 \u0060ecc2/src/session/store.rs:962\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":"ecc2/src/session/store.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d07a7ef801e1ebbc3a1254d3dac299e3c8996655309117ee4a5610265f4f5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/session/manager.rs:1595-1601 | ecc2/src/session/manager.rs:3817-3823 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"683ffb3234e4b40185d39f5bdb68f6df8b8d1c21b30a9f98775d2c3b8511d915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/session/store.rs:989-995 | ecc2/src/session/store.rs:2935-2941 \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 \u0060ecc2/src/session/store.rs:989\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":"ecc2/src/session/store.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc75199ed7db48fc86a603d5cd0265c4804bca88b227c87da0ddd61cb2af743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/tui/dashboard.rs:1022-1028 | ecc2/src/tui/dashboard.rs:1087-1093 \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 \u0060ecc2/src/tui/dashboard.rs:1022\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a1fe58a259d4ef15ce092870183b45803294d15034883c80816445574f57cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ecc2/src/main.rs:2057-2062 | ecc2/src/main.rs:2097-2102 \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 \u0060ecc2/src/main.rs:2057\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":"ecc2/src/main.rs"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"420a29dd06f34f7bc2e04c53e492136fbad593cd5b4460feaa2e15b734937016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ecc2/src/main.rs:5818-5825 | ecc2/src/main.rs:5912-5919 \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 \u0060ecc2/src/main.rs:5818\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":"ecc2/src/main.rs"},"region":{"startLine":5818}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4cc42aed4a74524019c2a89a97e2bee2d87e245c0faefe8088b6fd2c39f076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ecc2/src/main.rs:8070-8074 | ecc2/src/tui/dashboard.rs:5489-5493 \u2014 before extracting anything, compare \u0060ecc2/src/main.rs\u0060 and \u0060ecc2/src/tui/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060ecc2/src/main.rs:8070\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":"ecc2/src/main.rs"},"region":{"startLine":8070}}}],"partialFingerprints":{"codehealthFindingId/v1":"096f0ff92c9491a1c093ef7b54f0d100cda518b5bbd19bec1999d9ea3d5f282f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ecc2/src/session/store.rs:4249-4253 | ecc2/src/session/store.rs:4285-4289 \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 \u0060ecc2/src/session/store.rs:4249\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":"ecc2/src/session/store.rs"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ee7177e24c10a0e0b2e51e961258788adc2f25e82946a3c00f146f3f346377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/session/manager.rs:4229-4239 | ecc2/src/tui/dashboard.rs:8616-8626 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00fd8d0dcc1d0f2cb61050d9c2fc33fc76bcb6abd72417561f23da722883df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/session/store.rs:4652-4661 | ecc2/src/tui/dashboard.rs:8605-8614 \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":"ecc2/src/session/store.rs"},"region":{"startLine":4652}}}],"partialFingerprints":{"codehealthFindingId/v1":"83211948a47ba640c542cc17449c80c55c3ee6663140ce875c67802c9bcd880c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ecc2/src/session/manager.rs:1803-1817 | ecc2/src/session/manager.rs:1837-1851 \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":"ecc2/src/session/manager.rs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"450aae699d2bd44c2685eee18a92c586ecb9b90a3967b799c4b7e4b1e990fbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ecc2/src/main.rs:6643-6655 | ecc2/src/main.rs:6929-6941 \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 \u0060ecc2/src/main.rs:6643\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":"ecc2/src/main.rs"},"region":{"startLine":6643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68431ff73b56d7fa037a7ae77545131f0df4b14ecc8a8bc68c986f321d45bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ecc2/src/main.rs:2042-2054 | ecc2/src/main.rs:2079-2091 \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 \u0060ecc2/src/main.rs:2042\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":"ecc2/src/main.rs"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"21261d94b1bde282565c562f07084a9b53fbd0315fe77510e8c7ea7b65ab13f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ecc2/src/main.rs:2343-2355 | ecc2/src/main.rs:2433-2445 \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 \u0060ecc2/src/main.rs:2343\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":"ecc2/src/main.rs"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff110a6705ac3e627b3af5ae2fcd627826ba544e7e8e7b66ddebc2e5800a01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ecc2/src/main.rs:7373-7384 | ecc2/src/main.rs:7416-7427 \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 \u0060ecc2/src/main.rs:7373\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":"ecc2/src/main.rs"},"region":{"startLine":7373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0daf5c7016e2565d67eaf08dfd38bab12de97580f3e29f6a91c876505d47155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ecc2/src/main.rs:3609-3620 | ecc2/src/main.rs:3632-3643 \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 \u0060ecc2/src/main.rs:3609\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":"ecc2/src/main.rs"},"region":{"startLine":3609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafd88ae0504275d9086ed662764a1bf0e74c56dec836e1788cc24ba14fbf6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/worktree/mod.rs:1067-1077 | ecc2/src/worktree/mod.rs:1100-1110 \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 \u0060ecc2/src/worktree/mod.rs:1067\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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f73643bf19a4a95f167b6d45eeea0e66268ba3fc5e7e068b6d35c2e194509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ecc2/src/main.rs:1791-1801 | ecc2/src/main.rs:1939-1949 \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 \u0060ecc2/src/main.rs:1791\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":"ecc2/src/main.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb351e089bd317a1406e1595be9b464e30ec35e7c528fefd8546d56d3f870b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ecc2/src/worktree/mod.rs:1015-1025 | ecc2/src/worktree/mod.rs:1040-1050 | ecc2/src/worktree/mod.rs:1110-1120 | ecc2/src/worktree/mod.rs:1450-1460 \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 \u0060ecc2/src/worktree/mod.rs:1015\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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf0aa987f593c4e8aa46e7cdb2c9d021521460c54666d4548e5a20436a8386b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ecc2/src/main.rs:6348-6358 | ecc2/src/main.rs:6581-6591 | ecc2/src/main.rs:6867-6877 \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":"ecc2/src/main.rs"},"region":{"startLine":6348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7786802ea0370ab9f8500d35e737dc05adfa3595246d324e4d1dc8d5078983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc2/src/tui/dashboard.rs:3297-3306 | ecc2/src/tui/dashboard.rs:3321-3330 \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 \u0060ecc2/src/tui/dashboard.rs:3297\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f4c7da45fba6c3417ad26884170b89492f289d3ba17f3ada7053bdf4591fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ecc2/src/main.rs:6816-6824 | ecc2/src/main.rs:7017-7025 \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":"ecc2/src/main.rs"},"region":{"startLine":6816}}}],"partialFingerprints":{"codehealthFindingId/v1":"f813d1e1f9c8ad21a5a62f3b356c2f723927fb074114fe8455f960c1075b77e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ecc2/src/main.rs:6372-6380 | ecc2/src/main.rs:6605-6613 | ecc2/src/main.rs:6891-6899 \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 \u0060ecc2/src/main.rs:6372\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":"ecc2/src/main.rs"},"region":{"startLine":6372}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f95672bdbc45e7d4b6aae1a8ddbc066c9476284aee256eb99179575eff02a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ecc2/src/session/manager.rs:2667-2674 | ecc2/src/session/manager.rs:2768-2775 \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 \u0060ecc2/src/session/manager.rs:2667\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":"ecc2/src/session/manager.rs"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a551ee85418275a13ad2799f67a5bf6227f68ac8708f637ac2a34680973ba0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/tui/dashboard.rs:6459-6465 | ecc2/src/tui/dashboard.rs:6476-6482 \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 \u0060ecc2/src/tui/dashboard.rs:6459\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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6459}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d9cf0bc05839a448fd0665b48ab927e8755a14ccd47fd2d185bfff2fb77646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/worktree/mod.rs:297-303 | ecc2/src/worktree/mod.rs:313-319 \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 \u0060ecc2/src/worktree/mod.rs:297\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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec015e944d025ea6ebb741763cf45ea6bdcef90d86213cbd91e5b144f48255a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ecc2/src/main.rs:6496-6500 | ecc2/src/main.rs:6764-6768 \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 \u0060ecc2/src/main.rs:6496\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":"ecc2/src/main.rs"},"region":{"startLine":6496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4c4852e0c62a36b299a4f36231334fc66748f1a3dca153233c303d3eda2276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ecc2/src/session/store.rs:5320-5326 | ecc2/src/session/store.rs:5363-5369 \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, \u0060ecc2/src/session/store.rs:5327\u0060 calls \u0060parse_store_timestamp\u0060 and \u0060ecc2/src/session/store.rs:5371\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":"ecc2/src/session/store.rs"},"region":{"startLine":5320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b702de6cc7ce499cf3b43b604aaf3840ac7e3a633cc0809169e18a8ba4022884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79\u201380 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:295-374 | skills/taste-application/scripts/tasteforge/export.py:108-186 | skills/taste-distillation/scripts/taste/timeline.py:295-374 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/export.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 129 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. 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe02a27f060777c9857224125efb0618f543e6237d841bb7753e06ff70d0e910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:740-818 | skills/taste-distillation/scripts/taste/grade.py:740-818 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdddf98c9296a4896db5fdf2efc19b9927485ab12c76fdab60f637a819ee870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 3): .agents/skills/docs-governance/scripts/markdown_links.py:78-144 | pi/core/skills/docs-governance/scripts/markdown_links.py:78-144 | skills/docs-governance/scripts/markdown_links.py:78-144 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/markdown_links.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/markdown_links.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072ff903b52bb1cc5d310dd37edc284d1743231cedd3e39a35108fc4b90016d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): skills/taste-application/scripts/distill.py:328-384 | skills/taste-distillation/scripts/distill.py:328-384 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8eaca9015dcefda86a49a8befb42d2d115673f4bf3f87b7ca9b1597d1e7293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:150-204 | skills/taste-distillation/scripts/taste/plates.py:150-204 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae006ff9ec015ac8ffadf908600f8852b893c83852182bd35d316922cbfa2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): skills/taste-application/scripts/distill.py:414-466 | skills/taste-distillation/scripts/distill.py:414-466 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cc20559c12540070765bda79c6d4bb05142bdec88c274cfc77482f510f4f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:525-575 | pi/core/skills/docs-governance/scripts/audit-docs.py:525-575 | skills/docs-governance/scripts/audit-docs.py:525-575 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2392762f1a3803a57b36f91c567f0188791273ec6a6011d4f9018e30b3b6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:718-766 | pi/core/skills/docs-governance/scripts/audit-docs.py:718-766 | skills/docs-governance/scripts/audit-docs.py:718-766 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b83f61cd6eb3bf7400e7081ff6b8a842a2094812c4cc1f71c109c5b211f0109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): .agents/skills/docs-governance/scripts/module_audit.py:43-91 | pi/core/skills/docs-governance/scripts/module_audit.py:43-91 | skills/docs-governance/scripts/module_audit.py:43-91 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/module_audit.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/module_audit.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8619cc88bc6da12918d6da8cfcb3265de37879b4e7e3e799b0d3458eb2c8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:280-328 | skills/taste-distillation/scripts/taste/cadence.py:280-328 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d273c07050956e9847ad6ab36f238d165acdfd42eff4fcf05ab24370ff9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:144-193 | skills/taste-distillation/scripts/taste/cadence.py:144-193 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 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":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36abe1768e80cb79f6fecd859b25eafc33b6fc0cd1f7d9b89f8302d4afc3df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): skills/taste-application/scripts/taste/assemble.py:205-250 | skills/taste-distillation/scripts/taste/assemble.py:205-250 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/assemble.py\u0060 and \u0060skills/taste-distillation/scripts/taste/assemble.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 208 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c7b76461c4766a655dffeab34407bd0aa515fceb8430f5cb2a949e0e26871e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3): skills/taste-application/scripts/falapi.py:681-725 | skills/taste-application/scripts/taste/falapi.py:681-725 | skills/taste-distillation/scripts/taste/falapi.py:681-725 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc8fbbcbfe1414f0da107dc8388ace89ef3f8fab69e89e57b7161bf7b4e2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:247-290 | skills/agent-self-evaluation/scripts/evaluate.py:247-290 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4690c49f016c3efb1fc73fc9e8d19a631abdfb094c032141fae1df36246169d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201343 lines \u00D7 4): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:49-91 | pi/core/skills/agent-self-evaluation/scripts/evaluate.py:203-243 | skills/agent-self-evaluation/scripts/evaluate.py:49-91 | skills/agent-self-evaluation/scripts/evaluate.py:203-243 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"245540df0234bea98eb5b03607194c7264ace2b9c2babe893901e65e30a3818c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3): skills/taste-application/scripts/falapi.py:487-527 | skills/taste-application/scripts/taste/falapi.py:487-527 | skills/taste-distillation/scripts/taste/falapi.py:487-527 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"924f64da99d7cf42d5087cd18e336c8f97c699b90a9d19ceca587af83249c016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:95-133 | skills/agent-self-evaluation/scripts/evaluate.py:95-133 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e500f84b26bdf4672639478855d7e1a083580ac03d79302589731ef19b41490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:251-322 | skills/taste-distillation/scripts/taste/frames.py:251-322 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 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 \u0060skills/taste-application/scripts/taste/frames.py:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfeca6768bb702727d333db1b69ec756bd9923a000bd0de5c492756051e40ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:162-199 | skills/agent-self-evaluation/scripts/evaluate.py:162-199 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"268d184e8064b438867219c13113d20323f024aaee79959ec2e7371c5db470ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): skills/taste-application/scripts/mint.py:40-117 | skills/taste-distillation/scripts/mint.py:40-117 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/mint.py\u0060 and \u0060skills/taste-distillation/scripts/mint.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 133 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 \u0060skills/taste-application/scripts/mint.py:40\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":"skills/taste-application/scripts/mint.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f5cc3299eaeb6d8357f3c843010fd7e9b7c80c1b03ee81bfb38939413f6dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/llm/providers/astraflow.py:86-123 | src/llm/providers/atlas.py:103-140 \u2014 before extracting anything, compare \u0060src/llm/providers/astraflow.py\u0060 and \u0060src/llm/providers/atlas.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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":"src/llm/providers/astraflow.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27df33ff7dbc9db1f6e0d5faf3b255ecb9b182ea1fce44efe6b9e010650f50ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:649-684 | skills/taste-distillation/scripts/taste/grade.py:649-684 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"71883cc170dab76c6191e606e6c5854daa98c01d7480e218268df05ba6cbb3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:411-486 | skills/taste-distillation/scripts/taste/grade.py:411-486 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c62d402ff321ce62f9788482572dd9591dedc8b881592dcc71e632d7cc0603e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:613-645 | pi/core/skills/docs-governance/scripts/audit-docs.py:613-645 | skills/docs-governance/scripts/audit-docs.py:613-645 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e476e17dc5c15eac2c5778bc3ceb9d678f28e17986215963a6bd78e93cb3b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): skills/taste-application/scripts/falapi.py:290-322 | skills/taste-application/scripts/taste/falapi.py:290-322 | skills/taste-distillation/scripts/taste/falapi.py:290-322 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b46f0c4d10ac9e85df7ec8efe1b2d29709befc6bfdb1ae4847b334f049fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 2): skills/taste-application/scripts/taste/assemble.py:83-174 | skills/taste-distillation/scripts/taste/assemble.py:83-174 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/assemble.py\u0060 and \u0060skills/taste-distillation/scripts/taste/assemble.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 208 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 \u0060skills/taste-application/scripts/taste/assemble.py: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. 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":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcea99d37fe091d9ac4a78481d00a70c621fb8ec7601620d6559c328e2ff356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:165-208 | skills/taste-distillation/scripts/taste/grade.py:165-208 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ece42b7acff9d5fd36293b80032db24a66440ec60c772b2664cdb3fe6663b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:406-437 | pi/core/skills/docs-governance/scripts/audit-docs.py:406-437 | skills/docs-governance/scripts/audit-docs.py:406-437 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1cd2e7d4d24931d5fdffb450bcd588bdc398c9abbfd9e979164e2ce2a87d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): skills/taste-application/scripts/falapi.py:426-457 | skills/taste-application/scripts/taste/falapi.py:426-457 | skills/taste-distillation/scripts/taste/falapi.py:426-457 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c06141da0570437fccd994c87a89e946c98136517ca91fa1b1d2b18ddef1ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): skills/taste-application/scripts/distill.py:81-112 | skills/taste-distillation/scripts/distill.py:81-112 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c13b3183d1f20e78b0efd106b9959700e720717cb2112bed192f71ec654e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): skills/taste-application/scripts/distill.py:484-514 | skills/taste-distillation/scripts/distill.py:484-514 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e2cf6d2e81543756ffaa57c9c57b800cf239d43d2d6da265215dc225395f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:696-726 | skills/taste-distillation/scripts/taste/grade.py:696-726 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ae4d5ef06dde8a2eaf591ba29f7c9c908df8a79cab6f9bcf6af4c08c2af80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:207-236 | skills/taste-application/scripts/tasteforge/export.py:45-72 | skills/taste-distillation/scripts/taste/timeline.py:207-236 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/export.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ea9007b4f2a008009cb3f8233dbfb73defd29fa3bb97b4406e912d9cc56e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): skills/taste-application/scripts/distill.py:224-285 | skills/taste-distillation/scripts/distill.py:224-285 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e6af2135542e846f064e72e6541b7d682d7d603ffa9bd9499c889c42de036d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:579-607 | pi/core/skills/docs-governance/scripts/audit-docs.py:579-607 | skills/docs-governance/scripts/audit-docs.py:579-607 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"497f71719a06abdb122eea8331bf9084e4bb6a649de87d230a0ae273b5b01841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:104-132 | skills/taste-distillation/scripts/taste/cadence.py:104-132 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e103dc98416e851aca27b727b6b63dfcc095c7acf39042ca522688761aabc854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201328 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:161-188 | skills/taste-application/scripts/tasteforge/timeline.py:83-97 | skills/taste-distillation/scripts/taste/timeline.py:161-188 \u2014 \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/timeline.py\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 4 separate duplicated blocks between them, totalling at least 73 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/taste-application/scripts/taste/timeline.py:161\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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4db3937c247f09a65f66cc80779c03c19be502cc994c22355bf0e2baa01f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): skills/taste-application/scripts/distill.py:144-179 | skills/taste-distillation/scripts/distill.py:144-179 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe7501d2e61be3750f58c00bd4f30f8c4dc370d0d860006fe2b8fbc44c6941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): skills/taste-application/scripts/taste/assemble.py:41-68 | skills/taste-distillation/scripts/taste/assemble.py:41-68 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/assemble.py\u0060 and \u0060skills/taste-distillation/scripts/taste/assemble.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 208 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"46805a39022e31e1dfea3022c8550ddf4dec37d1516775ab4dfcca4de48c24fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:156-183 | skills/taste-distillation/scripts/taste/frames.py:156-183 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2280c28db94d72ab003a643839993e0e63d2ec316a58ede07b0624a1c86634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:300-326 | pi/core/skills/docs-governance/scripts/audit-docs.py:300-326 | skills/docs-governance/scripts/audit-docs.py:300-326 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e27fde38ac3d833eeb04a49054e017dfe96ba87685539ac85b79c536febfc53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): skills/taste-application/scripts/taste/assemble.py:254-279 | skills/taste-distillation/scripts/taste/assemble.py:254-279 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/assemble.py\u0060 and \u0060skills/taste-distillation/scripts/taste/assemble.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 208 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ebcbf397f9b0e5cb8b7a247596b0394d3b58404e026051e07c435dead339cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:120-144 | pi/core/skills/docs-governance/scripts/audit-docs.py:120-144 | skills/docs-governance/scripts/audit-docs.py:120-144 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84fae88f00291583e998c16ecf2d018fd105a16a9ba004f2b2275876eccb337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:335-359 | pi/core/skills/docs-governance/scripts/audit-docs.py:335-359 | skills/docs-governance/scripts/audit-docs.py:335-359 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8b4b84c44a1ed88c656fc6a6d217a66e72e1ef40748c534ad2d35103cded1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): skills/taste-application/scripts/falapi.py:340-364 | skills/taste-application/scripts/taste/falapi.py:340-364 | skills/taste-distillation/scripts/taste/falapi.py:340-364 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2e09d51ba0a90a8ba4b00080a125d4dc415d73d4f212aa07c1d562236ad37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): skills/taste-application/scripts/distill.py:116-140 | skills/taste-distillation/scripts/distill.py:116-140 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cf7c55fb397c108e355004a54785f476c5d90fd26c5a186188990a1375db95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:72-96 | skills/taste-distillation/scripts/taste/cadence.py:72-96 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5715ee031c4321436bb02f90850d019c0b75b8ba364394bd407c0b4803c1818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:305-362 | skills/agent-self-evaluation/scripts/evaluate.py:305-362 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 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":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb097ab80cd48b31f3fdba4a59666020e8ef477ce5f5415a43d4af9b3b32c661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:205-242 | skills/taste-distillation/scripts/taste/frames.py:205-242 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2e509c629bcf634605fff9b32b928cecda548c27b45cd407133339c5a6ef5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:649-671 | pi/core/skills/docs-governance/scripts/audit-docs.py:649-671 | skills/docs-governance/scripts/audit-docs.py:649-671 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d963e7ba5621537f47f900d2e662037b1e8ab6f8ae42959aa37d3028b20b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:371-394 | skills/taste-distillation/scripts/taste/grade.py:371-394 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"744327ca3ffa9092be2cb29be1e14a0f0b0f49cb9bd2760bf031ce2f1543713f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:566-588 | skills/taste-distillation/scripts/taste/grade.py:566-588 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf9a271cc91c637e422eda7e49f773682843ec86d95649feee58088276adc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:486-507 | pi/core/skills/docs-governance/scripts/audit-docs.py:486-507 | skills/docs-governance/scripts/audit-docs.py:486-507 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc3f0de027982d5c2c39b0924e5dd1e9e7bc58bd10a4463b7cdce16f2e22606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): .agents/skills/docs-governance/scripts/markdown_links.py:28-49 | pi/core/skills/docs-governance/scripts/markdown_links.py:28-49 | skills/docs-governance/scripts/markdown_links.py:28-49 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/markdown_links.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/markdown_links.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"26078b4fc34df68d21751a694b10a89bd516ccb85ea0c85cc91fc959cd71b04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): .agents/skills/docs-governance/scripts/markdown_links.py:53-74 | pi/core/skills/docs-governance/scripts/markdown_links.py:53-74 | skills/docs-governance/scripts/markdown_links.py:53-74 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/markdown_links.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/markdown_links.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21cb112e8fc22d39a5ed1a72f233a2d6285ad190c38eb09bbf4df29b6fa586a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): skills/taste-application/scripts/falapi.py:252-273 | skills/taste-application/scripts/taste/falapi.py:252-273 | skills/taste-distillation/scripts/taste/falapi.py:252-273 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5562caad0c13f5864aaf2e41684cfd72a744170e37f4864faed03e50fa794c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:91-111 | pi/core/skills/docs-governance/scripts/audit-docs.py:91-111 | skills/docs-governance/scripts/audit-docs.py:91-111 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6acb34fa79cc997d8bb76765b837b14c4488378b46fc481fc70eac87d1b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:148-168 | pi/core/skills/docs-governance/scripts/audit-docs.py:148-168 | skills/docs-governance/scripts/audit-docs.py:148-168 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ccc9ed26fe3eb13c03ce5c6c09e2d9d11a95cfd239b4d961d8e7a02865a0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:188-208 | pi/core/skills/docs-governance/scripts/audit-docs.py:188-208 | skills/docs-governance/scripts/audit-docs.py:188-208 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a40cd770f5925e4b1d01dcab7992597a6935d7f09066a7f42a6cb3e3aad1c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:220-240 | skills/taste-distillation/scripts/taste/cadence.py:220-240 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc41a0b39bad715374d70babd22b4b50706fc97814254c188c2bad73c445a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:499-533 | skills/taste-distillation/scripts/taste/grade.py:499-533 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d421994299a70143dfbe79284d5526e1527445aed1d6aa1b0371ffd9023e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): .agents/skills/docs-governance/scripts/markdown_links.py:153-172 | pi/core/skills/docs-governance/scripts/markdown_links.py:153-172 | skills/docs-governance/scripts/markdown_links.py:153-172 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/markdown_links.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/markdown_links.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b6c6aca3b3ad3d3397b54807bd095bc26fa9d592503eb636435d84cb673a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): skills/taste-application/scripts/falapi.py:378-397 | skills/taste-application/scripts/taste/falapi.py:378-397 | skills/taste-distillation/scripts/taste/falapi.py:378-397 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"810f4a0304a718706ec6e8a55ca100bdbf89f00120a4deefe5758728c2c54f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:49-82 | skills/taste-distillation/scripts/taste/frames.py:49-82 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f667235221988426f21056d55fb5521060eb345fff001d6b69dfb8250ad20edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:113-132 | skills/taste-distillation/scripts/taste/frames.py:113-132 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9815f83493dd76f9880d3cf23e1929908b4b5a81dc19832ec56ed610ac5a2503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): skills/taste-application/scripts/taste/timeline.py:393-412 | skills/taste-distillation/scripts/taste/timeline.py:393-412 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-distillation/scripts/taste/timeline.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 244 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da07d2241f59e5fb84328811063d92ed0107ee21e82a15bda8b0836b707a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): skills/taste-application/scripts/apply.py:591-609 | skills/taste-application/scripts/distill.py:495-511 | skills/taste-distillation/scripts/distill.py:495-511 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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 \u0060skills/taste-application/scripts/apply.py:591\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":"skills/taste-application/scripts/apply.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ace932365a89988f429d6251a24ba0358e2b8401f39c082c51863e482b3e8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3): skills/taste-application/scripts/falapi.py:754-790 | skills/taste-application/scripts/taste/falapi.py:754-790 | skills/taste-distillation/scripts/taste/falapi.py:754-790 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2e2e998e37326fe4d75e8a9f34f5c3b60ab0d991e7a705fe5eba0f521b323f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): skills/skill-comply/scripts/classifier.py:41-59 | skills/skill-comply/scripts/scenario_generator.py:36-51 \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 \u0060skills/skill-comply/scripts/classifier.py:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/classifier.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"498139eebadafee452bbaaa6510fad03b9d12f82e81d73438561f15b34326374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:342-366 | skills/taste-distillation/scripts/taste/grade.py:342-366 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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 \u0060skills/taste-application/scripts/taste/grade.py:342\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ef32ea6fddae6dcd7fef27b730f3f4fbf7ed731b8ea3960a3e0cda7e3f332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:54-72 | skills/taste-distillation/scripts/taste/render3d.py:54-72 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e6d12aefe98c218f103230d8dca325cb0f9558bd8cdee0e42901be0265f226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:236-254 | skills/taste-distillation/scripts/taste/render3d.py:236-254 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"587a6f0ecae5878c3ad41bc3da471341a4aebd1476898edbfdccd00aae909f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:79-96 | skills/taste-application/scripts/tasteforge/timeline.py:34-45 | skills/taste-distillation/scripts/taste/timeline.py:79-96 \u2014 \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/timeline.py\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 4 separate duplicated blocks between them, totalling at least 73 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. 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af467080e1f78d69cff77ecd9ded03d25a3f10ffe62e576c595cf2824719af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): hooks/hermes/check-console-log.py:31-48 | hooks/hermes/config-protection.py:47-64 \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":"hooks/hermes/check-console-log.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b266c2cf52400f84127561634566d4e4ddfd0c92ae9f49272608a03f3e744f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): skills/taste-application/scripts/distill.py:388-405 | skills/taste-distillation/scripts/distill.py:388-405 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaeb986c1449a63194696f8590a26779e7adf08fb82747f0e60c4075c60eba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:208-237 | skills/taste-distillation/scripts/taste/plates.py:208-237 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b63cb4cfe20413b28aedfdc6032e289672c48bfdbcc2eaf7e11fdc06f01c01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:92-131 | skills/taste-distillation/scripts/taste/render3d.py:92-131 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab2fb16a0ec3b75ab4e277de5d8bd280a66d0d10a9e2cf19bd3d20672c16f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): .agents/skills/docs-governance/scripts/markdown_links.py:181-202 | pi/core/skills/docs-governance/scripts/markdown_links.py:181-202 | skills/docs-governance/scripts/markdown_links.py:181-202 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/markdown_links.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/markdown_links.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 153 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 \u0060.agents/skills/docs-governance/scripts/markdown_links.py:181\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":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a99868a32265b9defe8ff45a6a12987746a231fb02b242479533070608942e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:249-264 | pi/core/skills/docs-governance/scripts/audit-docs.py:249-264 | skills/docs-governance/scripts/audit-docs.py:249-264 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd4516e8fa52c6bf5935fa731e83f7929a2f74b0e81334dd37ff642ed2741a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:465-480 | pi/core/skills/docs-governance/scripts/audit-docs.py:465-480 | skills/docs-governance/scripts/audit-docs.py:465-480 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1b4e2f91d4c26a7ba7b6299cd821624c64aa54039ed8a0ecc4bf25cbc49ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): skills/taste-application/scripts/taste/assemble.py:178-193 | skills/taste-distillation/scripts/taste/assemble.py:178-193 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/assemble.py\u0060 and \u0060skills/taste-distillation/scripts/taste/assemble.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 208 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/assemble.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273a92f993377ce55574284654245652938e1d2605698bc6224d6b8e1a839eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:398-412 | skills/agent-self-evaluation/scripts/evaluate.py:398-412 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 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":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c749eb9b86c9d5c7e10dfc4e29f330e7a3132a57397d9349b344eafb284c454c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): skills/taste-application/scripts/distill.py:188-202 | skills/taste-distillation/scripts/distill.py:188-202 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e48dd43e030c91d55461bb8344af71771043ad84bf3b405fa399b112d401d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:309-325 | skills/taste-distillation/scripts/taste/grade.py:309-325 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb76c6deb0cb3ecf09a0914c2358c3b3afe402da4aa4e316738ea8bb67c63ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): skills/taste-application/scripts/taste/timeline.py:438-452 | skills/taste-distillation/scripts/taste/timeline.py:438-452 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-distillation/scripts/taste/timeline.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c2068288654e94b011d4bac0a65b79d96f2c44b723fdc0aeb0fd79852b0bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:283-296 | pi/core/skills/docs-governance/scripts/audit-docs.py:283-296 | skills/docs-governance/scripts/audit-docs.py:283-296 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"02adb231bc0e9edbfff47f76df85c7996491ba5588858db0da3b52cd680da402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/llm/providers/astraflow.py:81-94 | src/llm/providers/atlas.py:98-111 | src/llm/providers/openai.py:104-117 \u2014 before extracting anything, compare \u0060src/llm/providers/astraflow.py\u0060 and \u0060src/llm/providers/atlas.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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 \u0060src/llm/providers/astraflow.py:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d401180304edf0e6247d9a46785d436dc31c6d4a19d03b9bf73adf6d937c426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:366-379 | skills/agent-self-evaluation/scripts/evaluate.py:366-379 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea70642c6437bd8fc1054f91a7da604aebb4683b3b555b573486ab47c381fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): skills/videodb/scripts/ws_listener.py:161-174 | skills/videodb/scripts/ws_listener.py:211-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/videodb/scripts/ws_listener.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b411564eccd6d8191a8fd94f68eb9fe163452fb1393d39b74221d6895dc40b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): skills/taste-application/scripts/distill.py:249-259 | skills/taste-application/scripts/tasteforge/distill.py:135-147 | skills/taste-distillation/scripts/distill.py:249-259 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060skills/taste-application/scripts/distill.py:260\u0060 calls \u0060max\u0060 and \u0060skills/taste-application/scripts/tasteforge/distill.py:149\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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fc8b161d5a186c59395bee4aeb8ec00830e531994a04e1593bfdbf6f608213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:403-421 | skills/taste-application/scripts/tasteforge/export.py:208-226 | skills/taste-distillation/scripts/taste/timeline.py:403-421 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/export.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13d89ffd2f03a760b20e7dac1ce7ae22970777c422a230976701075789d81b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:137-149 | skills/agent-self-evaluation/scripts/evaluate.py:137-149 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf280871c568f26e0c9f9c7a8a1c33410fa33188f67a17ec3dc2f6d013a68d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): skills/taste-application/scripts/mint.py:138-172 | skills/taste-distillation/scripts/mint.py:138-172 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/mint.py\u0060 and \u0060skills/taste-distillation/scripts/mint.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 133 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":"skills/taste-application/scripts/mint.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00ec13476a38b8321f33c0524cdf908492d650210bedca925c75f9170de7400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:28-40 | skills/taste-distillation/scripts/taste/frames.py:28-40 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5b6b8757b2667b56954c13c6190c35b89f71728b9af718223a59c64b9a4bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:289-305 | skills/taste-distillation/scripts/taste/grade.py:289-305 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a6fdf74b3e3e7a596e3631dc037b6af3f7b2f297cd957f1a48fb0ecc16ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:677-688 | pi/core/skills/docs-governance/scripts/audit-docs.py:677-688 | skills/docs-governance/scripts/audit-docs.py:677-688 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b4120f40ecb9711a2a895080c201e1db3ceb5ed6aa6b62b7906fc83c26b4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): skills/taste-application/scripts/falapi.py:739-750 | skills/taste-application/scripts/taste/falapi.py:739-750 | skills/taste-distillation/scripts/taste/falapi.py:739-750 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1772bab083f60a14ce73c032894575820c3320d51695b5edd12a9741f67dccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:383-394 | skills/agent-self-evaluation/scripts/evaluate.py:383-394 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e372e6c714361dfe940fd08b6b644b4aa5350dc610be033f265fa3230b72fe1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:278-289 | skills/taste-distillation/scripts/taste/render3d.py:278-289 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f74c418298abb7bc8538d96abe5131d2f3878cfe9e54364aafe956167cb0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:365-375 | pi/core/skills/docs-governance/scripts/audit-docs.py:365-375 | skills/docs-governance/scripts/audit-docs.py:365-375 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dad09297f451247f3aab53d0f30e6cf5f5b4878176ce0e5d439b8c4b96fd7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:379-389 | pi/core/skills/docs-governance/scripts/audit-docs.py:379-389 | skills/docs-governance/scripts/audit-docs.py:379-389 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc919ec9c5aeccb25288b4954b7e5241dad92e15987ca6175cd1481fcb2552a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): skills/taste-application/scripts/distill.py:470-480 | skills/taste-distillation/scripts/distill.py:470-480 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40c5a5b4cc7eacb7be16725248052655cd37c5df40552a6dd2d743ef93245d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:142-155 | skills/taste-distillation/scripts/taste/render3d.py:142-155 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc72fd79e9cbb2ae64923f1a5e13082bdefc33025f2d89335a805131256684df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/llm/cli/selector.py:59-69 | src/llm/cli/selector.py:81-91 \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":"src/llm/cli/selector.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7538cc044b9cea82d007066723a7ec927c0865f91111b2594621bc1de061703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/llm/tools/executor.py:66-76 | src/llm/tools/executor.py:95-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/tools/executor.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c388da149c39d3024ce9c3979bbf1c056c4659f894a206e809360fdb5c7cd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:705-714 | pi/core/skills/docs-governance/scripts/audit-docs.py:705-714 | skills/docs-governance/scripts/audit-docs.py:705-714 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2914993c4ab677e64a92a91e02ba20ce7b86e8b4c2d08dcec69e3e02a5d197d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 3): skills/taste-application/scripts/distill.py:264-269 | skills/taste-application/scripts/tasteforge/distill.py:149-158 | skills/taste-distillation/scripts/distill.py:264-269 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 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 \u0060skills/taste-application/scripts/distill.py:264\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: just before the matched lines, \u0060skills/taste-application/scripts/distill.py:260\u0060 calls \u0060max\u0060 and \u0060skills/taste-application/scripts/tasteforge/distill.py:147\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":"skills/taste-application/scripts/distill.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6919b4f85fa01c356653d23ae3f882367d1830ba043a88a8412dc22f7ccaf0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): skills/taste-application/scripts/falapi.py:662-671 | skills/taste-application/scripts/taste/falapi.py:662-671 | skills/taste-distillation/scripts/taste/falapi.py:662-671 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 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":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a0ed258395e060193c36b4e75795749211e0b129a8302949fe66cf4ee5986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ecc_dashboard.py:630-639 | ecc_dashboard.py:680-689 \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":"ecc_dashboard.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad5882a89a5b2280ec3c74d1a54866a9d39761bcf1d9fa097648e4639363e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:197-216 | skills/taste-distillation/scripts/taste/cadence.py:197-216 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85fbf057a14eccd1a51404e7b97665c876151e8ad165a6dc59af398c1543da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:129-140 | skills/taste-distillation/scripts/taste/plates.py:129-140 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0c573f0d14fdb60e99dfe25d57476226704d5a7108d9f42e4052775212f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): .agents/skills/docs-governance/scripts/audit-docs.py:259-267 | .agents/skills/docs-governance/scripts/audit-docs.py:321-329 | pi/core/skills/docs-governance/scripts/audit-docs.py:259-267 | pi/core/skills/docs-governance/scripts/audit-docs.py:321-329 | skills/docs-governance/scripts/audit-docs.py:259-267 | skills/docs-governance/scripts/audit-docs.py:321-329 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d70e3c4929fb4798eddaff07201e888c611d8fe06a50651b12e6cef641ab0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:271-279 | pi/core/skills/docs-governance/scripts/audit-docs.py:271-279 | skills/docs-governance/scripts/audit-docs.py:271-279 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"728fe163e329b9e0f9d2d6427d351e654392608f9b02d984822a5fc1cf24d3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): skills/taste-application/scripts/falapi.py:114-122 | skills/taste-application/scripts/taste/falapi.py:114-122 | skills/taste-distillation/scripts/taste/falapi.py:114-122 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b42120289c5bdc5348e1d1b9313edaaae7836ee48fe08e8b2c10cb26e63b96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): skills/taste-application/scripts/falapi.py:226-234 | skills/taste-application/scripts/taste/falapi.py:226-234 | skills/taste-distillation/scripts/taste/falapi.py:226-234 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f469ab7319c7d90388f68e353f2e0deacc8d38f0b2bd510fd355f51b4e8798be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): skills/taste-application/scripts/falapi.py:615-623 | skills/taste-application/scripts/taste/falapi.py:615-623 | skills/taste-distillation/scripts/taste/falapi.py:615-623 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"24940ee85f836423c99e2ea62e0abab519354386d07644bdbcd2ac324ceb616d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/continuous-learning-v2/scripts/instinct-cli.py:1466-1474 | skills/continuous-learning-v2/scripts/instinct-cli.py:1668-1676 \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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6512e64f4ac4a581950c12ff2ae298a06768d50b355dd67454e5fb6597e24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): skills/taste-application/scripts/mint.py:180-193 | skills/taste-distillation/scripts/mint.py:180-193 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/mint.py\u0060 and \u0060skills/taste-distillation/scripts/mint.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 133 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":"skills/taste-application/scripts/mint.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7533f62f5a5dd2630be60b0f96bfe73c3c74b85d01753cf02bf785402ca485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:86-95 | skills/taste-distillation/scripts/taste/frames.py:86-95 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda2c29d28e11c6e4718a00eea0d90cb8886b21946e2826c38fda12bbd6a6c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:212-237 | skills/taste-distillation/scripts/taste/grade.py:212-237 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b42529dbddc37507a0ec24f8996cfb09c9565de680a95705168297e713ac9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:607-639 | skills/taste-distillation/scripts/taste/grade.py:607-639 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad7b49b31a70f2d4da65499f3f47b017537c157917973d62708e1ae1e8b60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): skills/taste-application/scripts/falapi.py:401-411 | skills/taste-application/scripts/taste/falapi.py:401-411 | skills/taste-distillation/scripts/taste/falapi.py:401-411 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10397f86d1ffd0f5cc2e8bd9955a19f1f466a22cf8de4d19d07d365f95023be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:103-110 | skills/taste-distillation/scripts/taste/grade.py:103-110 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"92faaf0fc5799466047ec212681d87b25b730bd632fd8d4e10ef22005cf7f350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:545-553 | skills/taste-distillation/scripts/taste/grade.py:545-553 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0beb7adfdcf9d511def60a974bf8c9dc7168f80abc664996d8d097cfb892e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:44-54 | skills/taste-distillation/scripts/taste/plates.py:44-54 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8a9e21fdda83615665555a82f616fdeb45c2e84debb9317888d4a5ce996cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:58-65 | skills/taste-distillation/scripts/taste/plates.py:58-65 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44030b461416216c370d11f909a6d8e02b972d00c5e8da11f481a54ab7d08ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:76-88 | skills/taste-distillation/scripts/taste/render3d.py:76-88 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3000eed0580fc401f88091199b0371c34e1798359b4262d00d727a731cfc923c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/distill.py:316-324 | skills/taste-distillation/scripts/distill.py:316-324 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ba4ec923b71db074ce5ecdccb1083c782cdb4a9f2952a5536d2cf381a806d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): skills/taste-application/scripts/taste/cadence.py:244-250 | skills/taste-distillation/scripts/taste/cadence.py:244-250 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/cadence.py\u0060 and \u0060skills/taste-distillation/scripts/taste/cadence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 201 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":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec390634799226373e0947557590068f8aab13351e36c5f5a35bf180b009113b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): skills/taste-application/scripts/taste/grade.py:223-224 | skills/taste-application/scripts/taste/grade.py:619-625 | skills/taste-distillation/scripts/taste/grade.py:223-224 | skills/taste-distillation/scripts/taste/grade.py:619-625 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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 \u0060skills/taste-application/scripts/taste/grade.py:619\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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e82d384c6b8f5745e3e446a21f75834d21ad583e1e418e70b1e7a72e8cfdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): skills/taste-application/scripts/taste/pack.py:147-153 | skills/taste-distillation/scripts/taste/pack.py:147-153 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/pack.py\u0060 and \u0060skills/taste-distillation/scripts/taste/pack.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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. 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":"skills/taste-application/scripts/taste/pack.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d4e1680ca3fde7195351f0ab98fbd649a45b3883016d3dbb60f1a1e3c54bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ecc_dashboard.py:416-421 | ecc_dashboard.py:527-532 \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":"ecc_dashboard.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac5a902059a44bcdce9219934a8b1f2c8eac58bd58e16824a6decc24497408c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/distill.py:304-312 | skills/taste-distillation/scripts/distill.py:304-312 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f5a326656ada251f54f80e80c048c48fde2e51438b89226e95d900a7287ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:114-122 | skills/taste-distillation/scripts/taste/grade.py:114-122 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89c3f491901784311187af67064cf9a3eabea462d6422bc056f18252083fb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:104-119 | skills/taste-distillation/scripts/taste/plates.py:104-119 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060skills/taste-application/scripts/taste/plates.py:104\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":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f6338beaed0794e09819093d2fe1d25d29ae6b01c48c713d38728ced8cc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): skills/taste-application/scripts/taste/grade.py:225-232 | skills/taste-application/scripts/taste/grade.py:627-634 | skills/taste-distillation/scripts/taste/grade.py:225-232 | skills/taste-distillation/scripts/taste/grade.py:627-634 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"184c2ab998aea2513b5c17b4df0f76807a33db5e452bbca4c8acb086e43dd0ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ecc_dashboard.py:437-441 | ecc_dashboard.py:550-554 \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":"ecc_dashboard.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b53b8867efb827c8d688f007027763f8104b3a11c47253066002c13ab22662b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pi/core/skills/agent-self-evaluation/scripts/evaluate.py:153-158 | skills/agent-self-evaluation/scripts/evaluate.py:153-158 \u2014 before extracting anything, compare \u0060pi/core/skills/agent-self-evaluation/scripts/evaluate.py\u0060 and \u0060skills/agent-self-evaluation/scripts/evaluate.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9aaa4987cfa912beafd45dd6d03728936c85ebcdf0e647c2d4e2c53c18b0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): skills/continuous-learning-v2/scripts/instinct-cli.py:759-764 | skills/continuous-learning-v2/scripts/instinct-cli.py:1318-1322 \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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d69ed428b8f00e40069eadca0285cfaef2ab027b5d1096f75ee451f535806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/taste-application/scripts/mint.py:129-134 | skills/taste-distillation/scripts/mint.py:129-134 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/mint.py\u0060 and \u0060skills/taste-distillation/scripts/mint.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 133 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":"skills/taste-application/scripts/mint.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2246282731f86bbdddd02062d175ce9b18741b0b12829728eef8d7e4361fb5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:126-138 | skills/taste-distillation/scripts/taste/grade.py:126-138 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 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":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af9d1b62474fef04fb1a113aff9cdd50bc96bb6dbb013fa895b8dd4c4f4c60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:241-246 | skills/taste-distillation/scripts/taste/plates.py:241-246 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc7ee7f90c36383a5d508a7e73081e2e05564b2e5e186fd90b65aa2efdb1996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): skills/taste-application/scripts/tasteforge/media/glitch.py:218-222 | skills/taste-application/scripts/tasteforge/media/stills.py:90-94 \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":"skills/taste-application/scripts/tasteforge/media/glitch.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3ec49fdc52cf1e2edee8c278d3ec036b7fd8c6da924dc14a3eb066f78d5ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:73-79 | pi/core/skills/docs-governance/scripts/audit-docs.py:73-79 | skills/docs-governance/scripts/audit-docs.py:73-79 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d6a74ddb4c04efe88feffcbf8202c322d9ea08bf655d1aa05ad80b11cd2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:83-87 | pi/core/skills/docs-governance/scripts/audit-docs.py:83-87 | skills/docs-governance/scripts/audit-docs.py:83-87 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15170ca4a29b8e4292e68853c51e109da988165eb2ff93c09690c45297d92d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:172-180 | pi/core/skills/docs-governance/scripts/audit-docs.py:172-180 | skills/docs-governance/scripts/audit-docs.py:172-180 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57f4d25dd752bccee7af81983465cbd8544c936b66179a0d2e756918cfb12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:223-233 | pi/core/skills/docs-governance/scripts/audit-docs.py:223-233 | skills/docs-governance/scripts/audit-docs.py:223-233 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1ea207a643d36fdcc0e340fdd9970af840768cc08ced498520872bbf0d5a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:393-400 | pi/core/skills/docs-governance/scripts/audit-docs.py:393-400 | skills/docs-governance/scripts/audit-docs.py:393-400 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 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":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e6964efad43eab02950d3f141f562c3e41fd610520505e23c2b12a5cd5386f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:441-449 | pi/core/skills/docs-governance/scripts/audit-docs.py:441-449 | skills/docs-governance/scripts/audit-docs.py:441-449 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9cdf30ebf210e8365c71efafcb57743a487e8b0535a360746d5c9f9966ca71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:513-519 | pi/core/skills/docs-governance/scripts/audit-docs.py:513-519 | skills/docs-governance/scripts/audit-docs.py:513-519 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9507a84f713f93b8e947953e20dd13ebd93c013fde47d3e0e7167e7424542e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:692-701 | pi/core/skills/docs-governance/scripts/audit-docs.py:692-701 | skills/docs-governance/scripts/audit-docs.py:692-701 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5720d5e957419b89614a27c61218eb21abc964a975399ad03772f12be81030b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/distill.py:206-214 | skills/taste-distillation/scripts/distill.py:206-214 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/distill.py\u0060 and \u0060skills/taste-distillation/scripts/distill.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 409 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cbb112e8420f795a883e9fce79aff5950d3b538f84aef3a4ef420e004730f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): skills/taste-application/scripts/falapi.py:166-171 | skills/taste-application/scripts/taste/falapi.py:166-171 | skills/taste-distillation/scripts/taste/falapi.py:166-171 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87abbf2a5b2a2fd945ef0e3acc6012cbbf6cfe48544d814c06cedfcddc708a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): skills/taste-application/scripts/falapi.py:186-191 | skills/taste-application/scripts/taste/falapi.py:186-191 | skills/taste-distillation/scripts/taste/falapi.py:186-191 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fabe085946ea5736d3705df18bdbed7125de3059064cd663b5a27c62499ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): skills/taste-application/scripts/falapi.py:195-206 | skills/taste-application/scripts/taste/falapi.py:195-206 | skills/taste-distillation/scripts/taste/falapi.py:195-206 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"27555f8ea1695207799e53d249704097c07ecb0f9c69a86468b94887c63b77c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): skills/taste-application/scripts/falapi.py:238-242 | skills/taste-application/scripts/taste/falapi.py:238-242 | skills/taste-distillation/scripts/taste/falapi.py:238-242 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a11655d2a8684edc774d09d0d2cdaf0b872ae22f502ab711d1bbabbd302be15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): skills/taste-application/scripts/falapi.py:531-539 | skills/taste-application/scripts/taste/falapi.py:531-539 | skills/taste-distillation/scripts/taste/falapi.py:531-539 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"835f476ba5eeaa3f79622ac94d613979fdad411f737490d77a95b5f54394b411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): skills/taste-application/scripts/falapi.py:543-551 | skills/taste-application/scripts/taste/falapi.py:543-551 | skills/taste-distillation/scripts/taste/falapi.py:543-551 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be1e8c96de4720ae89795ccec96d1efc8c03f014d382d54edcd47ecc7f555c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): skills/taste-application/scripts/falapi.py:566-573 | skills/taste-application/scripts/taste/falapi.py:566-573 | skills/taste-distillation/scripts/taste/falapi.py:566-573 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa977c05b827c68401d8ac8d9cd793b0bc727a5437521d6fa5fa0cbfbdcae63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): skills/taste-application/scripts/falapi.py:645-650 | skills/taste-application/scripts/taste/falapi.py:645-650 | skills/taste-distillation/scripts/taste/falapi.py:645-650 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac212fbad58248048d64d1aec8ce32fc5cd929bdbed6ba7149eb3858c1ee5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:136-143 | skills/taste-distillation/scripts/taste/frames.py:136-143 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af4e86c2b670d504366cae0740d0c31403b75560fd128eedf87505b80225cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:326-333 | skills/taste-distillation/scripts/taste/frames.py:326-333 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"490098c3a858fb87e91adc8c97104c8c90940c76ac2d789d5a44de78a0bec973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:153-161 | skills/taste-distillation/scripts/taste/grade.py:153-161 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"311716f46fa32c24f56e73f4d7e61e823d5a056abc5f5fa1035837915065995a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:248-259 | skills/taste-distillation/scripts/taste/grade.py:248-259 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"918b857db333ded3094184a586ad6c92357d6b96b4506b066f006094ddf70494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): skills/taste-application/scripts/taste/grade.py:537-541 | skills/taste-distillation/scripts/taste/grade.py:537-541 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/grade.py\u0060 and \u0060skills/taste-distillation/scripts/taste/grade.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 546 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7bccdb3ef0e05ace7539a3e63be9ca8426cf5a7a41682734bc39f86c4f5dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/taste-application/scripts/taste/pack.py:81-92 | skills/taste-distillation/scripts/taste/pack.py:81-92 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/pack.py\u0060 and \u0060skills/taste-distillation/scripts/taste/pack.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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. 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":"skills/taste-application/scripts/taste/pack.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e678d5e4d944b9f377f073786d7343ed2af6391a631e34f1774324ead3587a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): skills/taste-application/scripts/taste/pack.py:139-143 | skills/taste-distillation/scripts/taste/pack.py:139-143 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/pack.py\u0060 and \u0060skills/taste-distillation/scripts/taste/pack.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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. 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":"skills/taste-application/scripts/taste/pack.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388a0ed529940a60cda7a530a98bc702d938b08b3a8578252b223f7ce4d8383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): skills/taste-application/scripts/taste/render3d.py:264-274 | skills/taste-distillation/scripts/taste/render3d.py:264-274 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/render3d.py\u0060 and \u0060skills/taste-distillation/scripts/taste/render3d.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd03854e10e00fbef0398f7b0a07159393b5066ba4fcdeef69c3e00f9b776d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:105-114 | skills/taste-application/scripts/tasteforge/timeline.py:54-59 | skills/taste-distillation/scripts/taste/timeline.py:105-114 \u2014 \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/timeline.py\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 4 separate duplicated blocks between them, totalling at least 73 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. 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec2e04436c77ee858982a65f4edb6d7024eea335ebf818e96b5b5f597e1a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): skills/taste-application/scripts/taste/timeline.py:118-134 | skills/taste-application/scripts/tasteforge/timeline.py:63-67 | skills/taste-distillation/scripts/taste/timeline.py:118-134 \u2014 \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-application/scripts/tasteforge/timeline.py\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 4 separate duplicated blocks between them, totalling at least 73 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. 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":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fbc85ab12bf49e0e9372ab78c64ecf4cba3a8c35fa371ac08d18d979e9f872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): skills/taste-application/scripts/taste/timeline.py:240-246 | skills/taste-distillation/scripts/taste/timeline.py:240-246 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/timeline.py\u0060 and \u0060skills/taste-distillation/scripts/taste/timeline.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"672fbdd0000bf912d70e1b3512d0f336884eeeb7da1065c5fc56bf09adf3c117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/llm/providers/astraflow.py:28-38 | src/llm/providers/atlas.py:29-39 \u2014 before extracting anything, compare \u0060src/llm/providers/astraflow.py\u0060 and \u0060src/llm/providers/atlas.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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 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":"src/llm/providers/astraflow.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"563995464923de8498508708d75a7ce43569d80d9f12d33214423dbb6d1592b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): .agents/skills/docs-governance/scripts/audit-docs.py:212-217 | pi/core/skills/docs-governance/scripts/audit-docs.py:212-217 | skills/docs-governance/scripts/audit-docs.py:212-217 \u2014 before extracting anything, compare \u0060.agents/skills/docs-governance/scripts/audit-docs.py\u0060 and \u0060pi/core/skills/docs-governance/scripts/audit-docs.py\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 559 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7acbeeec45622e72cc1a24f3920fff1e485dd7a1343b65f70f4954110b9cd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): skills/taste-application/scripts/falapi.py:555-560 | skills/taste-application/scripts/taste/falapi.py:555-560 | skills/taste-distillation/scripts/taste/falapi.py:555-560 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/falapi.py\u0060 and \u0060skills/taste-application/scripts/taste/falapi.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 382 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"a597d81ab4103fc3cb41d6b455f086f697afbff869ac67caf49a0062501e180d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:99-104 | skills/taste-distillation/scripts/taste/frames.py:99-104 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"597da9036af64ee95d54db80d42f18d2a95f9ee23b2fc78849ce454404684d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/taste-application/scripts/taste/frames.py:192-197 | skills/taste-distillation/scripts/taste/frames.py:192-197 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/frames.py\u0060 and \u0060skills/taste-distillation/scripts/taste/frames.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775a2a238d1ea2ec567ba70827534f199b13ee9d62120d977553bd96a451c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/taste-application/scripts/taste/plates.py:80-88 | skills/taste-distillation/scripts/taste/plates.py:80-88 \u2014 before extracting anything, compare \u0060skills/taste-application/scripts/taste/plates.py\u0060 and \u0060skills/taste-distillation/scripts/taste/plates.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de43c932d62d482f71d6546c60666ca424b5ddd8b6fd170bc1cbff22bd6619"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 4): Config\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":"ecc2/src/config/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23d6e80cbe2dcf2209e6978ea756c4526b6df131ad8061c674d39731a616e4a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: missing owned marker restores safely on reinstall: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/command-runtime.test.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea71d6cd072ba8875028076d3ff4e88c46ba549b6e2a1f58e72ffb6d197105"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/plan-canvas.test.js"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a5c1ecc4f7525b32e71d6c636aa4559b64d0266570c912cd9c5b6dec014a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fixture has no node_modules anywhere in its ancestor chain: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/plugin-install-without-node-modules.test.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"672c77487ec5d3f8ae925030ca428d4a7fcf30f01a9afa6381731977a7a1f6a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: an eight-request burst caps live workers at two and rejects excess work without queuing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/control-pane-contention.test.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8f5cf0af2b5be6e057d4c81be0e331616fc54a3c462e68609ec8bef4fcdb54"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a disconnected HTTP client retains its worker slot until actual exit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/control-pane-contention.test.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdbded0684d747f93b747ae53a493440af2016236137eaff5dda7f8b5df4a0d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: buildOrchestrationPlan exposes shell-safe launcher aliases alongside raw defaults: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/tmux-worktree-orchestrator.test.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c27bd72c2fa2682b80ecd5babe96394b25ea9fefbb221cc4aaf5a04180e68f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/gateguard-fact-force.test.js"},"region":{"startLine":4050}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c28f89c507030465fa671165d9f92a7773ba75ee0c32b2e304463aba0179d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: hooks.json is valid JSON: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hooks.test.js"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d9bc9988489df1277cee0a338bb9aa1062b1cbc2146523bbd01a86b78e824"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stop hook is a no-op when no accumulator exists: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/stop-format-typecheck.test.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1198401c582b28ba23af816aacbd0d53c53566f62d11e12ecc15fb010f8cfd51"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: workflow IDs come from exact-path metadata and unrelated spoof results do not gate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/release-packed-artifact-workflow.test.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"845620d22750a09ddeb8d0713a4a5eefe74e18fb98a2b87168494a71495634a6"}},{"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":"9ec428504a48b771adc1f184143c6f53a46a83716200a1cd92d7ace975413ce4"},"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":"8f1499e6412654df7c558444124fc8197be107622c532011cf9654598417787f"},"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: scripts/hooks/gateguard-fact-force.js: scripts/hooks/gateguard-fact-force.js changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in gateguard-fact-force.unwrapLeadWrappers at line 835. 41 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/gateguard-fact-force.js\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":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8b10f93f35d03ac28d0ed620dab07cba10e8ecfe85e08bc0c4128f4d518b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/apply.js: scripts/lib/install/apply.js changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in apply.applyInstallPlanLocked at line 808. 39 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/apply.js\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":"scripts/lib/install/apply.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb8e8f28ecf6cb2481ee45b9ec9ea3bbc12df9209d92ea604c3acb4e8b2ad6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/block-no-verify.js: scripts/hooks/block-no-verify.js changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in block-no-verify.checkCommand at line 987. 8 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/block-no-verify.js\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":"scripts/hooks/block-no-verify.js"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"164915b2ec3fa7a587248b23992566aad2aecb31d23f853e04f1047695fb1985"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/main.rs: ecc2/src/main.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 169 in ecc_tui::main at line 1479. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- ecc2/src/main.rs\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":"ecc2/src/main.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"171e393bc31ceb36983b27a43797afc3e038a67d058c74241e96e7a4c1113685"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/context-selection.js: scripts/lib/context-selection.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in context-selection.resolveTaskContext at line 333. 11 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/context-selection.js\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":"scripts/lib/context-selection.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6afac42b94ff6e6c82ee1ec613e88512c45ba6fda51019fd6235ab03e0a416"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install-lifecycle.js: scripts/lib/install-lifecycle.js changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in install-lifecycle.uninstallInstalledStates.results at line 1916. 22 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-lifecycle.js\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":"scripts/lib/install-lifecycle.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8ce23766c12788434d0c4d081e41225d920034943034abc72ae8e150a101e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install-manifests.js: scripts/lib/install-manifests.js changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in install-manifests.resolveInstallPlan at line 557. 10 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-manifests.js\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":"scripts/lib/install-manifests.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c28c7c5d842ccc8e468546ace559c4d16f2f437f4dfeae29eae453a1b59ca8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install-state.js: scripts/lib/install-state.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in install-state.createFallbackValidator.validate at line 43. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-state.js\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":"scripts/lib/install-state.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b772b751d3c17794d799e34eabdf5678ba5fdb8578c20327e7942ba43fa28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/codex-legacy-sync.js: scripts/lib/codex-legacy-sync.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in codex-legacy-sync.uninstallLegacyCodexSync at line 521. 8 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/codex-legacy-sync.js\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":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e62e4c827f147c98b435a72a9e1f8a1f396d8743bb75aedc89adc44ccf0faa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/state-store/index.js: scripts/lib/state-store/index.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in index.wrapSqlJsDatabase at line 214. 6 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/state-store/index.js\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":"scripts/lib/state-store/index.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2010f22a2a196935eb094b8bb966485cae23a2c86f1bf51a4d6d316e577d8aa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/memory-mcp.mjs: scripts/memory-mcp.mjs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in memory-mcp.createMemoryMcpService.handle at line 365. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/memory-mcp.mjs\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":"scripts/memory-mcp.mjs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0094106f5edc587a6016b17e5766b2610780ae18649f3c14cd89e1c8999af50a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/skill-comply/scripts/runner.py: skills/skill-comply/scripts/runner.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in runner._sandboxed_setup_command at line 367. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/skill-comply/scripts/runner.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/runner.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222a8eb3ad80ddb7646d90375edffdaa69d0f763ad8684bb31ff830df1d3dcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/install-apply.js: scripts/install-apply.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in install-apply.printHumanPlan at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/install-apply.js\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":"scripts/install-apply.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39bc4bd552db0a4a689c5d6a91c578fd7bb7864936498132ddaca67ac35867"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docker/gateguard-effectiveness/run-intent.js: docker/gateguard-effectiveness/run-intent.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in run-intent.main at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/run-intent.js\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":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"373f4731ef9554b33825e5587cb76f4544d53b0e412d3d950b960985fe36bf25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/dev/gateguard-eval.js: scripts/dev/gateguard-eval.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in gateguard-eval.summarize at line 435. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/dev/gateguard-eval.js\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":"scripts/dev/gateguard-eval.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e7134f009544cacbbbdadab49738ae1b37c12153013d9825aec7201305b4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install-targets/helpers.js: scripts/lib/install-targets/helpers.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in helpers.createInstallTargetAdapter at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-targets/helpers.js\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":"scripts/lib/install-targets/helpers.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"560679a43b8c7cceb5b0c802a8611dcfcc744822404fdfb46a11d73f08edbf47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/hook-consent.js: scripts/lib/install/hook-consent.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in hook-consent.stripJsonc at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/hook-consent.js\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":"scripts/lib/install/hook-consent.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"501d8febc4a7bdb4d487f6267f4330b234352fbba98f638f94919250b3039355"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/resolve-ecc-root.js: scripts/lib/resolve-ecc-root.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in resolve-ecc-root.resolveEccRoot at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/resolve-ecc-root.js\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":"scripts/lib/resolve-ecc-root.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c947855950268dc4aad9b01e141d06212df3b4015d1f4f17093754c2b72b4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/powershell-destructive-command.js: scripts/lib/powershell-destructive-command.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in powershell-destructive-command.expandStaticDoubleQuotedString at line 492. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/powershell-destructive-command.js\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":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4493a2e114cd6e958e7348ac947a7ac57a475597506a5024216165a7b7d60da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/llm/providers/ollama.py: src/llm/providers/ollama.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in OllamaProvider.generate at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- src/llm/providers/ollama.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/ollama.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"613a0063df892a1fbba04f8661326c5d14af51f03f78a4e0804cd6c6d9695795"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .agents/skills/docs-governance/scripts/markdown_links.py: .agents/skills/docs-governance/scripts/markdown_links.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in markdown_links.inline_link_targets at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- .agents/skills/docs-governance/scripts/markdown_links.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaca6d48bd26dacef42fbb839034b54b3f6b86d73fdd0cde352c049491b4c73d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/docs-governance/scripts/markdown_links.py: skills/docs-governance/scripts/markdown_links.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in markdown_links.inline_link_targets at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/docs-governance/scripts/markdown_links.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ef6d4642d08fc68b84d3d2deeaa701478464b462fa3e6485c702341c19604"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/session/store.rs: ecc2/src/session/store.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in StateStore::sync_tool_activity_metrics at line 1987. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- ecc2/src/session/store.rs\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":"ecc2/src/session/store.rs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d14db4104be629be2a17d55c84ce05663d2cfd4ecef18f7db9bcc0736298624"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/plan.js: scripts/lib/install/plan.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in plan.createManifestInstallPlan at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/plan.js\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":"scripts/lib/install/plan.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a6a58c2369ce252a5bcfe90edaf4c89f6b3cb28912d0fed5e89158978ff24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/run-with-flags.js: scripts/hooks/run-with-flags.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in run-with-flags.main at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/run-with-flags.js\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":"scripts/hooks/run-with-flags.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bc4b1b6813384593b8c32b1d66109101bc82bfe086e322b29ed2d9d0348d78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qwen-adapt-agents.js: scripts/qwen-adapt-agents.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in qwen-adapt-agents.adaptFrontmatter at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/qwen-adapt-agents.js\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":"scripts/qwen-adapt-agents.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db900ca970718dd3d5a08c92dc7344abf5bdd4ae832aefa900cab0f1f7df024"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/skill-evolution/tracker.js: scripts/lib/skill-evolution/tracker.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in tracker.normalizeExecutionRecord at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/skill-evolution/tracker.js\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":"scripts/lib/skill-evolution/tracker.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da17081df24d23a8aa818a361194a10aa8bdc3ea0ebc52e2eb0b33957e8c876"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/cost-tracker.js: scripts/hooks/cost-tracker.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in cost-tracker.sumUsageFromTranscript at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/cost-tracker.js\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":"scripts/hooks/cost-tracker.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"895c7aa03f904f52a7ecf6ae0e199b45f3bbda3811f5431139da08f500b81857"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/story-lifecycle/scripts/ledger.js: skills/story-lifecycle/scripts/ledger.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ledger.replaceTable at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/story-lifecycle/scripts/ledger.js\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":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae43609371c5a1ae04d3224a0cd26b304f28d8a8fb3ad7e58f2a521733307f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/plugin-hook-bootstrap.js: scripts/hooks/plugin-hook-bootstrap.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in plugin-hook-bootstrap.main at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/plugin-hook-bootstrap.js\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":"scripts/hooks/plugin-hook-bootstrap.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceedd01c7df1d16a91f5580063aadaa1482028b907bcfa7f2fbefc04e9bfd06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/gateguard-turn-scan.js: scripts/lib/gateguard-turn-scan.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in gateguard-turn-scan.scanCurrentTurn at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/gateguard-turn-scan.js\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":"scripts/lib/gateguard-turn-scan.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eb282f978f65e029eaf86be5ea3d495f6bc3214316536cd258b0d4cfcea3ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/session-start.js: scripts/hooks/session-start.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in session-start.main at line 648. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/session-start.js\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":"scripts/hooks/session-start.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31bd5843f61da7278a26e2ecceff395cc2688a1ec98afb6a8913b4291e0ab66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/claude-scope-migration.js: scripts/lib/claude-scope-migration.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in claude-scope-migration.migrateClaudePluginScope at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/claude-scope-migration.js\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":"scripts/lib/claude-scope-migration.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff348929dc7654169df745268517e6f8f3278a56294eb832f1d516d4280f452"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/context-routing-index.js: scripts/lib/context-routing-index.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in context-routing-index.readRoutingIndex at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/context-routing-index.js\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":"scripts/lib/context-routing-index.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b04493bfd71c92cf00fc6e4fa1552137c1a668aa1cd67b805a215763277e9de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docker/gateguard-effectiveness/run.js: docker/gateguard-effectiveness/run.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in run.main at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/run.js\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":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04a6977f30c19fb32cab62e97a41d7a9ff094a84c83616ebf531afed4ff6bb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/llm/providers/openai.py: src/llm/providers/openai.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in OpenAIProvider.generate at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- src/llm/providers/openai.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/openai.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"182eb666c306afe8db311249eff90fa77719df1d82f0749f4dbf579423914308"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/request.js: scripts/lib/install/request.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in request.normalizeInstallRequest at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/request.js\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":"scripts/lib/install/request.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ad11fa7bef694ab03461ab2ba3cc88bdf7acc82c35d2b2958ab8c68d36c2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/auto-update.js: scripts/auto-update.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in auto-update.runAutoUpdate at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/auto-update.js\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":"scripts/auto-update.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4324547fd26d48d5a6a6074e8f306acb079c140dcf9b408b573aa255c99564"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/mcp-health-check.js: scripts/hooks/mcp-health-check.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in mcp-health-check.probeServer at line 551. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/mcp-health-check.js\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":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c167bb823dc5167da3d5e538a1bd8a782a492ce17e9a68df35704eaa900130f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/context-profile-commands.js: scripts/lib/context-profile-commands.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in context-profile-commands.execute at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/context-profile-commands.js\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":"scripts/lib/context-profile-commands.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1659393b12ed684914219d14e5ec9a6a52ebc174a23442907ceb0a1a073873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/uninstall.js: scripts/uninstall.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in uninstall.printHuman at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/uninstall.js\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":"scripts/uninstall.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d1878842ea2c6d27b5ac10f62b45e51a1a0eb6befb9253cca9a2b5c46c60ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/opencode-legacy-migration.js: scripts/lib/install/opencode-legacy-migration.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in opencode-legacy-migration.verifyManagedLegacyFile at line 167. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/opencode-legacy-migration.js\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":"scripts/lib/install/opencode-legacy-migration.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf5c7df11eababa5ad2bfcd8dbc6b560963582e255aee8dab5f553ca6feac4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/continuous-learning-v2/scripts/instinct-cli.py: skills/continuous-learning-v2/scripts/instinct-cli.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in instinct-cli.parse_instinct_file at line 515. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/continuous-learning-v2/scripts/instinct-cli.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"505a4664c021cc6ae6ed43c1f436102721bff8c02371aa18ca6c1c888a0163c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/shell-substitution.js: scripts/lib/shell-substitution.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in shell-substitution.readBraceBody at line 294. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/shell-substitution.js\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":"scripts/lib/shell-substitution.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e210a77e1a3aa4a9f2dffdbcc0e5626c812735fbdc4090cbc97cb68d80b1d27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/control-pane/server.js: scripts/lib/control-pane/server.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in server.createControlPaneServer.server at line 195. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/control-pane/server.js\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":"scripts/lib/control-pane/server.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4b29971c1c3e70f0f6fcce0f5f2283d4cc99000325462617feed887d8b5c98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/gateguard-search-filters.js: scripts/lib/gateguard-search-filters.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in gateguard-search-filters.applyShellFilterArg at line 439. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/gateguard-search-filters.js\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":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2c79d23343b328f7920417fd1d5d56b1820529c48195e496cf24ee8b66f44f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/validate-skills.js: scripts/ci/validate-skills.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in validate-skills.inspectFrontmatter at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/ci/validate-skills.js\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":"scripts/ci/validate-skills.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8627d3dfbbc2f386137e9ee7f932f71aeb8dc48867b819ce6510fc6700a6136b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docker/gateguard-effectiveness/intent-eval.js: docker/gateguard-effectiveness/intent-eval.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in intent-eval.loadIntentScenarios at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/intent-eval.js\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":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b300046019f2d556bc4c4e139382b67d99d08579b528a22382a9911c330a76a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/claw.js: scripts/claw.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in claw.askClaude at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/claw.js\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":"scripts/claw.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1b19175886665dadd6ca38aaeee4613632a234cba2e5c865ef75519a729552"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/claude-plugin-setup.js: scripts/lib/claude-plugin-setup.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in claude-plugin-setup.setupClaudePlugin at line 592. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/claude-plugin-setup.js\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":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecdb99a1f0004f4690469666fd44e02be8b37c07339261f7a41cc86d582180d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/hook-input.js: scripts/hooks/hook-input.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in hook-input.readStdinRaw at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/hook-input.js\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":"scripts/hooks/hook-input.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e17a74c8f01d401787de1f7edeaf536aab3ccfb2a40b45ea41f660129f39505"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docker/gateguard-effectiveness/session.js: docker/gateguard-effectiveness/session.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in session.runConversation at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/session.js\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":"docker/gateguard-effectiveness/session.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bba98f5274e8fb2722518d24673b01c91d4382688ff6db57aedd8c7faf52e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/plan-canvas/server.js: scripts/lib/plan-canvas/server.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in server.createPlanCanvasServer.serveArtifact at line 605. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/plan-canvas/server.js\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":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"228993442fc62f367fbbe0d210dd427206e42b04c83811fae5b4ac8a115962b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/ck/hooks/session-start.mjs: skills/ck/hooks/session-start.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in session-start.main at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/ck/hooks/session-start.mjs\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":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4629e602e7232839935f7f9cb55aec4d5d564a46d40114ae01f069b6d3519"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/copilot-rule.js: scripts/lib/install/copilot-rule.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in copilot-rule.rewriteRuleLinks at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/copilot-rule.js\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":"scripts/lib/install/copilot-rule.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9330a28974732ae029de0e638d2ece3b491e0dda492277dbaf8eaef145bc58a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/context-profile-native.js: scripts/lib/context-profile-native.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in context-profile-native.loadReceipt at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/context-profile-native.js\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":"scripts/lib/context-profile-native.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba153f54248e1efb92120c59bfcd733dee2abf97e0899a1ff282385769c7d4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/agent-convert.js: scripts/agent-convert.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in agent-convert.main at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/agent-convert.js\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":"scripts/agent-convert.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de19235bf493e124b55cd0080f32c8afdb3e6a7dbc257a44b1f53b0729b6cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/frontend-design-direction/scripts/check-evidence.js: skills/frontend-design-direction/scripts/check-evidence.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in check-evidence.checkEvidence at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/frontend-design-direction/scripts/check-evidence.js\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":"skills/frontend-design-direction/scripts/check-evidence.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e549fa6bebc0ff35138141143622778ed2fb03695331c80d0040b31edf952d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/lifecycle-hook-bootstrap.js: scripts/hooks/lifecycle-hook-bootstrap.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in lifecycle-hook-bootstrap.main at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/lifecycle-hook-bootstrap.js\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":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08342e46c65e4107893e0807dff0bbcf85f00563b8d3bbea9f489985973bd3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/gemini-adapt-agents.js: scripts/gemini-adapt-agents.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in gemini-adapt-agents.adaptFrontmatter at line 146. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/gemini-adapt-agents.js\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":"scripts/gemini-adapt-agents.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"255ce058dde7ccc2c259ed155e0b6de7f3ac7f3ae8522ac764a258dd153a3be3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/control-pane/work-item-runner.js: scripts/lib/control-pane/work-item-runner.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in work-item-runner.runWorkItemMutation at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/control-pane/work-item-runner.js\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":"scripts/lib/control-pane/work-item-runner.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"624e2dfdc30ed668ceed3264700a2daa09cffac9df890efdb59595d2e617320b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/install/opencode-script-boundary.js: scripts/lib/install/opencode-script-boundary.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in opencode-script-boundary.assertScriptBoundary at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/opencode-script-boundary.js\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":"scripts/lib/install/opencode-script-boundary.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a322a41ea10665fdd20152aaf0dd74bbebfe3e9ad381fdad0da691f8b2f149a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/inspection.js: scripts/lib/inspection.js changed 10 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 inspection.suggestAction 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(inspection): normalize diagnostic-looking Windows filenames\u201D; \u201Cfix(integration): address review findings in docs and diagnostics\u201D; \u201Cfix: sort missing inspection dates after pre-epoch timestamps\u201D; \u201Cfix: order failure pattern timestamps chronologically\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/inspection.js\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":"scripts/lib/inspection.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"083505e36b6016c87f57e216faeb1911f8006c427db62eae49fb5aab8345f10c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/skill-evolution/versioning.js: scripts/lib/skill-evolution/versioning.js changed 9 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 12 (its worst body is versioning.rollbackTo 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: preflight and document snapshot storage capability\u201D; \u201Cfix: normalize root overrides and report unverified snapshot staging\u201D; \u201Cfix: preserve rollback version state and bounded runtime workflows\u201D; \u201Cfix: publish rollback target snapshot before replacing live skill\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/skill-evolution/versioning.js\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":"scripts/lib/skill-evolution/versioning.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a0236e7ec425e8920e0c6a8eac2740b9b7ea326706703754fe7223290c14f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: tests/run-all.js: tests/run-all.js 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 15 (its worst body is reportTestFile at line 196), 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 activity errors, asset bytes and runner summaries\u201D; \u201Cfix: complete reviewed integration workflows and safety checks\u201D; \u201Cfix: restore unskipped installer refactor validation\u201D; \u201Cfix: replace blanket ECC_TEST_ALLOW_FAILURES with targeted ECC_TEST_SKIP\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- tests/run-all.js\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":"tests/run-all.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd76f51853658f85f0181fbbb38d93915c677391504d81f327a21ff022aa76a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install-executor.js: scripts/lib/install-executor.js 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 13 (its worst body is install-executor.createLegacyInstallPlan at line 455), 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: respect CLAUDE_CONFIG_DIR with WSL Windows-path conversion\u201D; \u201Cfix(install): give Antigravity rules an activation trigger\u201D; \u201Cfix(opencode): complete legacy root migration\u201D; \u201Cfix(opencode): isolate explicit home contexts\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-executor.js\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":"scripts/lib/install-executor.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"32796db128a7c377f859646d240b220781acb0985d5125d953a827d178126668"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install-targets/claude-home.js: scripts/lib/install-targets/claude-home.js changed 8 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 7 (its worst body is claude-home.getClaudeManagedDestinationPath at line 17), 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 CLAUDE_CONFIG_DIR tilde expansion, blank path fallback, and inline WSL resolver parity\u201D; \u201Cfix: respect CLAUDE_CONFIG_DIR with WSL Windows-path conversion\u201D; \u201Cfix: protect commands-only CommonJS runtime in Claude installs\u201D; \u201Cfix(install): limit followup to target-compatible dependency resolution\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-targets/claude-home.js\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":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"41604785c1adc9a6458ab7ddf525778d024361d93c7232cc49b1204d42dfb69d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/hooks/session-end.js: scripts/hooks/session-end.js 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 14 (its worst body is session-end.collectEntry 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: preserve Windows rule examples and conservative summary budgets\u201D; \u201Cfix: keep session summaries within the lifecycle deadline\u201D; \u201Cfix(session-start): scope summary lookup to repository identity (#3160) (#3168)\u201D; \u201Cfix(hooks): preserve metadata-marked human prompts\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/session-end.js\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":"scripts/hooks/session-end.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38f600bbc1fa1426397005dc814924cbec5104f5b638ccccf32f89020a03367"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install/content-transform.js: scripts/lib/install/content-transform.js 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 15 (its worst body is content-transform.transformInstallContent at line 35), 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: keep Copilot detector explanation aligned with installed workflow\u201D; \u201Cfix: scope Copilot detector projection to the canonical TDD workflow\u201D; \u201Cfix: close installed workflow and review publication gaps before integration\u201D; \u201Cfix(install): give Antigravity rules an activation trigger\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/content-transform.js\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":"scripts/lib/install/content-transform.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df94906ed4813dee8c6a8adc22956337a4378d287b275c8b429120b7b5137d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/hooks/config-protection.js: scripts/hooks/config-protection.js 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 7 (its worst body is config-protection.targetPaths 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(config-protection): check MultiEdit edits[].file_path targets\u201D; \u201Cfix(hooks): recognize Prettier\u0027s TypeScript and JSON5 config files\u201D; \u201Cfix(hooks): distinguish Biome configs from results files\u201D; \u201Cfix(config-protection): cover the TypeScript and ESM config variants\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/config-protection.js\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":"scripts/hooks/config-protection.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4f0c6622927143151b4b7a1dae07318f3c5533c19d3476f966ae1c355662c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: .agents/skills/docs-governance/scripts/audit-docs.py: .agents/skills/docs-governance/scripts/audit-docs.py 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 15 (its worst body is audit-docs.check_adr_lifecycle at line 522), 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: complete reviewed integration workflows and safety checks\u201D; \u201Cfix(governance): require ADR successor\u201D; \u201Cfix(governance): harden ADR audit boundaries\u201D; \u201Cfix(governance): validate inline ADR successors\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- .agents/skills/docs-governance/scripts/audit-docs.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b74d7c04e41c34110eefd3fae5232b39d35f565fac467dc50b1c8fde4b6bcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: skills/docs-governance/scripts/audit-docs.py: skills/docs-governance/scripts/audit-docs.py 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 15 (its worst body is audit-docs.check_adr_lifecycle at line 522), 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: complete reviewed integration workflows and safety checks\u201D; \u201Cfix(governance): require ADR successor\u201D; \u201Cfix(governance): harden ADR audit boundaries\u201D; \u201Cfix(governance): validate inline ADR successors\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/docs-governance/scripts/audit-docs.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10296072c05754c0ae4b9ef8790ff8babbb786065a353ae82e729a8261c8903"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: skills/skill-comply/scripts/classifier.py: skills/skill-comply/scripts/classifier.py 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 classifier._parse_classification at line 67), 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(skill-comply): send Unicode Claude prompts through stdin\u201D; \u201Cfix: use UTF-8 throughout skill compliance workflows\u201D; \u201Cfix: reject lossy classifier tool-call indices\u201D; \u201Cfix: reject constant grader output and classify overflow errors\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/skill-comply/scripts/classifier.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-comply/scripts/classifier.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce8cc7ea5e507565f79b41103886f483ed945797fd7645746d9c55eff8e9634"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/transcript-context.js: scripts/lib/transcript-context.js 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 15 (its worst body is transcript-context.resolveContextWindow at line 142), 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(context): validate budgets and remind before native compaction\u201D; \u201Cfix(hooks): let [1m] marker beat CLAUDE_CODE_AUTO_COMPACT_WINDOW\u201D; \u201Cfix(hooks): preserve usage records at transcript tail boundaries\u201D; \u201Cfix: close truth and portability review 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/transcript-context.js\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":"scripts/lib/transcript-context.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e223e95f28af3d29a01685ae574a5ddb6f76cbc008170e62d71316761de6ef6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/llm-summary.js: scripts/lib/llm-summary.js 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 llm-summary.extractConversationText at line 37), 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(summary): preserve work before the earlier compaction boundary\u201D; \u201Cfix: preserve Windows rule examples and conservative summary budgets\u201D; \u201Cfix: report explicitly disabled summaries as skipped\u201D; \u201Cfix: keep session summaries within the lifecycle deadline\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/llm-summary.js\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":"scripts/lib/llm-summary.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"01be2b24976dda26aa562f4e5aeb4442a9b3331b414e0b4e438ca511b92773c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/session-aliases.js: scripts/lib/session-aliases.js 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 session-aliases.setAliasUnlocked at line 207), 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(session-aliases): reject array-shaped alias maps\u201D; \u201Cfix: validate session alias titles before saving\u201D; \u201Cfix(state): retry Windows sharing reads without dropping published aliases\u201D; \u201Cfix(sessions): preserve committed results on lock cleanup errors\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/session-aliases.js\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":"scripts/lib/session-aliases.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccef5d3709c6f53826ab1e17e2847d0bc8883725a41e6625f5a8420e9c954af"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install/antigravity-rule.js: scripts/lib/install/antigravity-rule.js 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 10 (its worst body is antigravity-rule.parseFrontmatter at line 32), 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(install): reject blank quoted Antigravity triggers in the YAML fallback\u201D; \u201Cfix(install): decide native Antigravity triggers from parsed YAML\u201D; \u201Cfix(install): require a value before treating an Antigravity trigger as native\u201D; \u201Cfix(install): pass native Antigravity rules through before YAML parsing\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/antigravity-rule.js\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":"scripts/lib/install/antigravity-rule.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16f3986624e0b2f5b56ded410fef2110fb6c92af3c64df7731196e9c1be50ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: docker/gateguard-effectiveness/coverage.js: docker/gateguard-effectiveness/coverage.js 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 coverage.renderHoles at line 182), 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(gateguard): make harness graders check content and count only valid trials\u201D; \u201Cfix(gateguard): harden effectiveness evidence\u201D; \u201Cfix(gateguard): enforce evaluation validity guards\u201D; \u201Cfix(gateguard): do not charge the ungated arm with gate-specific holes\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/coverage.js\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":"docker/gateguard-effectiveness/coverage.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b0ba1b33f255e7ecc433c61c31bbde6d25169578c975d2605111601fee0855"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/llm/providers/reasoning.py: src/llm/providers/reasoning.py 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 8 (its worst body is reasoning.strip_reasoning at line 19), 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: require explicit reasoning format before stripping content\u201D; \u201Cfix(llm): keep answers too deeply nested to parse whole in prefilled mode\u201D; \u201Cfix(llm): fall back when a prefilled answer is too deeply nested to parse\u201D; \u201Cfix(llm): keep complete JSON answers whole in prefilled reasoning mode\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- src/llm/providers/reasoning.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/reasoning.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d45ae9c13bb2e224107072c9b827e2236d4fec4a3362897bdd14fe6ff2eb48"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install-targets/opencode-home.js: scripts/lib/install-targets/opencode-home.js 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 5 (its worst body is opencode-home.isExpectedType at line 26), 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(opencode): preserve CommonJS runtime scope and user script ownership\u201D; \u201Cfix: resolve installed OpenCode skill paths consistently\u201D; \u201Cfix: resolve OpenCode source imports and installed skills paths\u201D; \u201Cfix(release): clear final review blockers\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-targets/opencode-home.js\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":"scripts/lib/install-targets/opencode-home.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebec28624c8c3678b544a3cf00aaaf9b5b15ea5ff0d7c88dab165eb1c05a32bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/state-store/file-lock.js: scripts/lib/state-store/file-lock.js 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 file-lock.releaseOwnedLock at line 43), 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(state-store): tolerate missing Windows lock device IDs\u201D; \u201Cfix(state-store): keep cleanup diagnostics off caller errors\u201D; \u201Cfix(state-store): preserve permission errors after lock retries\u201D; \u201Cfix(state-store): retry Windows contention and repair fixtures\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/state-store/file-lock.js\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":"scripts/lib/state-store/file-lock.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea358a526e1a7058845f7bd4c98b6af360b1a98c4eb41ec4b291f65fcf6887f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/hooks/posttooluse-dispatcher.js: scripts/hooks/posttooluse-dispatcher.js 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 14 (its worst body is posttooluse-dispatcher.runHooks at line 233), 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(hooks): keep silent hook paths silent (#2987)\u201D; \u201Cfix(hooks): harden Hookify rule enforcement\u201D; \u201Cfix: close PowerShell destructive command gate bypass\u201D; \u201Cfix(skill-evolution): wire Skill PostToolUse tracker so skill-health shows real runs (#2490)\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/posttooluse-dispatcher.js\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":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1438e9e5cbf2befaacefc134862bd11c237e5213cc28053dc64cf7f2667f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ecc2/src/config/mod.rs: ecc2/src/config/mod.rs 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 9 (its worst body is ResolvedAgentProfile::apply at line 799), 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(ecc2): report test config root cleanup failures instead of ignoring them\u201D; \u201Cfix: reconcile stewardship batch on current main\u201D; \u201Cfix(ecc2): also sandbox the legacy ~/.claude/ecc2.toml path under cfg(test)\u201D; \u201Cfix(ecc2): sandbox Config::config_path() under cfg(test)\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- ecc2/src/config/mod.rs\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":"ecc2/src/config/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7a8ab5231e33ff4c02adf3e25a9f514f8cc6e67173317409e9d9a660eee4cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/nasiko-release.js: scripts/lib/nasiko-release.js 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 nasiko-release.inspectInstalledNasiko at line 253), 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(nasiko): use descriptor lock identity\u201D; \u201Cfix(nasiko): harden lifecycle recovery\u201D; \u201Cfix: close Nasiko filesystem race windows\u201D; \u201Cfix: harden Nasiko artifact 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/nasiko-release.js\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":"scripts/lib/nasiko-release.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"59af9732756c0f333e3a1eb0dd2d073435c4990f7810fffbf365cd4513f2a6cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/ci/catalog.js: scripts/ci/catalog.js 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 7 (its worst body is catalog.parseReadmeExpectations at line 107), 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(catalog): reject unmarked agent-tree skill undercounts\u201D; \u201Cfix: complete reviewed integration workflows and safety checks\u201D; \u201Cfix(ci): close catalog gate holes on README project tree\u201D; \u201Cfix(ci): validate cross-harness catalog counts\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/ci/catalog.js\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":"scripts/ci/catalog.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c725adc0d6bcd0d5e15fdef888dd4f1a777c51c5c6b8a8e60524a54b7fb3ba57"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/control-pane/proximity.js: scripts/lib/control-pane/proximity.js 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 proximity.decodeGitPath at line 19), 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(proximity): decode quoted paths with precise line ranges\u201D; \u201Cfix(proximity): isolate diff headers and preserve partial probes\u201D; \u201Cfix(proximity): retain all tracked working-set paths\u201D; \u201Cfix(proximity): observe uncommitted worktree changes\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/control-pane/proximity.js\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":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4adbbe4ae9b6e9a651621569219285ef00c28859da7ee2a3572492596e4c129"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/harness-capabilities.js: scripts/lib/harness-capabilities.js 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 harness-capabilities.normalizeHarnessSelection at line 345), 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(install): register AdaL capability metadata\u201D; \u201Cfix(release): clear final review blockers\u201D; \u201Cfix(release): make ECC 2.2 ready to publish\u201D; \u201Cfix(install): harden ECC installer 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/harness-capabilities.js\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":"scripts/lib/harness-capabilities.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea3e603ca1e9c47a0e87d63e5851e891f7e6b4f5a030f382510e794aaf9f49"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install/antigravity-agent.js: scripts/lib/install/antigravity-agent.js 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 6 (its worst body is antigravity-agent.splitFrontmatter at line 25), 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(install): preserve mixed body line endings verbatim in Antigravity agent transform\u201D; \u201Cfix(install): harden Antigravity target containment, agent tools, and binary asset copies\u201D; \u201Cfix(install): checkpoint interrupted migrations\u201D; \u201Cfix(install): close reviewed reliability 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/antigravity-agent.js\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":"scripts/lib/install/antigravity-agent.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c77c5595f20ef001c7aa08fdea2b6bd78cf13e6f5df4c116ad3678b7b0aa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install-targets/antigravity-project.js: scripts/lib/install-targets/antigravity-project.js 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 3 (its worst body is antigravity-project.supportsAntigravitySourcePath at line 13), 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(install): harden Antigravity target containment, agent tools, and binary asset copies\u201D; \u201Cfix(install): give Antigravity rules an activation trigger\u201D; \u201Cfix(install): close reviewed reliability gaps\u201D; \u201Cfix(install): harden ECC installer 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-targets/antigravity-project.js\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":"scripts/lib/install-targets/antigravity-project.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"56886bc5c315c44a9ce32899f8809a6af063f0725429b9d924aa80976d7678de"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/control-pane/work-item-mutations.js: scripts/lib/control-pane/work-item-mutations.js 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 13 (its worst body is work-item-mutations.claimWorkItem at line 55), 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(work-items): use native unbounded ready selection for pickup\u201D; \u201Cfix(work-items): preserve legacy active claim idempotence\u201D; \u201Cfix(work-items): require explicit ready state for new claims\u201D; \u201Cfix(state): serialize work-item claims and preserve existing ownership\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/control-pane/work-item-mutations.js\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":"scripts/lib/control-pane/work-item-mutations.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"29125e6968c226c13a86315c6a3bb8edb43ed8e3e0fa060670bbd2bf6ef89c59"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/utils.js: scripts/lib/utils.js 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 15 (its worst body is utils.findFiles at line 285), 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(hooks): use session repository for console warnings\u201D; \u201Cfix(hooks): list modified files from the repository root even with diff.relative\u201D; \u201Cfix(profiles): bind routing receipts and harden review paths\u201D; \u201Cfix(session-start): scope summary lookup to repository identity (#3160) (#3168)\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/utils.js\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":"scripts/lib/utils.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bde197c9603ee930be9d9ac39595c24f80decad8ab06f46d33d133c165fbc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/grader.cjs: docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/grader.cjs 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 3 (its worst body is grader.valuesMatch at line 15), 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: validate evaluator files before pipe reads and strengthen grader controls\u201D; \u201Cfix: reject constant grader output and classify overflow errors\u201D; \u201Cfix(gateguard): fix the CSV grader\u0027s expected values before the export runs\u201D; \u201Cfix(gateguard): make harness graders check content and count only valid trials\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/grader.cjs\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":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/grader.cjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b2cd5d86a3c469a7cd1066c328e197f6daa63576bc738a415466c15ea95f7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/atomic-write.js: scripts/lib/atomic-write.js 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 11 (its worst body is atomic-write.writeFileAtomic 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: allow bounded sustained Windows atomic replacement contention\u201D; \u201Cfix(state): retry Windows sharing reads without dropping published aliases\u201D; \u201Cfix(fs): retry bounded Windows atomic rename sharing failures\u201D; \u201Cfix(install): pin Claude settings parent during atomic replacement\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/atomic-write.js\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":"scripts/lib/atomic-write.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"74780e6d6433cc3b9dbd44f9d932072cb0a93fcb3ee794c008e42c0ff8d69ae6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/hooks/plan-canvas-pending.js: scripts/hooks/plan-canvas-pending.js 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 12 (its worst body is plan-canvas-pending.pendingSessions at line 101), 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(plan-canvas): reconcile profile resolver and retain invalid feedback queues\u201D; \u201Cfix(plan-canvas): validate feedback IPC locator and request shape\u201D; \u201Cfix(plan-canvas): route session state through CLAUDE_CONFIG_DIR\u201D; \u201Cfix(hooks): honor CLAUDE_CONFIG_DIR instead of writing to ~/.claude\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/plan-canvas-pending.js\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":"scripts/hooks/plan-canvas-pending.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"27357de2c7d357cb11d0f8b6d0395e3f02958155966580e6bab76bf14b393834"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/ci/validate-hooks.js: scripts/ci/validate-hooks.js 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 15 (its worst body is validate-hooks.validateHarnessCompatibility 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(ci): unescape node -e inline programs in one pass\u201D; \u201Cfix(hooks): keep hooks.json within Claude Code\u0027s schema\u201D; \u201Cfix(install): harden Claude settings 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/ci/validate-hooks.js\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":"scripts/ci/validate-hooks.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"06befa8c37921d1f354c5d66a5010ef5f522acc102a6257b0b661203cbd84667"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/control-pane.js: scripts/control-pane.js 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 4 (its worst body is control-pane.main at line 21), 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: restore plan canvas process launcher\u201D; \u201Cfix(scripts): extract cross-platform openBrowser helper with structured launch result (#3180)\u201D; \u201Cfix(install): ship ajv/sql.js with the plugin install bundle (#2822)\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/control-pane.js\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":"scripts/control-pane.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd653cc923715a4536e02ab11e15d7cb967ac7488cf42b2dbec94ec825e2d3f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install-targets/claude-project.js: scripts/lib/install-targets/claude-project.js 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 claude-project.getClaudeManagedDestinationPath at line 14), 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: protect commands-only CommonJS runtime in Claude installs\u201D; \u201Cfix: isolate Claude project hooks from ESM hosts (#3184)\u201D; \u201Cfix(install): harden Claude settings 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install-targets/claude-project.js\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":"scripts/lib/install-targets/claude-project.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cd57f7dcaf32629715e927a85894c604b5a690e94c85f0112edc7731d9235f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/codex/check-plugin-cache.js: scripts/codex/check-plugin-cache.js 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 13 (its worst body is check-plugin-cache.checkCache 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: validate Codex hook references in plugin cache\u201D; \u201Cfix(codex): bind cache rerun guidance to active plugin\u201D; \u201Cfix(codex): recommend native cache recovery in checker\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/codex/check-plugin-cache.js\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":"scripts/codex/check-plugin-cache.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3df065fbde202b54110f234fb4a1929868fd4a8060162c7da707ec6331f1a77"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/hooks/check-console-log.js: scripts/hooks/check-console-log.js 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 check-console-log.process.stdin.on(\u0022end\u0022) at line 75), 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(hooks): use session repository for console warnings\u201D; \u201Cfix(hooks): find console.log in modified files from a subdirectory session\u201D; \u201Cfix(hooks): preserve complete bounded passthrough payloads\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/hooks/check-console-log.js\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":"scripts/hooks/check-console-log.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ccefcf0fedfae174869ff98884746ac7b79854df0d4fe7e57534ddc5fbcae1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: .opencode/tools/changed-files.ts: .opencode/tools/changed-files.ts 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 execute at line 62), 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(opencode): ship audited runtime dependencies\u201D; \u201Cfix(opencode): add resolvable package entry and loadable in-place sources\u201D; \u201Cfix: resolve OpenCode source imports and installed skills paths\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- .opencode/tools/changed-files.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/tools/changed-files.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"68be1bab0bc50866fd8e46cbf9987ef00ef28eef7e691ec67c227566218de463"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: skills/agent-self-evaluation/scripts/evaluate.py: skills/agent-self-evaluation/scripts/evaluate.py 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 15 (its worst body is evaluate.format_report 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: validate evaluator files before pipe reads and strengthen grader controls\u201D; \u201Cfix: address evaluator portability and recording review findings\u201D; \u201Cfix: read piped tasks when evaluating output files\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- skills/agent-self-evaluation/scripts/evaluate.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cef63c921b87733a3dc1e7d8f73ebd34d47557d1905da7ccedf4ac5b6111b60"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/ci/validate-skill-host-compat.js: scripts/ci/validate-skill-host-compat.js 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 14 (its worst body is validate-skill-host-compat.validateSkillHostCompat at line 319), 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(adapters): bound parsing and publish review artifacts safely\u201D; \u201Cfix(ci): flag CLAUDE_PROJECT_DIR in skill fences with Codex rewrite guidance\u201D; \u201Cfix(ci): skip POSIX $1 assignment in skill host-compat lint\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/ci/validate-skill-host-compat.js\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":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f761d79e3611b6e96417d76eebd780bfb8a6de8c62e5090b09f14f4eebc6ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/repair.js: scripts/repair.js 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 repair.parseArgs at line 17), 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: installer slice from PR #3120 review (Haelyra)\u201D; \u201Cfix(opencode): isolate explicit home contexts\u201D; \u201Cfix(install): harden ECC installer 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/repair.js\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":"scripts/repair.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"21912718de402e02dc166e097b4a3b0a959539dd4bbded1f714dc29b35282a83"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/agent-data-home.js: scripts/lib/agent-data-home.js 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 13 (its worst body is agent-data-home.readProjectConfigAt at line 140), 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(hooks): honor CLAUDE_CONFIG_DIR instead of writing to ~/.claude\u201D; \u201Cfix(hooks): keep ~/.claude eligible as project sharing root with CLAUDE_CONFIG_DIR\u201D; \u201Cfix(hooks): honor CLAUDE_CONFIG_DIR for the default agent data home\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/agent-data-home.js\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":"scripts/lib/agent-data-home.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"39473140b9489375aa6290f99741e0ccf48ff6338ee7f8c925c3b41bfceac741"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install/claude-settings-lock.js: scripts/lib/install/claude-settings-lock.js 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 14 (its worst body is claude-settings-lock.acquireSettingsLock at line 153), 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(sessions): preserve committed results on lock cleanup errors\u201D; \u201Cfix(sessions): serialize alias read-modify-write operations\u201D; \u201Cfix: handle Windows settings file identity\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/claude-settings-lock.js\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":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d577c5de0a46bda5e8022e068829a0b11d9a923a4dd5d74d94732ec983d16583"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: tests/lib/helpers/control-pane-contention-server.js: tests/lib/helpers/control-pane-contention-server.js 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 4 (its worst body is finish at line 52), 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(state-store): preserve permission errors after lock retries\u201D; \u201Cfix(state-store): preserve ownership and errors through cleanup\u201D; \u201Cfix(control-pane): bound concurrent mutation workers\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- tests/lib/helpers/control-pane-contention-server.js\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":"tests/lib/helpers/control-pane-contention-server.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ef9b84de9d19a75cec4e9ce9e0c081e4bb95991acd7cad8263d087e666cc54"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/lib/install/claude-skill-migration.js: scripts/lib/install/claude-skill-migration.js 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 claude-skill-migration.assertSafeSkillPath at line 47), 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: reconcile stale managed install operations\u201D; \u201Cfix(release): clear final review blockers\u201D; \u201Cfix(install): merge state across selective installs\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/lib/install/claude-skill-migration.js\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":"scripts/lib/install/claude-skill-migration.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9a4cf0a09f6d357097bd87bcaeccb6e1b785f2b2c38e8f940d5d2db26fb04a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: .cursor/hooks/before-read-file.js: .cursor/hooks/before-read-file.js 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 (anonymous) at line 3), 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(cursor): validate blocking hook input\u201D; \u201Cfix(cursor): fail closed on oversized guard input\u201D; \u201Cfix(cursor): consolidate hook event dispatch\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- .cursor/hooks/before-read-file.js\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":".cursor/hooks/before-read-file.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19633606318c738d39f2ca775030453a227243732024d3615015887944762d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: .cursor/hooks/before-tab-file-read.js: .cursor/hooks/before-tab-file-read.js 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 (anonymous) at line 3), 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(cursor): validate blocking hook input\u201D; \u201Cfix(cursor): fail closed on oversized guard input\u201D; \u201Cfix(cursor): consolidate hook event dispatch\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- .cursor/hooks/before-tab-file-read.js\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":".cursor/hooks/before-tab-file-read.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"573d81884ccdef1de047c903ae525d60f24ff760190fb59b459a5ba328399185"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/discord/release-announce.mjs: scripts/discord/release-announce.mjs 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 release-announce.deliver at line 147), 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: complete Discord delivery receipts reliably (#2738)\u201D; \u201Cfix: deliver announcements through a scoped Discord webhook (#2737)\u201D; \u201Cfix: deliver ECC announcements to Discord (#2732)\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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:21:50 -05:00\u0027 --until=\u00272026-11-06 16:21:50 -05:00\u0027 --full-history --no-merges -- scripts/discord/release-announce.mjs\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":"scripts/discord/release-announce.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749b74d75c650c631c2215d49793b02bae70cf69bc8f9545f7248d34c7ab565"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: ecc2/src/tui/dashboard.rs, ecc2/src/session/mod.rs, ecc2/src/notifications.rs, ecc2/src/observability/mod.rs, ecc2/src/session/runtime.rs, ecc2/src/tui/widgets.rs, ecc2/src/tui/app.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b86d3d51a88c49326f1cc837a145a96f551c1f16fd9402694cf7f3aa87f42128"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (13 single-owned of 107 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 107 of the 134 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: hooks/hermes/config-protection.py, hooks/hermes/check-console-log.py, skills/docs-governance/scripts/audit-docs.py, pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/ios-icon-gen/scripts/generate_icons.swift, src/llm/providers/openai_compat.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate against JSON schema\u0022 repeats the code it sits on: 4 of its 4 words (validate, against, json, schema) are already in \u0060if (validateAgainstSchema(data, HOOKS_SCHEMA_PATH, \u0027hooks.json\u0027))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3424366b0525d5178f164610323f4a3855ad4305df210ff126f42594c873a568"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Classify files into areas\u0022 repeats the code it sits on: 3 of its 3 words (classify, files, areas) are already in \u0060const areas = classifyFiles(allFiles);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemaps/generate.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"887a4d656a5aedc6748be950f8bd620eb55b3141a9b9404bdae7d9036bcdbced"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022One short-option cluster of a dd launcher, same contract as above.\u0022 repeats the code it sits on: 5 of its 6 words (short, option, cluster, dd, launcher) are already in \u0060function ddLauncherShortClusterStep(arg, options)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca44df165f375f8c2021d44ff4f1e94a162e6b38ca7b8197767fa78700ca77f7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for console.log\u0022 repeats the code it sits on: 3 of its 3 words (check, console, log) are already in \u0060if (line.includes(\u0027console.log\u0027) \u0026\u0026 !line.trim().startsWith(\u0027//\u0027) \u0026\u0026 !line.trim().startsWith(\u0027*\u0027) \u0026\u0026 !line.trim().starts \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c646d50067f92dccb13889f9d3e8f375f9ad5317806f38f08a6d14f6a7bae84c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check message length\u0022 repeats the code it sits on: 3 of its 3 words (check, message, length) are already in \u0060if (message.length \u003E 72)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdeb43b1fdd6efb88dd828cc9b25c04267c9bb05ae6d33d171e10173a24203d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get staged files\u0022 repeats the code it sits on: 3 of its 3 words (get, staged, files) are already in \u0060const stagedFiles = getStagedFiles();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e93a909d2e3e882ef349028969dece455ce0394e40ddc5895a7bd523f45612"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check each staged file\u0022 repeats the code it sits on: 3 of its 3 words (check, staged, file) are already in \u0060const filesToCheck = stagedFiles.filter(shouldCheckFile);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3674d3e31cfa4ae0b576d2ba6384d8beb94e09e03419d9ba6f3377e37b2bf093"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write corrupt JSON to the config file\u0022 repeats the code it sits on: 5 of its 5 words (write, corrupt, json, config, file) are already in \u0060fs.writeFileSync(configPath, \u0027NOT VALID JSON {{{ corrupt data !!!\u0027, \u0027utf8\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/evaluate-session.test.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ed4da85b90450df5f8a4090ab5d7c3e5a18e55155fee231cbb054f18cb389e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bash command with force push AND secret in command\u0022 repeats the code it sits on: 4 of its 5 words (bash, command, force, push) are already in \u0060const events = analyzeForGovernanceEvents({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/governance-capture.test.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7380cf46f16096b3f5dddf579b879a55ce310b9f187fef9e7e010687134375c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022getDisabledHookIds tests\u0022 repeats the code it sits on: 4 of its 5 words (get, disabled, hook, ids) are already in \u0060console.log(\u0027\\ngetDisabledHookIds:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hook-flags.test.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa898485b4cc9e980b5784a3dfed689bfae98eb5110c69ec3aac4ed320b880a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 13 comments in this file only repeat the code they sit on (lines 418, 1185, 1887, 2003, 2227, 2776, 3156, 5071, 5254, 5965, 6241, 6560, 6563), for example \u0022session-start.js edge cases\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hooks.test.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6b5306a33a4874bd93daf6fe1889fe09afcadf22cf64a9f459573f28654666"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Environment variable handling\u0022 repeats the code it sits on: 3 of its 3 words (environment, variable, handling) are already in \u0060console.log(\u0027\\nEnvironment variable handling:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/suggest-compact.test.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13930d942052f74ac2042700a88b37b90e9e862e710c630e3951df77f526cd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Corrupted counter file\u0022 repeats the code it sits on: 3 of its 3 words (corrupted, counter, file) are already in \u0060console.log(\u0027\\nCorrupted counter file:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/suggest-compact.test.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a355133e27e949fbf90b6a4ca1e132f325e6a8c0e80bffdfca1f778933550ac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2500\u2500 Round 64: default session ID fallback \u2500\u2500\u0022 repeats the code it sits on: 6 of its 6 words (round, 64, default, session, id, fallback) are already in \u0060console.log(\u0027\\nDefault session ID fallback (Round 64):\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/suggest-compact.test.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e162fa3405a77171621347a9287c7cc7dcc37ba4a372ab37fe41460f0dd85e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2500\u2500 canonicalPathKey \u2500\u2500\u0022 repeats the code it sits on: 3 of its 3 words (canonical, path, key) are already in \u0060console.log(\u0027\\ncanonicalPathKey:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/gateguard-target-class.test.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f120cf30a0b0a851771f532f0d87ec77b5b951a9c4287ae44e1782dbbf360c37"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 24 comments in this file only repeat the code they sit on (lines 243, 404, 431, 441, 468, 487, 548, 571, 615, 654, 688, 776, 859, 877, 968, 1196, 1344, 1372, 1521, 1574, 1591, 1609, 1630, 1737), for example \u0022getAvailablePackageManagers tests\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/package-manager.test.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e3ca5028ecdc217863e90c11e0ec8e02b5ecd323681a5484d5e801bddf6c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022TypeScript/JavaScript detection\u0022 repeats the code it sits on: 4 of its 4 words (type, script, java, detection) are already in \u0060console.log(\u0027\\nTypeScript/JavaScript Detection:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/project-detect.test.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e311f8c1418dbc10fcdf33206125a9d8d254188759e754acdfc7c73a283fcf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Dart/Flutter detection\u0022 repeats the code it sits on: 3 of its 3 words (dart, flutter, detection) are already in \u0060console.log(\u0027\\nDart/Flutter Detection:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/project-detect.test.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"04915e84d567d244260dcf81b32acb8119dc8c01274e9611fe74d7101ec192cf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 13 comments in this file only repeat the code they sit on (lines 442, 492, 534, 562, 619, 642, 701, 785, 1212, 1558, 1592, 1727, 1770), for example \u0022listAliases edge cases\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-aliases.test.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"948febc7cadefd255e4bd7c1b71eac3d1ded5e017dd0e400081453ad314aa728"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022writeBridgeAtomic \u002B readBridge roundtrip\u0022 repeats the code it sits on: 4 of its 5 words (write, bridge, atomic, read) are already in \u0060console.log(\u0027\\nwriteBridgeAtomic / readBridge:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-bridge.test.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d69d74234c6d631e5fc8436689175190fafb172615a87094b105c466f205ee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 21 comments in this file only repeat the code they sit on (lines 534, 580, 630, 878, 904, 1001, 1311, 1373, 1554, 1615, 1631, 1642, 1658, 1692, 2005, 2154, 2287, 2317, 2377, 2415, 2572), for example \u0022parseSessionMetadata edge cases\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-manager.test.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eec75d1a4449a0ac7bcd26580011de66370e652130b11ec3395eee80bf8b00"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Escaped operators outside quotes\u0022 repeats the code it sits on: 4 of its 4 words (escaped, operators, outside, quotes) are already in \u0060console.log(\u0027\\nEscaped operators outside quotes:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/shell-split.test.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b346a12755072dcca939b58cb41417cd428268d9c1fae14cf340aede2202af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 83, 200, 353, 386, 432, 449, 474, 488), for example \u0022\u2500\u2500 readLatestContextTokens \u2500\u2500\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/transcript-context.test.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3badb45c0a4954e04ffd3587f23b8564d5c28e346fecaebece1fdd4095d125a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 23 comments in this file only repeat the code they sit on (lines 772, 797, 885, 1017, 1046, 1108, 1134, 1150, 1158, 1310, 1361, 1468, 1515, 1538, 1586, 1602, 1696, 1948, 2109, 2235, 2271, 2376, 2617), for example \u0022getGitModifiedFiles() tests\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/utils.test.js"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b990d9861745ae4306534cbf9a1caa5f2c77e0c17f8ef12c3bccc0733e5b568"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022--detect output completeness\u0022 repeats the code it sits on: 3 of its 3 words (detect, output, completeness) are already in \u0060console.log(\u0027\\n--detect output completeness:\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/setup-package-manager.test.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd458f2433cf1ceaf10034d018da45d7555814bcc3d150d741bdfc34f5d28a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 213, 282, 322, 377, 454), for example \u0022Empty array edge cases\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/skill-create-output.test.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"697ea14df17cbaf47d3647bc052cc3a37c520ed6be9a19bf22a7d337e67b8e03"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 28 project(s) overshoot their size bounds, lowering Project Cohesion to 8.6/10. The most over is \u0060(repository root)\u0060 (111146 LoC, 569 module-visible types across 133 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"e22f0298080ab8be303421ba519597e04b45a9b5ab1869cca21a6bc65aa27c16"},"taxa":[{"id":"CWE-540","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":"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":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"0e37d8c3080d3f8e690d19a540a352f863a9d0d11f51431a4df4b2e0a9df4df9"},"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":"c9a07b620185822926ea29d51981f01594564aed341434136bff94c4aff2f0bd"},"taxa":[{"id":"CWE-79","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":"14b94c636bd4d499e79c2ce7473307628748a23cf5d13cb41b54c520fd50a468"},"taxa":[{"id":"CWE-79","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":"953fe0bc7a682968737bfb8fcd6d68926d8b952402d9634fbcd1ab9cdd748189"},"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":"b6d425bced4ba833d2a59acd9b89de479f51c9ec6208a1f9637890b04b313ff6"},"taxa":[{"id":"CWE-89","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":"6c37ff33faa35e8feb0f40a0cc9c0b0581ac0ea70818a936c953a16b4be60891"},"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":"418db296b9f6c72b027b5c03ea8cca53d0ee0dc2b9750fdc7c6753c7dc76ea1e"},"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":"1c4763454ee7dd44d4b6f64541f37aa59e8115f25b4e2e5d1cd1029f05c6e5e9"},"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":"035f528964cf07ad0bb462630fe19acf81582538fc55d83f967997c705edb3d2"},"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":"aff3bb7ae80651461b2fb82df4533f399f7818743e9e3bf514221bd46a76f526"},"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":"f1ee0ca258ac8196183dff2298280711e2f97bf547bd3902934c9d0133ff8509"},"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":"337973b862f0b01b1888a7be4bdbaa8c36aff82d89d55ede31188cc7e6d840eb"},"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":"31c9ad701fca8047d526d63798e3fd05968d1e2e82336ad07c80fe157cb574be"},"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":"1645dabc342593a467f2041be930af8ae5eed9a3283fdca5181499b964b07150"},"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":"fd1a42a6eba5be98347c2abe3952792552b41d64d76f87e6025de6cb4a3df5a4"},"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":"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":"5b2fd84fb958d5cd46109a618749d69f109638962f3ef4962e6c09245496abfb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"75c66333f313e76897c97dfae179cc833f74832d9accc32e431b945fa11c6644"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4044e522eb10143a11aa118ab6ca29b5538b875fc6c0f14846b1a4779345c6bc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"98a2beda08d7dd00b07775a0e9453eb773e1fc083141b9e98ab245d565342971"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d0419123b90169a10c5e43e16cd1e32cb898b0de55703c7ccd44419b432d5eb5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e6790f47092b3d0481018c6e93a66886cb82ef8c327b22114f7747d22cd53881"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d747cb8bf3b2da5fa230c9399a44a1f94cdb31b1986f66955af8e9a8aa7e428d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0bbd5d809144b6a655347e54fcbc5cf4cd49c3e43f5fb60e65fd39639f40bcde"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"bf6ef6dc72fb437b9d44b950a0d2e4ecee9ec6322314293fbf745505ac016fc3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b2f6fda833839a2735016df624f99357f6c449d728962a61116f5879d8f9f815"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"6e8beff1d4d7ee54831777daee22c7c8832cd45871786f0fb4aab93f430c731a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2a912b34ed9ce7922f56c58574ab40b0be7f5ed75f986ebd51ee72ac33b8098c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"524724921b32804c2aa623553f2d9d06e953034dbd36ee715f43e9182e123053"},"taxa":[{"id":"CWE-319","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":"d7e946dc9359f8efbd6bf74317de29443b3a9600baeb1462e0ed8878d47a98b9"},"taxa":[{"id":"CWE-319","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":"6707cb90b3fe27babb4e5ead31cd0a1f21d0d5b27928ef869d2be30d168e230c"},"taxa":[{"id":"CWE-319","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":"0b8ffce8d572487ccded4f6f9c54ccbfd3dc5156bc95b73191a21571414a866b"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"355a8656e5150acf624f3ac408cd5f6a770adb91d632dda8245ff1d1fe0df38e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fe35552bae246ecfd298d137f8bf79ca297fa1a663ba86d200128616063deff"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e19bf86c7c639fed66a7c4059ce629187fa797f1a0ad34d9ab5bec9819e19612"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c989e4e2e670a9e7749423639105fa7c7df090faec16ff9db02eb5e4bea9b8e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23514efebc94234222b1cb26d83d6b8897cf650ca032302baeafb854da111ad5"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b86c380e62c27ad19a50cd43c9aec406803fd7cd9a299331c307121997c85d30"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6f65c19b81dd59a91a9511efafe89be49613ad0ae57f6f6b808688a2b623736"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e1a36024995c01c9db63f36462dad6a9eb411fcddc3b633ba4cf124e04faa2b"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"766c160380987d8e957498421dab661c529102af218160d46a234cb3be598d37"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56ff83a85d900c0a8832d2ba500318023973d9240659c6eb5b444f243b8a94f8"},"taxa":[{"id":"CWE-117","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":"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":"1d6897d8706536c30c9d7fe3e43529996647858b1ad2254a2d312809e5db695b"},"taxa":[{"id":"CWE-319","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":"dfd8fe853733e260ca96de1d8ed6a4c0757cee37446d633d962e3b50da9662c9"},"taxa":[{"id":"CWE-319","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":"838b3782b6921839859cdc101fad9c0fbdc95672c404ecc6fbe043bc12ad2098"},"taxa":[{"id":"CWE-319","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":"8f47e6c54deeeb8ed2c7a33e467b1f3c0c888e7e7dc9a083199eca513d41031a"},"taxa":[{"id":"CWE-319","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":"5c5e3974eae74738f0ba3bbd2507195d6c168b703a190317231754c0a428efe9"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"963f4b07b87906379924d964ec97ea72a116150de507bcecb82f2012c7e19ee5"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0111afbe78424748bfa3a54bfb8dab4c34b11f4a61f2baabab715d898c59811d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c76501944faf99088e1dd204046db54b931451c751d97294908e333bf1a5c509"},"taxa":[{"id":"CWE-319","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":"1dc6c308775c21d50b95e0ddac74da06dc0e59ab71a633e47ddb82bccc978025"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fd7728e4134f788882661f8783b64ce4149a8d65fa568f730073c83c1c6c37a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b26dbd4820d778dad1f94839f6cb3366b56b52eaca907ab0199d16a6218830cf"},"taxa":[{"id":"CWE-117","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":"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":"217fb0b63a86acb84295f7541e19babc187c1b4f4be0a7ac707d3cd78117ba13"},"taxa":[{"id":"CWE-319","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":"2bae245fa67e0d847eb76262ac7ce6bda67c154869e55ca733e3aced7fe9c3ff"},"taxa":[{"id":"CWE-319","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":"51306b7c97aa281db21117b940d71a4babab510eb48d3f7d53740a2730fee3d2"},"taxa":[{"id":"CWE-319","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":"0a31aaeafc1d3f0dbae2903b9fbd908aa957665d42373f86cd883a419d69b35e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f527e105b80b4c58d4d1047eb713ebec98ea90c71af183b948c53fdd79202f0"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d092f4117990fa0eb1c8edb6db3bd2365d3a034858c07523f7fc99b1a8e9d903"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fa284c03b5f01b4fa3358d9a373a40c491669f0e9753f9362526a871885c002"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"709dd7540ac83eb377458ad04d2547c8ba80b3eb2e633f9320d2a09708830d9c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"5d693efae12b0439c19783a7d1e4c8695001383088633266cc47d40a05026ec1"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.6","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"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":"09d9ff3bbb7e668115eeb8a71bf488fcc2e5496fb55c38e23311d696e0e26843"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"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":"172d5bfa0e8dfd0680325aaba20c559c2aa91c34ab1718875c64400124f32047"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.38.2","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"reachability":{"kind":"unknown"}}}},{"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":"9a9b78dfd6683c72d74663114e7ca71e1557a7d2c3fedd290985520ab04c3861"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"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":"bda31d873f649b744c97594cebb044cf980c43f54201d776d5b61c771bb38fe0"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"15cf51d305ab87cf4b4fb4e1bfc36f93e9af983db1c7f11a8e8604f41d781b60"},"properties":{"dependency":{"package":"block-buffer","version":"0.12.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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":"554a002bbe61945542917331296c170351d84b9ee57fea411d7f18b897653441"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.25","advisory":"RUSTSEC-2026-0418","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c91332e44e8a931557396b2c500348b6ddc87da880c4c58e4e587d91722da8f"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e318cc0d29137ca2671628ecff85a84e5b5ae3fb20a852492771ec5f8fd50b58"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"d88f1417175e5a980cef939263e1cd51c5d8f2a118e398850ef1444d539ba3c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87964f1268d3036c6fe088e25c947be0f3d0c23ffe9b72659ab61743d13a0ab9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfdb61e28bbc39a3afc2b273c0bf4f286c0d54ad8598a2675e7b530a767e204f"},"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":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63b9ad8d74a6cafe1e845018a7df2240b304e018e29fc49edef4c16add806b70"},"taxa":[{"id":"CICD-SEC-5","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":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 20: .tool-versions declares Node.js 20 as this project\u0027s version file, and Node.js 20, support ended 2026-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".tool-versions"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fac88ecce9222fb97ec1899fb451aa389ee46ee33b9240eab4a62105362ec"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/10 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060docker/context-profiles/complex-eval/cases/sentinel-api/files\u0060, \u0060docker/context-profiles/complex-eval/cases/webhook-relay/files\u0060, \u0060docker/context-profiles/complex-eval/cases2/event-stats-api/files\u0060, \u0060docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files\u0060 and 3 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 15 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc55482fa992bf95b2f41e37ea0a7b8201a13f436232ac5f9b9d7fc0250dc4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ab129a879aa95f7073a33d2de12e2fb686e3801261a5cc6587ab30a07f6ed"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa69ae7f2b8b148ad62ad541a9ec27e71681b92b641e8f85ec4691a8532bb24a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd0358d0e31f8a0cc9da88e088622927c18e11cd4a7f8a4bc1a32ce4827feb2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc26c1c41af8a6b1f0981a5e6b4784132d6790def88ed4cc89d95445283d536"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604026d1f26c348cb4e1e7449c94d827aba328eefa7d07fc518596ba9211f04"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0afc75150592cfe14e7c46012fcfde04b3fd94ad48480936198a6f3c4a7178"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"841d18a4c8441503e70c33e76d43bb9be860284cbfb065f19da793a0fc22761d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee4a33bbc1bc2f8cb5262970470a2c16870cd6be767cfeaedf19338e3b384ae"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447c08c2a2de08f7858844cc75ca3865e18cdce9b100ebeb7e7c8faef7b6042"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb7b828944bc72358ace8e4aee90bbf0cbc739a2ff75f29024772699b3f5465"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28aec6580e3b0226a66e76ec1fe824a8b6bac9f96e9eea10f1c8442ca64d8b9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"788c3e8556550826774c281d27b6f1e1868b9c5824bb0401053930004ecdbfe4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c220aac3d69444410381727f659f20d65b49d641f19664bff8d965a038f78623"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"29665bdd4744263308caabac2bd6163e3c29a2a296827300d2850f0ce66d5972"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"37289799f2c0452a3309c43c27d4e0cea1be81d17192e458e08e53ad0b91785c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0320d2b2ecbffa6e7980c3e2898ce6b4c37272a4f77321610ad0808ea0c2dd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"404561232b10a4cb12e427a3dbf5d55380e3df2ee2ad57552b1cd315d4d0e710"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e7b22247912bfc6c88bb095255c00f19f6333859b2b6673296d333961a7f0e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9a6a0caef9a76a6c8814d73d0b4cee3881d95f653baa1cbd3260abe56365d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"825716e5a0ddb4ab7cd2c5fbc2d08cbaad72b32228ac9457ad3ac6c995152850"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2a1bdc62c6d12a31d4b59377cb3a02856b5e940ee4d5a1026d11e784096852"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f6238dc3ae3e5beb4f3962894911ab5aa719afaa456b6b4e844c564d52fde2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"573e5e5b27f321fd8cfb05595f541d30fc559dd758274a3ad187d5b328591c95"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660710edcf8dc5dc508bc210dcbd554b69014e7f94eea67ed190ee62f07a35e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35d22eee040c868c6f8bfd5f2b5ab6a533006a5ef1ebbd2ae06a5786b8be913"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ca6dc320e77f2bcb14a2474f87a116e10321294b5a392c9ca7e4cd8cee3043"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bec888a06e90e02fabb259059b8c3543821e63be4c165f76afd4373a059dbe"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3e9af85e8ea2920f257663367aea70f3c46878db2f551dd9f63edde8a43b6e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbac9f003e5b1eab069e6f12e5aa0772c8908c27f5b38509443bac81f44cce"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8997d3fbd05b78a97fa436c2381e4e8c51751130ba1b0573664c3587c24d2e2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"671f3378c8a5bf8ca5cc87980f11dfb5409f9c33765e6cd62696a586a5242f51"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e03e3bb8b1a08805fa3b6222aa9f4d271e1d6cda26c89bd00a2ba128dd273"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c0cbbf2257f772e7c55c5385714c2a86e4f8641f6a2c67feb0cdb85e79fb46"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"86de353cb4c0b9a22da8be6e976be93b15f15d4cdbb6bc4c8774322bc6109310"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e8d29d2ac71cc253bbc5b6c08b056dc9fb37a1937cafb313e6c6a91a48745c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"06db6f6ada9ec3c656ab0f5eb775a7d72750f188e55f91ec5e344f1bf1bb344d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380aeb90e299e3dd4a04f405bfeb637caadae0b4c9e92e73eab804964a4f66e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"de055317e1c13163386902a8b3fbddb441d7b52c0980c96b14c2bfd0b97700fb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c5a571fd6a4c16453a3b319937ea304cddd8ee6664d9b773b99395ef6091ea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dc2d44aaa42c1aee38519136f753d9eb1c66890671769452c2bce1d43d7958"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eae8d8c56b0e9d6808217da8abd0c4935a401df6e1f4c4e9950bb6b405990f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c920849c4e5be7e8c818d9172f1a37a1df85d91d90bf0320e5ffadb3bd2f77"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b53939c3e7c39cd3ff4320ede4bd4491a4dc4006e895a9245339f2715c2d01"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a070b688cb4cd1caabe4fb9be1d9dae266432fc308be05c20bb1b2e800a874"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e0c656cc8709403d39a37e6423eac121eba97ef7864fba91d0e9384f94bd9b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c897ff81418f218ef2e679b03a2a217c165536bb8a069ee1939e5867d002e4f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b13e85e0d9061be3ba7c909eddde71afff1093756c68f8b4c0796c851e74d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b89e3095cea395fa6bbecfb512cfa9c2cb1b99ae65945ee2d73df25e4a016d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d913224daa8ddaf8f73f9524cdd54acfe8792be151f76d53972327e23d700"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8648bb22958064c1e721f41a062fdeafe623a0cc30f590a56168318668641ceb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"skills/taste-application/scripts/tasteforge/assets.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9bcb0ea146cbabae5efcbd681a779c182ab9620cb7011b15cf78feb9753087"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b91019ba82bccd59ac493b819782999d0f974271fc8b2097eec06163cad9ca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0add30a3d62cc37693bcac1df876bf2c72026aef05a0970ea7ca71da340eb07"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to map\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8492cd3d5cae7b5b05417807ec4b495b8d8a03baf00c5fafa27ad755e3ba25ca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e5ba1b704fa6320ba0dc714fca22993eb72c7f19ecd42f74706df9d93e1eb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a3d8b754a4f40dced94f223c3e0cd530555307d131f0196db18e070da305e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b641db26a7a9a57f9aca0061337ed4fa4f87010cb98a01dfe19b19556d4ae47"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1baaa92c959bc177f9656f628db1811b25eb5b465fdcc127d489a75b8c6e5e7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec88b2afd461600706b2df247357c25a2779f925342ec544849ecc9068fe0790"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af3bf47b87a594176948221e9ace4ca022145f774ff507b6d4973ac0530c1e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to every\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6420c9483fdd9eabffc8cc89eebc9705da113266b592718f40abf7fd3d4e87bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08f75c8b39dd20afb17d644b64718322d6ecde0fc57fc82ad261e72742458c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff5b4a02bc01f033b41a1a32b4c0ac40929e343abc6c1b690067366e0abcee8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb3f5b2f191e193ec9b8373d9b488fe0e9ecbf206bed95d7ba608bfebcb33bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99cd1f5c628d4daf23f7b13d37edf3514d940e91b465b534d021d144fa60639"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40d3ae24b69b49572142831a21719b885d8a7cd1c820997a4fd08fc2c76f2fd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a661a453bb05325f2def7324c1947ccab8be1267278a2357ba2b4f7c5c6ac"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e1bba84f1a4fd28470dd42010c693a409e992427baf7603df78c21b500cb0d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d769adcc74aa3e772d6cd865895ca4cd52baf2a835275db52f0a071152c5393"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"db06b0aed4dc5f0ffa15bbf6cecc0d305c56d58022faae4c264a7f10310dcbba"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe040df90777b09e75b439d313435522a4e7d91dc106c4cc5856226c15cdb5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01b1b1b8d6ce798adcf2019df12235d6107a6138d6034f5728ca74277b0564f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"588f9063054988a0fbddf203823aeaf8d548cc0efd1e3e80aa39ba099b011856"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0aae44d8f48a6459dc9eeb29919fc30bdab04ee0829948801f38a2d90f8e88"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936522da29d1575e6e803f08a2d16a407928f5754ac6226bc653c18e055b953"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba8d9821a2ad0ee2097c237946338621f80060102bfebf3c338db126ed56627"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cafa7d108ea1bea89b97dc0c055fd37be6797db14365207ed960832c3adaca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eac49643c3651d1c0d960f7ef76e3b3f31433868b8885bb2c5c3e284442f0b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa50424aaf5760326e130ff497783e544d52058748bd0bce75465eec925d233"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2435f15e472321358de52ec444a4524464e8367e6c9487dc8db4928af11c28"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c16106ff63bcf28927600d868ab1fb939bc7a8081e052370039ee5ae939f317"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9362b4acd9d5359df18e6fa168bce8bcbf51d44e9dfb9a35ccd6e84306c3ff3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a3866d30f3ef314fd6dd2eca3d4cc848420d3fdf0672fcf1eaf92a77563ab5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2afff4bd63a4ad705cf3db34f7c3bf469ed99a061b7165845344a320f8bd082"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"09692b2241ebf4f43a6a094c4d1a182346269356abd6abdb9c0ccffb465a8092"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74b90d4661ae159e4180faf1358dbf5c8bd6e89105f4ff36d6fef1a8bf15ca6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5545cc3fe2e26161c2137fd03cc894315c4929463b50e1cc35ddc696019091"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe99c0219d0078e8d3e77a28c3a101752ba1f56cd6ad9bdcd86f4a30b517a9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"642e5b5222a87f75eef1b07a89f3039b52540fa8fe65ce6195411722cfd44d14"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227ddafe0cd852618ee5241ee8cfb86124e9780ee2b31c7412843d62edfc723"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"95298827b0e931365dd48c0770a20d0418d67af9cc73b44391988f13ea43d37c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to every\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8795189cca66e3f3bd69579feaacc9fa7035400b8d753a6acf23fc05f55c57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1551d9b503294fb869affb342bc513aed59d301fb2aa9a4094d6bdb5f729e917"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd4d7eb4dbd9944eec8f2b7738564da54ce95c65d3268c389d22d48cb2d07a1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105908dc6dc7af71e2601716489cc169f08296ade2cd7b35baa1f68d9946bc6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5974c4fcaa62cb86ffd7db95551b27e3ee530f6874cf1146be456f6f309219"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3603f57823a6a43cf130162cb53de51f3f342514cfe919283fb62f8b7d54fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"86564a800bb97eadf64cc1fcdb78cfecbb812fa67a1369f079e4fd0d36f39d9f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dad5a46a621b548e3a30e6e1018f8c4c059ef90b7393f4b9ed91cb89bcb186d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5fa195f6bca84fd2dcd0bd9a5d21ce2979545267714d2d70a3f04fb918ea76"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a8e90bc2ef3b57262e2b9621ee8e99759a8b3371ce9b4b16cdbb1f718c3d1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8733c9fa45a9f75863fbd0b5a9823356057fed2719e55355e038c41a3ab08026"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b368e88c20802f9e6e9033a79a41cf6d0105d4e0f27e1e3ab19fb9e83ac571"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae698f16c74542acb596cdbc7a3d146f29e554e0a785f5a905e306e46255f14"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f125a58dd9da8d7009a1d89d11a99c06b9ba980f0fc3419398eef154f77b216"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20b25adc7dc309f4b9d8b1055a501781344597e7a240a235c47d0b2aae9fa3d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b57f59f21656d73c841231883dc3e79015dacdb0b2b880472b161012ae21d9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5140134a9374d1137803cc5725f4de2cf7d5c8d4a10fc024e617399d8c4f00a9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4ec20f42893df72593d3be57925c055ed97e04213cee58f95ec0e37a0334d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc82d99d3bd3f25cb62424c3f398eeb0e08d327435c1d8638a2946e3b35303f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba9953c2893f3f9715e7f28ec4d1d9ade3a6b84b9548146ea6fd35a35a9097"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340071f4ef6254ad0ed16b339f19ecdb47ef90a6115e3ce76657e381c1dc1ba"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3ecabd2f938f477d2f002c378b836368abf603ab51e29d2263e2c8a55042b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477c512661b3e7618a8cc7748647c4cdd73ef84b90fe7f094568fd70031247a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c030e928b494d114b5e28c155afe721e53a86d518e959dbfb02f637990f15b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce8af5b45fff4912f0f88385106552b280e27e5b45a7f74d3011f5ade2a131e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36dd0edecd0d53b462970b4df4228fc7ab4d5eb09b8f40af165245f9039782a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"784b71db4fd204b47e279fc9b3b67846b58ff57019a6fa5321180ea72c245dc8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c94cc19c96988864c2a71907b1b5937d58de8eeacecac0afb2403c60e6ac5a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"25407a0fdf252d613ff90766d2b51b308fa08767cd2c486504d8e18f0b0ed434"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdadb83a2885ffb33a8429c8450ce153653a98a8f6946cf73a7dd682817f33f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1a56ffec1f1d57afea908c9c65cd1d45d7f820c0bc816753e476511028c1c0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ce8a143cee062b3eef88676401f669d2d7d00d1a5aa02af478cb903b63fc2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c50e44d032f317c27bbbf53bd6dfef71296f0eeff1652e88fd15073cddf495"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5590d3f4b932595f8ef499b63684b809ffd20029ffa00804e1edefaa31f4e187"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"18400dc844640ce7385a574ec675dc5640db61c481313cd575291a7d0460fe5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.copyFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ed5a585363832b21e224eaa875dc28ef757bbafecdeb60d856df86a158d7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4900d8f5c70828275b50783ef6ffa69312eb95c225c777a557a5df28ef56f63a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de542f4b40c3a821e66d148a39cc36bcaf82462c1866f5045c7c3763f86e963"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"701c27b1aba81c4142c3769fbe6375ce95d45fbff8dc6c67a697d5b46da3a73a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"190f3f80207e5c18dad30c26a3b3cc48568fe0057ca9a40a0bdeaec01fd1db1c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b45a15c0967748a7f6f15b0f9976729c90ad700776984e05c7e13a94118d940"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060run\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b7b7249bd7068508d5fb7abe629d1cefff08d0400eb6f8dca536b3c6dd0a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.appendFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4776540e1a4284811e655d365da288d6b705b74507aac67c9611656b099f290c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060runCorpus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4341e12c02a39fd1fbac76aaebde52fccafa99720ef3a01187abf732d54f65be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060runCorpus\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e692e4b821a793750902b11cef304b9de58aaf089c582d1005a75bc75fc38c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060evaluate\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb661d12ee4a3f682dac57958f70e6057f12cb834349002268907cb35c81743"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060evaluate\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"18259e5f52f142a25298c9666d5184e24ddc853a5668456f77acb025d3c3e321"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fdaa969a9dc346caf0dc0f3e8c2edba17a48ab4e4c18d56168dbb286338b90"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to http.createServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/server.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbb7bf3bc2a4230414b2c2f6b7bb012e0012e3a4438a692dc1eafed0f491b4f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to http.createServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/server.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7841b54cd8d996c4d4fad18e546d9dedda3467ce286834f7c272d9889115c7b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060openSqlDatabase\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa21df1a6b55eb34a60709e6493b0f921d242807af32a84311683ceb777ba8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060openSqlDatabase\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da4f88767ca6439c75366c028c7db24dd062934c700644fa37f973aed4b05f7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildControlPaneSnapshot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e770490e26d4b1b5ff1827334628384cddd46c47920f1106d4d3f5348684071b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060buildControlPaneSnapshot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d132a5716371e084f365af97eba57216a6afae23f7a66be3a6b222568448a952"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060installNasiko\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5567bbe68d68be8c14623df4924d269227d1b363e6028222e2060ae27e912d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060handleApi\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ad9ba7ddc1e3e4930b99c75aa50027bce58053d7ddcf4834114ea0c9634c07"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060ensureServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0172a1702152408e121ce716c6ec2c9074993d856e3a6db11fa4556cb1993d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060ensureServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2898685abd7e0c351812c13e8bc0efae85011e1b7bb8f409b661420e3ce751bd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060ensureServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ebe15e58a54511c0bcf04658b2455ab5e641a0f3b8dd069b6c1c5ac719764"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060cmdOpen\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"429f4aaa9c80f041791896d7bd4cfaf36dc787517836783bdd1ec7f413221f46"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060cmdStop\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfee7cdb576cf4494b250c51a4b3b895140ae7e77a63f932db101fe8f999ac7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060shutdown\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079f6d26e37df6004a80ee791a946f6a67b12e38870ab49bf707f36e15a767b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060cmdServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21977e01d9d31c95de44ae2b05be6a7f856dceed16d7c2620d3bf1ea3c6ba93"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060cmdServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"879af3ee8eec45b54a6dc4494dc94c5c0297c453fc66b939e67c49bf35572683"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 4 typed \u00B7 1011 plain JS \u2014 the untyped files are docker/context-profiles/ai-eval-lib.js, docker/context-profiles/ai-eval.js, docker/context-profiles/complex-eval/build-corpus.js, docker/context-profiles/complex-eval/calibrate-stats.js, docker/context-profiles/complex-eval/cases/incident-triage/check.cjs, docker/context-profiles/complex-eval/cases/incident-triage/files/src/inventory-client.js (\u002B1005 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (31 identical files, ~848 lines \u00D7 2 trees): docker/context-profiles/complex-eval/cases3/ and docker/context-profiles/complex-eval/cases4/ are near-verbatim copies of each other: 31 files are byte-identical under the same relative paths (~848 lines; the trees hold 32 and 48 files). That is one structural fact, not 31 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05720b78e8252f80c4e35b3f769cdf14beb25af001503481077da18b164b08"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (15 identical files, ~674 lines \u00D7 2 trees): docker/context-profiles/complex-eval/reference3/ and docker/context-profiles/complex-eval/reference4/ are near-verbatim copies of each other: 15 files are byte-identical under the same relative paths (~674 lines; the trees hold 15 and 21 files). That is one structural fact, not 15 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/test/links.test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d3a238e3689af6e6450bbea9f6bb1bb427ae8e847e266577a076f2a612d6cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (24 clone groups): 24 duplicated blocks under docker/context-profiles/complex-eval/ have copies in at least two of the sibling directories cases, cases2, cases3, cases4, reference, reference2 (\u002B2 more sibling(s) not listed) \u2014 23 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 24 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 24 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 24 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bb3c593b8532c959cb264e9ff54d3f431e7efd6308db2628578fc75dce9367"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (22 clone groups): 22 duplicated blocks under the repository root have copies in at least two of the sibling directories docker, scripts, skills \u2014 19 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 22 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 22 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 22 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b654e38da6bdfa434ae0855a47c1b79eeb1b0ae5ce5ac16f3220a7079fe5b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (18 clone groups): 18 duplicated blocks under scripts/ have copies in at least two of the sibling directories ci, codemaps, hooks, lib \u2014 13 of them are reported below, and 5 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 18 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 18 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 18 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"799d2a78e33f64ea147aceb7fb7519df887205ec21fd5fdabbdb5393e3b16888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (7 clone groups): 7 duplicated blocks under scripts/lib/ have copies in at least two of the sibling directories control-pane, eval-harness, install, install-targets, skill-evolution \u2014 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40a88453296df4805fdae6488821b8d2e842178653e1a5bf78551536a40187"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (200 matched lines \u00D7 2 locations): scripts/preview-pack-smoke.js:91 \u00B7 scripts/release-approval-gate.js:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 1146 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/preview-pack-smoke.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1d1dab6881906b7f63a915d2da21171b0ed7ab7406d1efc8b31b60a90117bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (192 matched lines \u00D7 2 locations): scripts/lib/session-adapters/codex-worktree.js:12 \u00B7 scripts/lib/session-adapters/opencode.js:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 1189 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/codex-worktree.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"136aa36a7b2443176e6de021e260f4a04d0e7f4e0e8db9cf3c834f72aa09ef81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs:20 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 1314 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e131408bf751364f05a0508df7e56d21b9dd6bbf6a5cc4de2b3ac4fa2a82aa76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (128 matched lines \u00D7 2 locations): scripts/gemini-adapt-agents.js:31 \u00B7 scripts/qwen-adapt-agents.js:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 791 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gemini-adapt-agents.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"11048aedfe5ef734407a0245bef64a6ce6d356b07ae2c2d54b4b6ba91e2206f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (122 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/run-intent.js:51 \u00B7 docker/gateguard-effectiveness/run.js:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 1310 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fbb1d39bbb4cf900c1ab5e1edd5f26ece8138044dca95666b9afb501ba657f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (109 matched lines \u00D7 2 locations): scripts/discussion-audit.js:217 \u00B7 scripts/operator-readiness-dashboard.js:965 \u2014 the two spans are one implementation copied and then locally edited \u2014 607 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discussion-audit.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"60039ae760577e4ffc695ba6f30f40aef4a52060ae6136b056968d3738d5f7eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (93 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/production-ready/check.cjs:4 \u00B7 docker/context-profiles/complex-eval/cases4/production-ready/check.cjs:4 \u2014 these 2 files are line-for-line copies of one another \u2014 93 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdf9a21162ed09aa4fd765179b368c8927332dc880f6b60ed62a2308cf7d70e"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (88 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs:5 \u00B7 docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs:5 \u2014 these 2 files are line-for-line copies of one another \u2014 88 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b858dc7e9c67a68459e24393c78a4b1f0281fdc44ae7f0689bd3f613ab935756"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (79 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs:4 \u00B7 docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs:4 \u2014 these 2 files are line-for-line copies of one another \u2014 79 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c04ad900aeb5d858b6bab307ac06342c17026ec291419b9ce1784c474691ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (77 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs:3 \u00B7 docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs:3 \u2014 these 2 files are line-for-line copies of one another \u2014 77 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e43cebda544559e27b02400b109ca31f949eb813203186fd58923033faba54"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (69 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/reference3/production-ready/src/app.js:2 \u00B7 docker/context-profiles/complex-eval/reference4/production-ready/src/app.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 69 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/app.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fb12f4376b6857a9a6fe14e587dfb0a3356a1c7dc9ddb89700220e901c7349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): scripts/discussion-audit.js:65 \u00B7 scripts/platform-audit.js:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 428 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discussion-audit.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd0882b8d59f2bcc5cf1789303122c3cfd9d2bbe4a67aa1172373837c59ac47"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (67 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs:4 \u00B7 docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs:4 \u2014 these 2 files are line-for-line copies of one another \u2014 67 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b674b4506054c15d20bf40b1edbe30f6c9579f5d83cc973e8b4e65034234865c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js:29 \u00B7 docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 538 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f665bfbcdd633ce3df64ba3e2c5b63537fe857d4b03113a1f04c9170a04b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (62 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs:4 \u00B7 docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs:4 \u2014 these 2 files are line-for-line copies of one another \u2014 62 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc78079dc7b863254a154c5d4b6eb6e3dd2019db0fb796f4b6c63e8372c00f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): scripts/lib/install-targets/claude-home.js:15 \u00B7 scripts/lib/install-targets/claude-project.js:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 326 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5559d5714c748ec475e5a9e77eba5bdd3c2b35c8d989af62391244f6735ebd"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (59 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js:2 \u00B7 docker/context-profiles/complex-eval/reference4/idempotent-webhooks/src/app.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 59 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3cfa7e70b36989041b39dfbdf890002f036187a2393bed575ce21c04eb7dce"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (56 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/reference3/chained-tickets/src/routes.js:2 \u00B7 docker/context-profiles/complex-eval/reference4/chained-tickets/src/routes.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 56 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/routes.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58fe98859bff16222b08698824255d81c81920e401f883e0ba89a81e9ce6d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (56 identical lines \u00D7 2 files): docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js:2 \u00B7 docker/context-profiles/complex-eval/reference4/chained-tickets/src/service.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 56 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e57b62f72e1ccf437a792ee08d221935786764dbd090b5f4e56f6a231ca371c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): scripts/repair.js:20 \u00B7 scripts/uninstall.js:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 407 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/repair.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4106563047b44e73ee1e79f56f53952cd31e46c1277112b4b520dfb3932c8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): scripts/ci/catalog.js:251 \u00B7 scripts/ci/catalog.js: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69521309bc34a980c1c19a7606a08e4fa1f73cd69ce6b61130d2a749a62b934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files/src/app.js:8 \u00B7 docker/context-profiles/complex-eval/cases4/idempotent-webhooks/files/src/app.js:8 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files/src/app.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0363958acfcc6a9fc5dfa3419a37167a087996404349eebc79e18d1c80664188"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): scripts/lib/install/excluded-paths-reconciliation.js:116 \u00B7 scripts/lib/install/opencode-legacy-migration.js:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 300 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/excluded-paths-reconciliation.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3762930f28b96e3e2d178f0fbc93752bb20d5c18f6799521d61459e3d4341"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js:8 \u00B7 docker/context-profiles/complex-eval/cases4/production-ready/files/src/app.js:8 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"57995e9300bd72cf607b5760018782af35668edc4111da05e21888e46ff9315c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/webhook-relay/files/src/app.js:14 \u00B7 docker/context-profiles/complex-eval/reference/webhook-relay/src/app.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 328 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/files/src/app.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e72c076e3683d88b7698849f49767093c60f02fafff1d90134f033758d0495"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): scripts/lib/shell-substitution.js:195 \u00B7 scripts/lib/shell-substitution.js:287 \u2014 the two spans are one implementation copied and then locally edited \u2014 258 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/shell-substitution.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"671086a103eb6a03e8d3203ef575dd0557e79eab32bafc3370886cd217457715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): scripts/ci/issue-submission-guard.js:80 \u00B7 scripts/ci/pr-burst-guard.js:179 \u2014 the two spans are one implementation copied and then locally edited \u2014 390 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e39be8656ff40c4d8d296e1b1888cdd6eac09c25061a7933d853f3d2f1ade06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): scripts/hooks/pre-bash-git-push-reminder.js:17 \u00B7 scripts/hooks/pre-bash-tmux-reminder.js:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-git-push-reminder.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb8b88097ddcfe6fb7ef610bbc925e2872183bd6f295962447c19fc801c4971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3 locations): scripts/lib/install-targets/codebuddy-project.js:16 \u00B7 scripts/lib/install-targets/joycode-project.js:16 \u00B7 scripts/lib/install-targets/zed-project.js:16 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/codebuddy-project.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a549cb42219cf483a4662cff9a0f11fd407fe5c0101bafddae9107e91524f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3 locations): scripts/lib/session-adapters/claude-history.js:120 \u00B7 scripts/lib/session-adapters/codex-worktree.js:311 \u00B7 scripts/lib/session-adapters/opencode.js:275 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"428d861d2678dcc30e60d6891be0709a048187aa96953a67bbcfa5bfda9d52b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): scripts/lib/github-discussions.js:15 \u00B7 scripts/platform-audit.js:222 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-discussions.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6ac806bed439f91f4747455592ba80ec8f4bd1b3a6c9b592de775560b99af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): scripts/ci/catalog.js:495 \u00B7 scripts/ci/catalog.js:584 \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":"scripts/ci/catalog.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d3ffd9cf432366a53ec8ee008b4c5d6bb88790216f0043a1763064d3b66627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): scripts/harness-audit.js:129 \u00B7 scripts/observability-readiness.js:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 146 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee02451995ee27a5dba8910d71ed45160e7d72249c0d18306848f660ae5489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): scripts/operator-readiness-dashboard.js:29 \u00B7 scripts/platform-audit.js:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a138f8d3934844ac95f439bf5a7f231031ef1472e97a6dc4cedac057e6425c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): scripts/doctor.js:17 \u00B7 scripts/list-installed.js:16 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/doctor.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"396381f9efb04997c99632a0fbed77751afd494dbcf11a11bcd933ea63ee1347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): scripts/doctor.js:89 \u00B7 scripts/repair.js:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 167 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/doctor.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abd2a0f9ed39d9c41d473d2308b6a36d44d35ecdbdcbf948197963d7f006e36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): scripts/release-approval-gate.js:178 \u00B7 scripts/release-video-suite.js:442 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa8839191ffbf8a16f598e11ec5b79417cb43188bf5256a0e6d6b2af521077"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): scripts/ci/issue-submission-guard.js:31 \u00B7 scripts/ci/pr-burst-guard.js:143 \u2014 the two spans are one implementation copied and then locally edited \u2014 269 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4aa854920ff981e57abe0ebc71a7e9d46e1d8cc86fef4a62bee1660430ead0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): scripts/observability-readiness.js:58 \u00B7 scripts/release-video-suite.js:416 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/observability-readiness.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"37052db8c6a41bd5e3aabd601e071f9a077e5998dd521e9eebc3ae7dbe10ebe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): scripts/lib/install-lifecycle.js:955 \u00B7 scripts/lib/install-lifecycle.js:993 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa744a72878bec2c17f6fd5a141317d0273623065e6c0983990380016be0e43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): scripts/discussion-audit.js:28 \u00B7 scripts/operator-readiness-dashboard.js:29 \u00B7 scripts/platform-audit.js:37 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discussion-audit.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79224d016dfe20bced483748084acceeaca2187bc3d34ba5e222f3804853ffc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): scripts/hooks/post-bash-build-complete.js:14 \u00B7 scripts/hooks/pre-bash-git-push-reminder.js:17 \u00B7 scripts/hooks/pre-bash-tmux-reminder.js:22 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-bash-build-complete.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea477dd80ef01baab2e9997ff74385158f0b1907b2b863c6acc66d8f19a53127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): scripts/plan-canvas.js:127 \u00B7 scripts/plan-canvas.js:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ab6e324ab0b029b645716decc04e641bf795ce614efd431d638df40ed4bef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): scripts/codex/merge-codex-config.js:207 \u00B7 scripts/codex/merge-mcp-config.js:200 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/merge-codex-config.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"445463f951b37b905802256666c92065fb3cd1bfb9e7639474ad72f36d72a51b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): scripts/list-installed.js:19 \u00B7 scripts/uninstall.js:31 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/list-installed.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d297446d3b2b2edf1737e7a06848c59293b9a19c8dc92f9c9e14c89bfecdf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): docker/context-profiles/complex-eval/reference3/chained-tickets/src/store.js:7 \u00B7 docker/context-profiles/complex-eval/reference4/chained-tickets/src/store.js:7 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/store.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f9c75cd7ee4fd525f6b5101603c88ec285e54c8fcedd77c3fe3b56ef50a1d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): scripts/hooks/observe-runner.js:23 \u00B7 scripts/hooks/plugin-hook-bootstrap.js:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 128 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/observe-runner.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32392cdd419f8998cb071319e604a563d0137dd04267e48d9c9b7479095fe29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/hooks/post-edit-console-warn.js:45 \u00B7 scripts/hooks/post-edit-format.js:87 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-console-warn.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f7cc140f9aac6495d9d3c6b9155624847bf0a2ae2415f466b7b61ef9030809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/lib/control-pane/state.js:242 \u00B7 scripts/lib/control-pane/state.js:263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2fec5efd5385683dcacf8933dcf93422a118736ebe7589ebacbed45dd92dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): scripts/lib/install-state.js:256 \u00B7 scripts/lib/state-store/schema.js:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0922b66f7b51cc2fc954560a0a3f8b7d913f30fba438a7fa93853d9d6e9a517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): scripts/lib/install-targets/antigravity-project.js:45 \u00B7 scripts/lib/install-targets/codebuddy-project.js:15 \u00B7 scripts/lib/install-targets/joycode-project.js:15 \u00B7 scripts/lib/install-targets/zed-project.js:15 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/antigravity-project.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"581db6143b765ddcc440c80991a0a9acca70c2b91c9fec328d6ead148b409985"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): scripts/ci/validate-agents.js:60 \u00B7 scripts/ci/validate-commands.js:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 124 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-agents.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ab9ee11fab0566ddf2c1fecff38ade839dcf917a141b6eee2d945b96466db9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/hooks/plan-canvas-pending.js:54 \u00B7 scripts/hooks/plan-canvas-sessions.js:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plan-canvas-pending.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7f0170308609bdb0e919867fa43f924ba33ee06a66f5e801605536b255be2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/lib/gateguard-file-context.js:536 \u00B7 scripts/lib/gateguard-file-context.js:676 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dffe6d390fc81fe9c0c1d4d2910fb01cee0f8f41f9608cc3f910aab0520a94a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): scripts/lib/install/claude-settings.js:127 \u00B7 scripts/lib/install/claude-settings.js:194 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53eb4092b94d1cec4a9d6ef67eca4b5305d1b6e0026c530b778059e60ef7ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/catalog.js:90 \u00B7 scripts/install-plan.js:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c19f69b0f6b4e39f2e619e0026744697267e254f6cd9c208e6942bf3683bc2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): scripts/lib/github-coordination/gh-api.js:37 \u00B7 scripts/lib/github-discussions.js:18 \u00B7 scripts/platform-audit.js:225 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/gh-api.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec8a1ca85b4e3e17756baa36e78e5a7ea25c67337f1ebb010716181df8d6dfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/lib/install-targets/antigravity-project.js:78 \u00B7 scripts/lib/install-targets/antigravity-project.js:113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/antigravity-project.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"961e1583267c8b2f6e2ff961598f31642423802d7903a84cee7f8616ee0ef288"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/loop-status.js:29 \u00B7 scripts/observability-readiness.js:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d092c110f0e339417c333a0ace8cbbabf640edc81538bb9fe7a597d7fb0497fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/orchestration-status.js:41 \u00B7 scripts/session-inspect.js:131 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/orchestration-status.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc644e299e0054267374cba70e28f96cfbac5da266fbe4e551e25516dc1c17b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/ci/generate-command-registry.js:297 \u00B7 scripts/ci/validate-skill-host-compat.js:469 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/generate-command-registry.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e180fbefe4dbfc7afbbd52cfd4e4aac246034077d714471185012c73cd480193"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): scripts/hooks/doc-file-warning.js:79 \u00B7 scripts/hooks/post-edit-console-warn.js:48 \u00B7 scripts/hooks/post-edit-format.js:91 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/doc-file-warning.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc92092dfb02b068b86baefb7afab3837484b6cf5514da571c1e26b5e238c211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): scripts/lib/install-targets/claude-home.js:57 \u00B7 scripts/lib/install/inventory.js:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 155 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2f4fa804e4bcec3ad52fe4e0524abe6a35152ffcf534243ef03c0d8d97914c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): scripts/lib/session-adapters/claude-history.js:140 \u00B7 scripts/lib/session-adapters/codex-worktree.js:332 \u00B7 scripts/lib/session-adapters/dmux-tmux.js:70 \u00B7 scripts/lib/session-adapters/opencode.js:296 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2640d2f15b769ca7957ffded9c908c71cd396f3ee60bd7649a387a7ea1e577e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/sessions-cli.js:165 \u00B7 scripts/status.js:534 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sessions-cli.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa051083fd441157d110946cc61f2e0c710d91b8880c82e58cebd6fe45e3cb24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/auto-update.js:30 \u00B7 scripts/repair.js:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c48ca129c54e027003a9cd3bf4a90e97a102321770771bd96d154178179251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): scripts/ci/catalog.js:147 \u00B7 scripts/ci/catalog.js:197 \u00B7 scripts/ci/catalog.js:221 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc11a0bb3ad3b3acf5ca4a2130b8938c86948de2074f32f7ed67496b0344b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/ci/catalog.js:815 \u00B7 scripts/observability-readiness.js:444 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b099a6c5729d331f7331ff6a6f3c9a57117045961e18485d6d66f10c491916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/consult.js:480 \u00B7 scripts/harness-audit.js:1078 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/consult.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8020b2ce7fd7717cb7f53c907b8eaab9ecb81e5560effb216316ec100b46f3b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/hooks/desktop-notify.js:238 \u00B7 scripts/hooks/stop-format-typecheck.js:255 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/desktop-notify.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f37a34c1901af9bdb9ee13429400cea761da3be28d5ed28eaad2b88d1aba7e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/hooks/ecc-metrics-bridge.js:259 \u00B7 scripts/hooks/post-edit-accumulator.js:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e8e971e970b3f5136c48ad3028c0a484dfdc0985e3e53cb69e06d9b17f7ca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/hooks/governance-capture.js:337 \u00B7 scripts/hooks/mcp-health-check.js:126 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/governance-capture.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2125f54dfcd5f9ec8142c4bcac5cb054e6c8cd6a662543068e106078516ff0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): scripts/hooks/lifecycle-hook-bootstrap.js:108 \u00B7 scripts/hooks/session-start-bootstrap.js:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a51218a8eea6a50a00da77ddde40e3bbbfc4dac71748e89b5cef200d36afe12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): scripts/hooks/session-start.js:232 \u00B7 scripts/hooks/suggest-compact.js:86 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8222935f36459ce41c0ba7a16487f3a61ddc5787399f68cfcac9a3e838a80e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/install-plan.js:94 \u00B7 scripts/lib/install/request.js:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-plan.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"265e78d911bd633010f103fb606a200f7276c523a9ff3d00cf4d3980019ee311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/lib/codex-plugin-setup.js:169 \u00B7 scripts/lib/codex-plugin-setup.js:212 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-plugin-setup.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fcf1ace39cf270a56a0c9917a1ff2f883b25c1f453b543f49be4e690e44ec2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): scripts/lib/gateguard-file-context.js:557 \u00B7 scripts/lib/gateguard-file-context.js:695 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1936741ef56849af1f0ce4b85bb5a9439ad0442f6af49bbf52a3269610c0ff18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/lib/install-executor.js:234 \u00B7 scripts/lib/install-executor.js:397 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-executor.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e9b98001712db76fe4787c372972cb9af659653af9e57bf7f4d7359787b9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/mcp-inventory.js:87 \u00B7 scripts/worktree-lifecycle.js:145 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp-inventory.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e173c276e2c1489a03e76f2d4a1e2cf19048e9df830abf8fd34f23413617ef2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/work-items.js:492 \u00B7 scripts/work-items.js: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":"scripts/work-items.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff24816f4202f99af82377c65ed2743bc26eb75298547078f5c6284ee9a2b3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): scripts/ci/issue-submission-guard.js:120 \u00B7 scripts/ci/pr-burst-guard.js:229 \u2014 the two spans are one implementation copied and then locally edited \u2014 197 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dea58d7039dee145c9a970d43844a5fe0bb6427abaa9245056fb22c2493963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): scripts/codemaps/generate.ts:72 \u00B7 scripts/loop-status.js:177 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemaps/generate.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5ac65560bd342a1ed1dc32be244f835f46a976118d7219c05e1eec2a64ac20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): scripts/harness-adapter-compliance.js:108 \u00B7 scripts/operator-readiness-dashboard.js:1082 \u00B7 scripts/preview-pack-smoke.js:320 \u00B7 scripts/release-approval-gate.js:532 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-adapter-compliance.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c6db6fc94a576f26b6c54438157b4172185268605c20e72bca33ce449bb9a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/hooks/ecc-context-monitor.js:64 \u00B7 scripts/lib/session-bridge.js:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af91d323bf49ce9a83ef2a69890eeb97cfb5458034513c984147e838d1f0bc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/hooks/post-edit-format.js:97 \u00B7 scripts/hooks/post-edit-typecheck.js:22 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-format.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f18fccf50aba91c139122fb1e099da05cef1cf4a8b9af0df01d73523298eff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/lib/install-executor.js:84 \u00B7 scripts/lib/install-executor.js:196 \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":"scripts/lib/install-executor.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e0f10fbfbdec55b14395d094fac00ab553779c7f067bdbd73bb9807eaaa3f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): scripts/lib/install-targets/cursor-project.js:20 \u00B7 scripts/lib/install/inventory.js:55 \u00B7 scripts/lib/install/plan.js:125 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/cursor-project.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20341ab00163e4959c4c5540bfff8a3d2c4607b06c2940e152c42ae7251d0e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:21 \u00B7 scripts/lib/install/opencode-legacy-migration.js:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b277b263f62e6a876eda0311a40d337bb3bddbf6e47434fcba598a7a1526580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/lib/install/apply.js:198 \u00B7 scripts/lib/install/json-ops.js:85 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8734705a324a05dd533fbfe9cadf63e61606bc8fd7009f4199fd10d02b7363f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/lib/session-manager.js:90 \u00B7 scripts/lib/session-manager.js:181 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"569c677d0fca25837435561e096f1cf540f71de3c512ce97ed78eace7bb90432"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): scripts/observability-readiness.js:19 \u00B7 scripts/preview-pack-smoke.js:91 \u00B7 scripts/release-approval-gate.js:104 \u00B7 scripts/release-video-suite.js:336 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/observability-readiness.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3153e3de9149c40260d37ac929feacc2ac504a0e1c90554562c2066ab14ee36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/release-video-suite.js:546 \u00B7 scripts/release-video-suite.js:605 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f204417fa36fa0c9abdaec4f43d6cc451213c13666a5f368b2929c13b92660"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/status.js:537 \u00B7 scripts/work-items.js:581 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e97f1ad4c05d9e781ee08ac167e07d8d51cff0d8e8d7961b6899b783ec9fe04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/sentinel-api/files/src/store.js:9 \u00B7 docker/context-profiles/complex-eval/reference/sentinel-api/src/store.js:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/store.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a5d1896ca1e4d616ca4963986ca8a2d0bfcc0d1fd8c0d7bfa9dd593bf3095c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): docker/gateguard-effectiveness/run-intent.js:375 \u00B7 scripts/dev/gateguard-latency.js:219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8c207c8b07fc8e60473773e0a6bca5f4c8537d3536498ccb15fba7013689ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/local-callers-normalize/naive/src/inventory.js:10 \u00B7 docker/gateguard-effectiveness/scenarios/local-callers-normalize/workspace/src/inventory.js:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/naive/src/inventory.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"03accdbe967be2a0becbba378e21a5eeb85ac2cd25234da31bf834412f977f9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/harness-audit.js:148 \u00B7 scripts/harness-audit.js:735 \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":"scripts/harness-audit.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f01ce0d6816552a4a2964975492d9bc588a29a034d2088b5bedcd5272a18e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): scripts/hooks/check-console-log.js:43 \u00B7 scripts/hooks/doc-file-warning.js:80 \u00B7 scripts/hooks/post-edit-console-warn.js:49 \u00B7 scripts/hooks/post-edit-format.js:92 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/check-console-log.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4b33a893a968aeea99280cbc67124a87053df6f09355de4219f0f8f8c2ec2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/hooks/plugin-hook-bootstrap.js:125 \u00B7 scripts/hooks/plugin-hook-bootstrap.js:155 \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":"scripts/hooks/plugin-hook-bootstrap.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f933415f5ff70c454ed7d51bb6b7a84ff3fba7611a5d5336cd37da2940fa8fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/hooks/pre-bash-commit-quality.js:525 \u00B7 scripts/hooks/quality-gate.js:152 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79365325f411582e4eb931a76230c90590c5a9ee04eb069132f786ee91e8f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/codex-legacy-sync.js:305 \u00B7 scripts/lib/codex-legacy-sync.js:568 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5849026b58ebd2f65a58e800ab5e5411289b5d8c003744182c88525f227357e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): scripts/lib/github-coordination/actions.js:168 \u00B7 scripts/lib/github-coordination/actions.js:213 \u00B7 scripts/lib/github-coordination/actions.js:246 \u00B7 scripts/lib/github-coordination/actions.js:281 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca3c37011189d7b4a5557ea2ec0eec818eaebc71c6b2ebaf34ef44c0d64e96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/install-lifecycle.js:422 \u00B7 scripts/lib/install-lifecycle.js:601 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"675839922b3123108306250b032b4fa19e0c6c3a3d6037b9834535fbe7f126b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/install-targets/kimi-project.js:10 \u00B7 scripts/lib/install/plan.js:128 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/kimi-project.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb302a1e974a15e458c3bb31c9ccc105f64f034d4d4f58effa70e994960a4ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:86 \u00B7 scripts/lib/install/opencode-legacy-migration.js:96 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ad9fb5a00ca0f583774f0a3b8f4ddf6a46feba7ebd26cd0aafc80c16d71d5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/session-adapters/canonical-session.js:520 \u00B7 scripts/lib/session-adapters/canonical-session.js:571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31eff8c32aee008b5cbbe4fe2a3386d4b71a338906728b1ce48c1b6e191ed2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/lib/skill-evolution/tracker.js:96 \u00B7 scripts/lib/skill-evolution/versioning.js:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/tracker.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b8c433f5e4b04560e12dd6b498eb19ee8a3c2e0f19002ab2e17c45439d38b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/release-approval-gate.js:120 \u00B7 scripts/release-video-suite.js:356 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"331a752fd964f319ddb4035bfc88f485225659f49a61cb0446b8cffb4b70204a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): docker/gateguard-effectiveness/intent-eval.js:52 \u00B7 docker/gateguard-effectiveness/lib.js:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f68196f28b7f586c8b35b50eec2bbd6c844e2fcf39276c6e3ba8c58c0b064e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): scripts/astra-review.js:236 \u00B7 skills/council-multi-model/scripts/review-with-codex.js:270 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/astra-review.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fdd6c7941cfbd87e3b5fe224036afec6fc18a651cba4800c9378315ca7cef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/catalog.js:170 \u00B7 scripts/work-items.js:570 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"01354ab0a9cb6580cf995bfa6da8cf30010efb9b544345498045858bee82abd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): scripts/gateguard-report.js:11 \u00B7 scripts/skills-health.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gateguard-report.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3146ce0f3dd80172026b0bd5be5ff02f412b1ae8085f61b71aa608d4fbcf4e11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/hooks/gateguard-fact-force.js:462 \u00B7 scripts/hooks/gateguard-fact-force.js:670 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"396db4d67401e35b968070d71ddc7d24d5b3e51632836353d2f97862947f70e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/hooks/mcp-health-check.js:47 \u00B7 scripts/hooks/plan-canvas-pending.js:44 \u00B7 scripts/hooks/post-bash-command-log.js:38 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9fb3c31d7efb79c58dd7d1760e3dec321acbbd85f3692fcc66b0c7654a18f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/hooks/post-bash-command-log.js:22 \u00B7 scripts/hooks/session-activity-tracker.js:32 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-bash-command-log.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2398fe756c5c0c8835dddc031e46c70305b013d649cba22e3d38955f24655898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/lib/atomic-write.js:15 \u00B7 scripts/lib/atomic-write.js:41 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/atomic-write.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f68dd529e38348ed5c45271b3e58f9e0e9bc49fe11a1b105b196cfe74b6bc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): scripts/lib/gateguard-code-lexer.js:356 \u00B7 scripts/lib/gateguard-code-lexer.js:480 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a132cc405de12646bf1ce51ce801bac803677e5f39c1ee855866e3fd7c969e13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/lib/install/antigravity-legacy-migration.js:252 \u00B7 scripts/lib/install/excluded-paths-reconciliation.js:148 \u00B7 scripts/lib/install/opencode-legacy-migration.js:154 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"205da0810d78371679d65e81c13833ef5198a4a396c5789b70ca5f5f8a278e08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/lib/install/claude-skill-migration.js:11 \u00B7 scripts/lib/install/excluded-paths-reconciliation.js:102 \u00B7 scripts/lib/install/ownership-guard.js:9 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-skill-migration.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"176c0608b09a6c62fcde33da8de0551a25b60dd970a6f540a41b3f4f9d927643"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/lib/project-detect.js:270 \u00B7 scripts/lib/project-detect.js:315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e9f780bd376e6d9d9e1540690fb7977e995574430f55d70cbbaad093221e13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/lib/session-aliases.js:218 \u00B7 scripts/lib/session-aliases.js:339 \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":"scripts/lib/session-aliases.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3e6be1403392435df0f3eb28e776227abd55bf439611be88e601883df189e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/sessions-cli.js:75 \u00B7 scripts/sessions-cli.js:89 \u00B7 scripts/sessions-cli.js:103 \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":"scripts/sessions-cli.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e5793742b6e2ca3649994536004cba94bced15ac14967b802277046d625803"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/sessions-cli.js:89 \u00B7 scripts/sessions-cli.js:103 \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":"scripts/sessions-cli.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c2dd1233a46e530cba483d39a72702af7b6771aa260785ece843328c656c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): docker/plugin-setup/interactive-plan.js:25 \u00B7 scripts/skills-health.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf643e93e289bd39ded00a2ef8fe77eb88cfc239784c3088bb72741d974d6ff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): docker/plugin-setup/prepare-packed-cli.js:17 \u00B7 docker/plugin-setup/verify-install-plan.js:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/prepare-packed-cli.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f86214c1a21f45bd397aaf25f9dbe24acd5b2061eea7a78c929083540b7cef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/catalog.js:153 \u00B7 scripts/install-plan.js:228 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7d6285f4547d5d5c07482f776a61bcf6d80c4e49d98cc92a52f773722b9002"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/ci/catalog.js:248 \u00B7 scripts/ci/catalog.js:343 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee3653a18e800df593a53c62d2850fff94ac480ac947b8163e3c244f732c5d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/ci/catalog.js:401 \u00B7 scripts/ci/catalog.js:615 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7058bd743e48158a94cc517ccf10da826313676c265dc69de51cdff1f68b5bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/ci/issue-submission-guard.js:65 \u00B7 scripts/ci/pr-burst-guard.js:166 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a160ea955fc59c8156002bd375247b1a043ba6aa2eab803b06cdb8f1b99eb88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/hooks/session-activity-tracker.js:629 \u00B7 scripts/hooks/session-end-marker.js:60 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c496175ef63e4b149006247efee1f0a5d68d42060384539579d86e62c2286c57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/lib/agent-proximity/shadow-trail.js:39 \u00B7 scripts/lib/coordination-inventory.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/shadow-trail.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cad9b9126c7b36e2e38241a000bfdd54ee42d3ec0d001e9962bd71e671e889"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/claude-plugin-setup.js:601 \u00B7 scripts/lib/claude-scope-migration.js:339 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d86ba770b13e3d9a6bfb42fb09f97f2db411ad7581ff206fd73ff47ba52afcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/lib/gateguard-target-class.js:312 \u00B7 scripts/lib/gateguard-target-class.js:430 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-target-class.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c8f4e11bbce89a1bb42aef80ec106c0376cc661ebadf4c483afb34c9b09635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/lib/install-lifecycle.js:241 \u00B7 scripts/lib/install/apply.js:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c408ee80b24eeb148d8fd3763b22f1f84be0f62cb435d1fc38c7b30e4fb11975"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/lib/install-state.js:16 \u00B7 scripts/lib/install/json-ops.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30175645711b065ac4cf15a43aecece8026025138447a46f5abe5ad46a40a5cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/install-targets/claude-project.js:55 \u00B7 scripts/lib/install-targets/kimi-project.js:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-project.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"762db6a6ae3a64b216d4c3b37b75f7f1f04cb6cd14cb2d4f277cb909332b65bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/install-targets/helpers.js:271 \u00B7 scripts/lib/install-targets/helpers.js:319 \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":"scripts/lib/install-targets/helpers.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8fc5f6d64c1f42ad4559b5e51bc98b048f0a1afd88f42b20d9b49bc05618c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): scripts/lib/install/antigravity-legacy-migration.js:24 \u00B7 scripts/lib/install/opencode-legacy-migration.js:22 \u00B7 scripts/lib/install/opencode-legacy-migration.js:220 \u00B7 scripts/lib/path-safety.js:16 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2341e685c421cc58cf71905be0675db2ab9c4a5d35653ca967bca8418f9072f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/install/copilot-agent.js:27 \u00B7 scripts/lib/install/copilot-rule.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/copilot-agent.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"714eb161b1a2dd848c40ae8453b3be83e9618bbd94a3ffbc8d551bbcaeb690d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/mcp-inventory/readers/claude-code.js:28 \u00B7 scripts/lib/mcp-inventory/readers/opencode.js:56 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/claude-code.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee64247a7641ca85b4f459e3a426e4aab7baa983f00aa2cbbd24784278fb3766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/mcp-inventory/readers/codex.js:40 \u00B7 scripts/lib/mcp-inventory/readers/opencode.js:31 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/codex.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411d7aaadd6c38aa3a46bc301a209086b371a09cf406b6437d3b5bdf92c3c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/lib/package-manager.js:244 \u00B7 scripts/lib/package-manager.js:265 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/package-manager.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca5e79301de91a7a5c4670e663c03e37273bb3a73b84afa7d96f1a850a402e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/lib/skill-evolution/provenance.js:29 \u00B7 scripts/lib/skill-evolution/versioning.js:16 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/provenance.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16379a2dd62e397a23782b8d24cf501cca80b28879ec7c7fa06b3c31e25196cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): scripts/operator-readiness-dashboard.js:143 \u00B7 scripts/platform-audit.js:260 \u00B7 scripts/preview-pack-smoke.js:148 \u00B7 scripts/release-approval-gate.js:166 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a10fcad479e6ec128ea7c50c8207569cab50b2a0532887d241ffade5acb5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/operator-readiness-dashboard.js:1048 \u00B7 scripts/platform-audit.js:677 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa88dcaad2e8063e24095e1209326cdc2397a73fb1292a7705634bc3c573ed9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/release-video-suite.js:915 \u00B7 scripts/release-video-suite.js:927 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a619849bd6ecafae04a4e684950f9a641516195c0725d70cb547ae73118c353"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): scripts/sessions-cli.js:130 \u00B7 scripts/status.js:451 \u00B7 scripts/work-items.js:473 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sessions-cli.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4671989021f9f46ddbe729b6c0a3f6c224b9d1ee87afa4198c927de2d374e38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/setup-package-manager.js:124 \u00B7 scripts/setup-package-manager.js:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-package-manager.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f66ca324a81b6a175dc4416c435214c6d0b974eeccfb39679040bbb6a3a262"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): docker/gateguard-effectiveness/lib.js:137 \u00B7 scripts/dev/gateguard-latency.js:27 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91d8148d96a1a26d3d38167437083a9cd0be481d416fdfca474a992d8403609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/data-schema-orders/naive/src/revenue.js:6 \u00B7 docker/gateguard-effectiveness/scenarios/data-schema-orders/reference/src/revenue.js:6 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/data-schema-orders/naive/src/revenue.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f7551d8dcdcfd7610f28daeea4cbc8bb03a57b9bd9458daa25571cc26434cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/local-callers-normalize/naive/src/inventory.js:1 \u00B7 docker/gateguard-effectiveness/scenarios/local-callers-normalize/reference/src/inventory.js:1 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/naive/src/inventory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44bbb863684366f234148e72401281a1135e2aaf2eb2565eda0ab13913477ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): docker/plugin-setup/interactive-plan.js:102 \u00B7 scripts/gateguard-report.js:198 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a18fb1b112f91aa1d69fbea313ea191228d7167e3dddf95c7d1c458a6bb4a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/ci/catalog.js:104 \u00B7 scripts/ci/catalog.js:179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af776c23b3d6efb6bc27713c3d35d9efeaf2bc39f455ca48f4eee57bc5ade8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/ci/catalog.js:307 \u00B7 scripts/ci/catalog.js:414 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de6682822f02ca1ca1848e2bb3b692fc450ff9e0fbb0d82bb1b9b88a7ff0a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/ci/catalog.js:744 \u00B7 scripts/ci/catalog.js:764 \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":"scripts/ci/catalog.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"4548f59b7c9e61c11f8f9de890af16452fe20d96895c92418c03e2af402fb4fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): scripts/harness-adapter-compliance.js:46 \u00B7 scripts/observability-readiness.js:58 \u00B7 scripts/preview-pack-smoke.js:130 \u00B7 scripts/release-approval-gate.js:148 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-adapter-compliance.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc341fa063e96981e7de2858cc9d00c3021a701a30558060004e2716a4135ad6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/hooks/design-quality-check.js:116 \u00B7 scripts/hooks/pre-bash-commit-quality.js:529 \u00B7 scripts/hooks/quality-gate.js:156 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/design-quality-check.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0ad8277482df8070d30145cde3838c864a5d9433dbbb925f02273a32d42f8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/hooks/ecc-context-monitor.js:289 \u00B7 scripts/hooks/ecc-metrics-bridge.js:267 \u00B7 scripts/hooks/post-edit-accumulator.js:69 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa4e14c7b5fdae445101ce00be0a10b75852488e42c2fd66f629651cee017fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/hooks/evaluate-session.js:26 \u00B7 scripts/hooks/session-end-marker.js:59 \u00B7 scripts/hooks/session-end.js:114 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/evaluate-session.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a11ef46e29d272197a912b9b42d0d8f573922d06f44f19b5301092ebb43826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/install-guided.js:72 \u00B7 scripts/setup.js:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaa176fc4fcb776644874eb9f0832de5e35cece0a6b5006b393d4b43cfc8e7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/lib/gateguard-search-evidence.js:509 \u00B7 scripts/lib/gateguard-search-evidence.js:571 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7dff547e0fe2c062c4418666d934bb955aba1e47eebc36faeaf7d934a85735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/lib/install/antigravity-agent.js:27 \u00B7 scripts/lib/install/copilot-agent.js:25 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-agent.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f3bbeb21d86e13b08618a617918cfb94136fdd870d6bc7bda09f9eec42253f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:55 \u00B7 scripts/lib/install/opencode-legacy-migration.js:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"28497a6dcc95c6a3035787c569e4c1bbd0ebb6ef2ced0d182dfa1f2bbdcc94de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/lib/install/claude-skill-migration.js:153 \u00B7 scripts/lib/install/claude-skill-migration.js:176 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-skill-migration.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d5a7d47a002643b5521c5e59edff5321cd1391a2cb97391f1e607547824882"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/lib/install/request.js:88 \u00B7 scripts/repair.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/request.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b37e058da3086808af357eb36384b50e1782af26aece81cd10151f42ef6790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/loop-status.js:93 \u00B7 scripts/loop-status.js:110 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621bf631cfd608e5671b6c2d9ce7728b5bbb017ce4f3e3f98c403a185671618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/operator-readiness-dashboard.js:102 \u00B7 scripts/platform-audit.js:71 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a7a7640fd5c889313a04ccedc161b6efb4fc63242342199f23bddf92c5f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/orchestrate-worktrees.js:96 \u00B7 scripts/orchestration-status.js:50 \u00B7 scripts/session-inspect.js:141 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/orchestrate-worktrees.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8e92bcee18263c300d50f090c017bbac375060df1a4f7b8f4ea577e92330e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): docker/context-profiles/ai-eval-lib.js:58 \u00B7 docker/context-profiles/ai-eval-lib.js:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d018a3823e486a0c8dbe3a982525b57d3be40d0026f752fec410d53d6b816b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/naive/src/rollup.js:1 \u00B7 docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/reference/src/rollup.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/naive/src/rollup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f86a1e5352a55443c032269e4a292697acfcb837e9884d6be88b9049562861b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): docker/plugin-setup/interactive-plan.js:96 \u00B7 scripts/feedback.js:43 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f659c7e93120a87f33f900f63d8a2b43da70df108e98978d4868638225a5fb5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): docker/plugin-setup/verify-install-plan.js:60 \u00B7 scripts/welcome.js:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/verify-install-plan.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"732dbfe6fb44794e305477be46af80602246639cc600ab341952cb0a4b0a080f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/auto-update.js:361 \u00B7 scripts/list-installed.js:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc92bd6429097a6f099b5cf4c18c15f12ee95fbe55bd80969779389608a2fd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/ci/check-hooks-schema-keys.js:64 \u00B7 scripts/ci/validate-hooks.js:232 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-hooks-schema-keys.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1339ca171e7796cd26e2e61616b53599081cb8018a1724170fe2e59ef14304d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/ci/supply-chain-advisory-sources.js:142 \u00B7 scripts/ci/supply-chain-advisory-sources.js:163 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe72a5b43df24a938d28feb96ebb9730d64a5f426067fca0b8dc5d3ab4cdc5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/ci/supply-chain-advisory-sources.js:371 \u00B7 scripts/install-plan.js:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa3882937a21881cb25d0ff7c6352ce90ffff7f80a81e3c49a52f7f2a7acca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/ci/validate-install-manifests.js:28 \u00B7 scripts/lib/install-manifests.js:172 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-install-manifests.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0e15533d70d991aeb61bf35dd3e5d3488b6baf65e50d186f115cdf8cdfc4b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): scripts/hooks/auto-tmux-dev.js:99 \u00B7 scripts/hooks/post-bash-build-complete.js:23 \u00B7 scripts/hooks/post-bash-pr-created.js:34 \u00B7 scripts/hooks/pre-bash-git-push-reminder.js:26 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/auto-tmux-dev.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"281ca125d0e688a39ccb405d7cf722d3dfa02ed460415637a76972e248fd4358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/hooks/gateguard-heredoc.js:68 \u00B7 scripts/lib/gateguard-search-evidence.js:373 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-heredoc.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"01609954d4b7c11e9ea71cc6b1eb36b2d7325bcad63aae5e636328acd168ad28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/hooks/plugin-hook-bootstrap.js:173 \u00B7 scripts/hooks/plugin-hook-bootstrap.js:206 \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":"scripts/hooks/plugin-hook-bootstrap.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa0d2577b582e3acf1c6ca94fbe13bade3fabadcd2537c63fdd5ea2c5616f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/hooks/session-start.js:227 \u00B7 scripts/lib/utils.js:306 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2871beb0736554421a01ca5a6da80cef4fa0ee67498acbacc359fcff698bc9d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/hooks/session-start.js:222 \u00B7 scripts/loop-status.js:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4081340c114345c3e84881aaadabb1cddd76b7f10655c1d4b02074d309c349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/install-apply.js:201 \u00B7 scripts/lib/multi-harness-setup.js:426 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-apply.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd27795fc8513137d23d344969c58af457f28d132f24a8e5957596143d7d6c7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/astra-review/fix.js:65 \u00B7 scripts/lib/astra-review/prompt.js:207 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/fix.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2273da00694cc3e5609ebe6d5a5f144cc791d1b8404c091f47b6ecc95a0b1c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/lib/context-profile-native.js:482 \u00B7 scripts/lib/context-profile-native.js:505 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c594ec751bc5efe253d156fd03bbfc1f7aed0312a903356065bb561cc970f9e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/control-pane/proximity.js:95 \u00B7 scripts/lib/control-pane/proximity.js:122 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d18947287f3fce7f3fbb6edb59c208b0b3965ac2deeb96f4881e8f12664acc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/lib/gateguard-search-evidence.js:73 \u00B7 scripts/lib/gateguard-turn-scan.js:236 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8014d19dc6e6cd4dd35e6fda43cb21fd3106d4cf56b056df0e9a97ced6e439a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/github-coordination/actions.js:228 \u00B7 scripts/lib/github-coordination/actions.js:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"157ce9847176ea599a9a3f0326d63f02c9953cd41dd6ac95d4bbd969590b3cf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): scripts/lib/hooks-config.js:37 \u00B7 scripts/lib/install-targets/cursor-project.js:26 \u00B7 scripts/lib/install-targets/kimi-project.js:13 \u00B7 scripts/lib/install/inventory.js:61 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/hooks-config.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0337ece382470bebcafea25857511af4a2de9d6f8a6727339fe95607dac83243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/install-lifecycle.js:1255 \u00B7 scripts/lib/install-lifecycle.js:1809 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b0bd5261af2c245be21423a1983b4e17cf01af97f4093b96706bcd34ac0982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/lib/install-manifests.js:393 \u00B7 scripts/lib/install-manifests.js:557 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-manifests.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ffacbe52cb2815d5942125c35c67269564e00eaa574a7370ab7d021ecf81a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/lib/install-targets/claude-home.js:100 \u00B7 scripts/lib/install-targets/claude-project.js:55 \u00B7 scripts/lib/install-targets/kimi-project.js:52 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6335d1c38082941eef67b0cb23b4574ba53de865243e6fea1ee6b6522288ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:299 \u00B7 scripts/lib/install/opencode-legacy-migration.js:365 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6789b0d2b6e83dec0986e74a7c985fb8a5780c5dff80e3a269d68016552946e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/lib/install/claude-settings-lock.js:10 \u00B7 scripts/lib/memory-vault.js:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca3bad536b907292868cafe3412308164e003d95f3f79e0c4336bd9d0e13e9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/lib/powershell-destructive-command.js:1066 \u00B7 scripts/lib/powershell-destructive-command.js:1078 \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":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc0ecb7b79bfe45453b33ec5d59b54d94471f42e7e2d68301b684617025a75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/lib/powershell-destructive-command.js:475 \u00B7 scripts/lib/powershell-destructive-command.js:492 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38600eae1adea631181f06cf61ca4e7d36f754a409ae0f61dff5e9cc390655c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/lib/project-detect.js:246 \u00B7 scripts/lib/project-detect.js:273 \u00B7 scripts/lib/project-detect.js:318 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"205d5f3d5f8ac9062fa894aa22221045f2e307c08b9a4a9c5216f9656df562cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/lib/session-adapters/claude-history.js:21 \u00B7 scripts/lib/session-adapters/codex-worktree.js:42 \u00B7 scripts/lib/session-adapters/opencode.js:42 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"563801332190873288b84f9d90287da84d6028a553d9f91d726d0804b4038b64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/setup-package-manager.js:110 \u00B7 scripts/setup-package-manager.js:133 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-package-manager.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c566c85f72398c0fd8c55264981610eabc7d9bc2ee300f70a05edf52e6d69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/setup.js:93 \u00B7 skills/terminal-opener/scripts/open-terminal.js:126 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a53564c9f2621f694b54b266184e0a85ee6fec47ff937c21343f6a3a70d719"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/status.js:138 \u00B7 scripts/status.js:364 \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":"scripts/status.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6cd7651a6525a96ff1336fef62b933121956bd2a67df2c856d8a488ab680f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/status.js:395 \u00B7 scripts/status.js:424 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf6aac867ab28ddad1ca0677671c4ef0dc82259b640f10b48bbf6ac279d11e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/work-items.js:520 \u00B7 scripts/work-items.js:544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7e68ea6edc750a70158eb09e8782a79fa1d162edf32bc547f8d5893121f6b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/calibrate-stats.js:14 \u00B7 docker/context-profiles/complex-eval/verify-checks.js:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"153ba9c3a4c1bb7209063876ccc60b247c4121e2965f654736d895dba0c3c600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs:23 \u00B7 docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/data.js:8 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3583c9d18bd43c1655db7a4a03bf760d863d580729024a8a318f9b52499935aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs:135 \u00B7 docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs:117 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5b945c0174a1dc12b50b6d2fdeeb344b2d4a626b309e14e455fa66e53dc81d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/recurring-incident/files/src/payouts.js:6 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/files/src/refunds.js:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/files/src/payouts.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fdf705e6f66eeebfd027f6a678eba6760d59c440793d9b4b69e7819b7addba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js:19 \u00B7 scripts/lib/plan-canvas/server.js:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"782d16250067551840b8d2f85300d159178264638f720e4107207b37115d7167"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js:23 \u00B7 docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js:33 \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":"docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a6b5c9c8d94531c340cff7ed185844d311178b2b1e64cc678f9d02e85acc1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/context-profiles/complex-eval/reference3/production-ready/src/index.js:4 \u00B7 docker/context-profiles/complex-eval/reference4/production-ready/src/index.js:4 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/index.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e95bff6933cb07010a3d4d68196e326f53f1d73d7cdb3b43d294914e9e355b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/naive/src/audit.js:5 \u00B7 docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/reference/src/audit.js:4 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/naive/src/audit.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40b722692756b120ec16248fce368a73447ad22c34afbc0f8cb8aa4f079e81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios-intent/soft-limit-overage/grader.cjs:13 \u00B7 docker/gateguard-effectiveness/scenarios-intent/username-collation/grader.cjs:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/soft-limit-overage/grader.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc88fd58ce50484ec0686fd8db08305bb7e66fea6896d1df375c2aecc00172c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/importers-date-shape/grader.cjs:14 \u00B7 docker/gateguard-effectiveness/scenarios/local-callers-normalize/grader.cjs:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/grader.cjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c243169aad96bf9843961cd70309b4beb07116bd40d41494804585c226ed1bba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/ci/validate-rules.js:20 \u00B7 scripts/codemaps/generate.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-rules.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4452b3d0bbdc4ec20f196b1f14c85aa929f7f7c7c89ecfcffda45c25734cb04c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/codemaps/generate.ts:72 \u00B7 scripts/hooks/session-start.js:225 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemaps/generate.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd40bcab24631c903c306c58fcb3b9c88393a3db69e77ad845308a398e6f968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/consult.js:340 \u00B7 scripts/lib/memory-vault.js:641 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/consult.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"80210008be4682d270d061cb09ad949871c085ef870b0164080034f8f9857df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/github-coordination.js:128 \u00B7 scripts/github-coordination.js:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github-coordination.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a48115c269eb416009da99c72675a41cb25079c0cece5bd1492adf880b16905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/harness-audit.js:1075 \u00B7 scripts/sessions-cli.js:162 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e70857e2b88936cd6830e5070b4a259b3f8b4099368f6be1bcaaea0ca0612"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/hooks/bash-hook-dispatcher.js:188 \u00B7 scripts/hooks/pre-bash-dispatcher.js:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9548659ae42289a75d760e27c4422195b7204e5a3feb165b72d6e3577d5470a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/hooks/config-protection.js:237 \u00B7 scripts/hooks/desktop-notify.js:242 \u00B7 scripts/hooks/stop-format-typecheck.js:258 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/config-protection.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"923ae68268776d51f92dc00eb9a81dd46539a84506064f01c9975a809903dc57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/hooks/cost-tracker.js:219 \u00B7 scripts/hooks/desktop-notify.js:242 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/cost-tracker.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba23e7dbdf3997bb91925b361c354c4b7329819915f1d96e03d4f852bf5ed49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/hooks/ecc-statusline.js:29 \u00B7 scripts/lib/statusline-render.js:104 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0581d281a140b4b29715e69b52f98cf853f434676fb7879139c89931829e6201"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/hooks/lifecycle-hook-bootstrap.js:41 \u00B7 scripts/hooks/plugin-hook-bootstrap.js:256 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca0724530f7f5c9fbc7c33830b602ad086498ae93082a27d730ba06de8de34b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/hooks/posttooluse-dispatcher.js:318 \u00B7 scripts/hooks/pre-bash-dispatcher.js:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc30c9b76236e73c580e6022cd65c05d60b73e1ab1abb68c548af42a20f7e77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/hooks/pre-compact.js:62 \u00B7 scripts/hooks/session-start.js:310 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bda80b65bb0ed12fcf54e8ead43d813c7260db34a486960932163d6a549c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/hooks/quality-gate.js:84 \u00B7 scripts/hooks/quality-gate.js:96 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/quality-gate.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bc9a85fa61498e3f9ad1d714a1279da6864c9367a4e4e5e2b54c290f28445e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/hooks/session-activity-tracker.js:309 \u00B7 scripts/hooks/session-activity-tracker.js:325 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"72272c50a81ff0e821649c294cc7965657a05e3d5540007489c885e8720a1312"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install-lifecycle.js:75 \u00B7 scripts/lib/install/plan.js:29 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8593db22b09bad365fc1bbe150b7f3e0ebdd2e9dbc62f2887e144c1c0374e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install-state.js:187 \u00B7 scripts/lib/install-state.js:197 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a8483fdb38b53026074ca9a72002807d98700e589d75f1d90f64e07d1b410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install-targets/helpers.js:434 \u00B7 scripts/lib/install-targets/helpers.js:446 \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":"scripts/lib/install-targets/helpers.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed1bef6f761c63a6c4fdcb18331d4a592af67bbc5e6d3b2ab4a7ddd7faabac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install/claude-settings-lock.js:26 \u00B7 scripts/lib/nasiko-release.js:335 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ce54548985ce3e5a5de35193e3f82a13d3a0e6cccda7896121cda0d072f6b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install/claude-settings.js:331 \u00B7 scripts/lib/multi-harness-setup.js:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8105f7c9f3e886d72e2bfd5b774a0e641a40ebf8cf5b4006acba0ac1a083e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install/claude-settings.js:508 \u00B7 scripts/lib/install/claude-settings.js:656 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b66e14e81dbd1e1fe1c192fb910ab3465cd6372192bee0189f5496949aa5a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/install/request.js:34 \u00B7 scripts/status.js:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/request.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4f292d272e5fbde0e5c74fffce15cf984e42b38aaf884146393da7441b0505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/lib/plan-canvas/server.js:74 \u00B7 scripts/plan-canvas.js:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"788bfcd9a6cba7f8a3ad7fa8d9eb57ce59855220e352acc20d58cded67db22f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/project-detect.js:172 \u00B7 scripts/lib/project-detect.js:300 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f9a0cbe790701e4dc97f93439a304be717dc4ab5a5cd184aa2f5a5d0bbc8a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/session-manager.js:276 \u00B7 scripts/lib/session-manager.js:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689c4c8750ba8da952cf1b4fc39d9c3ef120a612849bf61671256ca8bae3293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/lib/skill-evolution/dashboard.js:328 \u00B7 scripts/lib/skill-evolution/health.js:166 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"68337a3e2ce1c91c95f0861f532d5f60ac75c5ed4dd754d0980a61dac1870640"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/sessions-cli.js:57 \u00B7 scripts/status.js:82 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sessions-cli.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537700dcc939f565a5a84e0113df8df4dea2d7bc47d852bdcaf89373af3a2d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/setup-package-manager.js:170 \u00B7 scripts/setup-package-manager.js:181 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup-package-manager.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba0ecad8eaf1f08a925e39ad420d52260177550b93bd70866e1bbdde39cfb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/status.js:79 \u00B7 scripts/status.js:147 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c657b5289d2d81b13b4c3a1bd665af84594b4181452ad57a81bee5631b9f9d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/status.js:172 \u00B7 scripts/work-items.js:434 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aca677886176818b54706d86687e34ceffec4010ee01416b915d2c5c9675ba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/status.js:244 \u00B7 scripts/work-items.js:438 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c67c1a462cbcb7c246a0f2df210178d56491fffe8a0862cf118e668c2df3060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/work-items.js:551 \u00B7 scripts/work-items.js:564 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f2fe54bc26c2e3f1bc1f65fbdc80b816b005cde13be428a887043c2371b2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs:12 \u00B7 docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs:12 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f825b515c239835c8f0a01e8ccc1b50cace28dfd59bfe0d7e81a2a19aee5945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs:84 \u00B7 docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs:109 \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":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54faad8c06f05d3250916387fe58fb493a71a812e9b69db6dd0c0760aa76ef3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/gateguard-effectiveness/intent-eval.js:22 \u00B7 docker/gateguard-effectiveness/lib.js:15 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07439ee6c638524e8a266e926903007b3a5a2be62f99454ce82a6582b667bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/gateguard-effectiveness/intent-eval.js:97 \u00B7 docker/gateguard-effectiveness/lib.js:280 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6988d5aef895dc9ad648037d1f4a245038cce9b0553e372c07ceb78ed9610"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/report.js:7 \u00B7 docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/src/report.js:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/report.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"469b04a5537b48690b4675d8333b28415e2b59f028b684d8a0bd9afbece5bcdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docker/plugin-setup/prepare-packed-cli.js:158 \u00B7 skills/terminal-opener/scripts/open-terminal.js:380 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/prepare-packed-cli.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6e157c060c8d7a7a9c29bee900043c8bc3d28bee762de28ad0d2be77c18543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/auto-update.js:348 \u00B7 scripts/repair.js:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4346fd7254f5c5d2e127e9183c68dd74ceb4bd22a8789ff4aa3aec275397e384"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/auto-update.js:165 \u00B7 scripts/operator-readiness-dashboard.js:405 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce00248065e99da94a6f5cef5c095015d745d1fa9fde0f522767127c62db56e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/catalog.js:125 \u00B7 scripts/install-plan.js:133 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff1801da723ed9aa3c4084a9db22d4202de08171e4e7b10af5c3e63268fd2f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): scripts/harness-adapter-compliance.js:18 \u00B7 scripts/harness-audit.js:81 \u00B7 scripts/preview-pack-smoke.js:107 \u00B7 scripts/release-approval-gate.js:120 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-adapter-compliance.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bb0058bd9c47d449bb78ccae479a88681a9fdb51d13cdab4b4c68cc1c9e9e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): scripts/hooks/block-no-verify.js:1236 \u00B7 scripts/hooks/design-quality-check.js:119 \u00B7 scripts/hooks/post-bash-build-complete.js:27 \u00B7 scripts/hooks/post-bash-dispatcher.js:10 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 9 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb8049290c64cc19ee1138769d93ca699a68e64c1daa9f588968efaaeedffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/ecc-statusline.js:163 \u00B7 scripts/hooks/insaits-security-wrapper.js:24 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c6cd405a9f95d0ccaa4f7d794a32c09866ed92080e75bed07778d0d4c09c0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/gateguard-fact-force.js:854 \u00B7 scripts/hooks/gateguard-fact-force.js:866 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cc27c04b9a07f582234e5269d5f2966a53f0b4418d10e5d0392a6aac777be5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/gateguard-fact-force.js:1385 \u00B7 scripts/hooks/pre-bash-dev-server-block.js:194 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e80c6fdaf0b13215cbf2ba51663e10641d951ef396e14eee5273d9b44d21fc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/hookify-runtime.js:71 \u00B7 scripts/lib/eval-harness/envelope.js:108 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a952093bc6098edddd7c10623b6fa692471c1916a27e28beec8b0b7c3dfdb20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/post-bash-build-complete.js:4 \u00B7 scripts/hooks/pre-bash-git-push-reminder.js:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-bash-build-complete.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"18676f93b7ec74f559d0a3abf8d881fb39e031523cc88fb650a1872a19e23a0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/hooks/posttooluse-dispatcher.js:285 \u00B7 scripts/hooks/run-with-flags.js:50 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6faf9b38bb391c54b11c6e8266985afdb4cc1d6cd25e4f84d2ef4b7a16aa1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/lib/codex-legacy-sync.js:165 \u00B7 scripts/lib/install/claude-skill-migration.js:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3395bf6f172c8d27e555c6985a1eb9b541e015558c21e6b22b1c1bdc20a5144f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/lib/context-profile-native.js:364 \u00B7 scripts/lib/context-profile-store.js:163 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d90eab797d423003f2eff655300acc21999b36ba03ffc1a130300b68f5b8a15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/lib/control-pane/server.js:244 \u00B7 scripts/lib/control-pane/server.js:263 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/server.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9648f0ed616da2d5b82cec41be6a99033bc6f8119a4d10e37d44616e649406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/lib/gateguard-turn-scan.js:127 \u00B7 scripts/lib/transcript-context.js:106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-turn-scan.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b304296572d1faf4375d160e3291cbbcee0df2e069987567b6f2d1fb47cc1ceb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/lib/install-executor.js:523 \u00B7 scripts/lib/install/plan.js:258 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-executor.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a7ff0836d53101b744973cd422c4150373d4a2d7b422077c9f4cbea094c01b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/lib/memory-vault.js:178 \u00B7 scripts/memory.js:183 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c994eb31a40059aec5f14fbfd22f1541ebc23d27ddc4faf2a962d747fcd71ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/release-approval-gate.js:387 \u00B7 scripts/release-video-suite.js:862 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6696a56b2b4672f00c12121c3515357299bf8b3689505f771991da945854e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/welcome.js:20 \u00B7 skills/terminal-opener/scripts/open-terminal.js:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/welcome.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c5e7fa32e122ddd7be9f4040ad9aad13c947e72cd8b07a059d284dfe8c41d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): skills/ck/commands/forget.mjs:18 \u00B7 skills/ck/commands/info.mjs:13 \u00B7 skills/ck/commands/resume.mjs:14 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/forget.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc23e2d155ee145609dc94d7a27feb4898391d959fd45d49e3f996b45c91506"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): docker/context-profiles/ai-eval.js:41 \u00B7 docker/context-profiles/sandbox-smoke.js:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbc24ba7d5f5052cffe70514ddacc58a20a32d8abea880940042c732576fb2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): docker/gateguard-effectiveness/lib.js:154 \u00B7 scripts/dev/gateguard-latency.js:127 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0906064def2bb4850cca2bdf2dd7ce6fa76f46f8891ff83c1463d81854d8a3cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/lib.js:264 \u00B7 docker/gateguard-effectiveness/session.js:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a5435eece46043ca323040a2189bcc88df84a439845f4248966cfa645dfa40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/lib/export/csv.js:1 \u00B7 docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/lib/export/csv.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/lib/export/csv.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea6ac1a8ce66538fe0ea328ce8e052d3546bff689fb1d290d464c28ddb55a88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/invoice.js:1 \u00B7 docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/src/invoice.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/invoice.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d793d7150d1aad1d7a2538506e9b87383ce2b10c6b4ce1e13c7319361be7a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/agent-convert.js:50 \u00B7 scripts/install-guided.js:94 \u00B7 scripts/nasiko.js:42 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/agent-convert.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cece5501c48aec207e5c15f2213f6d9e80b48367c19dd2abe87e1308b34b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/build-pi-core.js:62 \u00B7 scripts/build-pi-core.js:70 \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":"scripts/build-pi-core.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a787d2656381481812af0dc22eafeec4b41c050d1c78b6f1ca1fb66b00390b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/build-pi-core.js:230 \u00B7 scripts/build-pi-core.js:238 \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":"scripts/build-pi-core.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6138b73b9dc0fe7d114bfee324ef2586c1cc5cb54642560bc926c7c234f6df5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): scripts/catalog.js:70 \u00B7 scripts/ci/supply-chain-advisory-sources.js:371 \u00B7 scripts/install-plan.js:72 \u00B7 scripts/loop-status.js:82 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fdc3c64b0c61afb549864b2f5241ddc153d2c0314e225e053b75dcdcde9581"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/ci/supply-chain-advisory-sources.js:426 \u00B7 scripts/status.js:443 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0600b1f87acf99c01c84e80286a9a80d87d4dbb52cac60fbcc739557d792deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/ci/validate-skill-host-compat.js:73 \u00B7 scripts/worktree-lifecycle.js:17 \u00B7 skills/council-multi-model/scripts/review-with-codex.js:55 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8377a9787988adeb3dc7de56e7e2306402d89b11a99648248af4f8f26f5f93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/ci/validate-skill-host-compat.js:344 \u00B7 scripts/ci/validate-skill-host-compat.js:364 \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":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"875abbd2607e745e857bffd07c7bdd6915a64d13295d9e2d41f84361d1854a21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/ci/validate-skill-host-compat.js:416 \u00B7 scripts/lib/control-pane/state.js:223 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b06173f3df43ab17a421addf2c876d312728c22ac1d671225c02438bd59d800"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/ci/validate-skills.js:95 \u00B7 scripts/gemini-adapt-agents.js:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a30302b12297963e7cf3e2cf95fd08a05bee7329b18d39e757f60e2fd6e3702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/dashboard-web.js:1006 \u00B7 scripts/lib/plan-canvas/server.js:662 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ac5461ff88cc69ad6f65e8413b92ab0f2409dbce35ccf16e31d29816bebc7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/dev/gateguard-eval.js:298 \u00B7 scripts/dev/gateguard-eval.js:339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"833faa745e8f1cadf7bd58e6006cd936a87f5370bf0d4d579c64253491a89109"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/hooks/block-no-verify.js:396 \u00B7 scripts/hooks/block-no-verify.js:410 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc547435730b102049f5e4ba5cafbb3954e2344e572053062ec9c210606b13a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/hooks/ecc-metrics-bridge.js:32 \u00B7 scripts/lib/hooks-config.js:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb002d2fc1582d20ec99766aa9dd951804d14bde67dfbad4d2b3d371952fd0b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/hooks/gateguard-fact-force.js:2351 \u00B7 scripts/hooks/hookify-runtime.js:241 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b94911ebe9ee98cb92c90ee4c30825af13c1c75089c11acfd16d927ca63d10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/hooks/hookify-runtime.js:249 \u00B7 scripts/lib/eval-harness/gate.js:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42347e43d4116a5578a55e4201befd269c5c1d693053974c1bbf38cea273c22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/hooks/session-start.js:792 \u00B7 scripts/install-apply.js:104 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67af3d2542e3f1f1a5ccee02748d1c98d129385b74f57e494750d54ecc42056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/install-plan.js:174 \u00B7 scripts/install-plan.js:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-plan.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d1e2b1060ffb03bad3e2c751ff97cbeca9bd000984797e253a4c742c4a47d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/codex-legacy-sync.js:181 \u00B7 scripts/lib/skill-evolution/provenance.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"176743a0f8688781365eab1be2a48eb5ea81d5fdad7ae0dafedbca34d541841c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/context-profile-store-fs.js:51 \u00B7 scripts/lib/context-profile-support.js:101 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store-fs.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5533a0327ee8733714c3a4dff9b21bead1ef05bcc594b43162f368d5806a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/gateguard-code-lexer.js:459 \u00B7 scripts/lib/gateguard-code-lexer.js:543 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84b49f6b8366c4d6e615c8d13a3871b3b7537e746f27cda60736ff40c420f35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/gateguard-search-evidence.js:91 \u00B7 scripts/lib/gateguard-turn-scan.js:253 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a76f71b1de84dc75146c42660b53ddff9c94e4ea39591c6999842ba2ab9967"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): scripts/lib/github-coordination/actions.js:35 \u00B7 scripts/lib/github-coordination/actions.js:190 \u00B7 scripts/lib/github-coordination/actions.js:233 \u00B7 scripts/lib/github-coordination/actions.js:266 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"38837d226d83f6a9532c2c8751d6466f7e1a46a82ec6e8eb819f0ecb9b256896"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/github-coordination/actions.js:80 \u00B7 scripts/lib/github-coordination/actions.js:307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"41598ab307cf0da8f1c149d38a2ea0ac31b2311ee34740e3139ddbb5096b9ba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/lib/github-coordination/actions.js:193 \u00B7 scripts/lib/github-coordination/actions.js:236 \u00B7 scripts/lib/github-coordination/actions.js:269 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c38703721dc8612cab96d5cbceb590ab0b8436cf62c627e71a01a51ffde93b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:102 \u00B7 scripts/lib/install/stale-operations-reconciliation.js:183 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa98bd374858aa9599a700476d803ef3e1d5c12d638e83f29c0b9d9f40531b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/install/apply.js:501 \u00B7 scripts/lib/install/ownership-guard.js:43 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"47196356498efeec1bdae19c4d4ea28a1091a86e363e1f70d3f11903dbd61543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/session-adapters/canonical-session.js:204 \u00B7 scripts/lib/session-adapters/canonical-session.js:213 \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":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3a00ec334bcf8b508810ebf1ef38a69547928021f40ddf08505e745b39096b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/lib/skill-evolution/dashboard.js:156 \u00B7 scripts/lib/skill-evolution/dashboard.js:202 \u00B7 scripts/lib/skill-evolution/dashboard.js:255 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a14c49925d6d8f36f494b64ea1f7f12b74b40bdf27d8255742221ed8a63d1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/utils.js:105 \u00B7 scripts/lib/utils.js:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6025cf7b70f95a228897c96e5c9b7d1543e18c0d66fdc5aef7cff258c0cdc7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/operator-readiness-dashboard.js:132 \u00B7 scripts/platform-audit.js:205 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2996d884ea17369786dd96286c6964bd75dae6d98e35a0c953b5cfcf724fd12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/sessions-cli.js:30 \u00B7 scripts/sessions-cli.js:38 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sessions-cli.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"014660780e827366fb07d2e8d5dec186a1e4180f289b4a949ad7856156b9470d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/status.js:108 \u00B7 scripts/status.js: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d929b757bde6314d817408a40770f4d426961ab4643a991150c1239e62d84e51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/status.js:330 \u00B7 scripts/status.js:398 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565a88e9c0a6d842dce5925c0d000282c25d366d242b6d836ad9f2f49e61c7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): skills/ck/commands/shared.mjs:122 \u00B7 skills/ck/hooks/session-start.mjs:36 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70f1d4b5f53746dfab9f1bb69c26fb3b4a8e780eff3d59f540629dc7a80279"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): docker/context-profiles/ai-eval-lib.js:309 \u00B7 docker/context-profiles/ai-eval-lib.js:343 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2eb5b99f2cdf421ff1ae786aadc09e8db6d5409a041026d63a5a4d49c01cfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): docker/context-profiles/ai-eval-lib.js:765 \u00B7 docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs:135 \u00B7 docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs:117 \u00B7 docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs:46 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fe3ec99886933365abc5bda7b671b75ee0c4b44cf5dfbca8f10f29374aab24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases/incident-triage/check.cjs:38 \u00B7 docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b01cbb6db91be5a6b78a9972219b9dae0990e4bd7c7b5ec4b38735fa4e0d56d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs:16 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8723d3daef630202674365d63905a5ce33fe936959be3c615ef7142db872b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs:16 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f93eeda3838e33221a9b2896ac4242b9deb26826b8db5e42f6a37689a0a3ae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs:16 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7868f3d950b1b8a5f535a0051c00c9a4e18ecdfbcf4e1ca50f78825c6bfe3c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs:16 \u00B7 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"10221ac0a5b0ea303d1aaab8661218ea5d48972c080b429d0e46f169e0976fd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:39 \u00B7 scripts/codemaps/generate.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8186a7626773b17c77892b54355bc1401698cfced6906672f1cd3c9c9c59130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): docker/context-profiles/complex-eval/reference3/chained-tickets/src/app.js:8 \u00B7 docker/context-profiles/complex-eval/reference4/chained-tickets/src/app.js:8 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/app.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61c179b4829725ca45bae261bd9223ca5e9d00937587279192564b8f1ef676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): docker/gateguard-effectiveness/run.js:75 \u00B7 scripts/agent-convert.js:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff751d8cc3d7a0f6a6ba6c92cd1cb8c28dc4f574c1fe6a79daa10dadf1821ad2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/codex/check-plugin-cache.js:61 \u00B7 scripts/gateguard-report.js:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/check-plugin-cache.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f8982c42334be7511f713ff11a580a4b345e7c71e9de78a52141fb50de78e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/dashboard-web.js:59 \u00B7 scripts/discord/ecc-bot.mjs:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"13020e278581cfb106e433248285ab0c9e9e3d35cb1b5a555eddc95e3a4d2294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/dev/gateguard-eval.js:267 \u00B7 scripts/dev/gateguard-eval.js:346 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdabc5f804192adc1c98129f6be4190e72ccd417ef555263e911d761d31288ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/github-coordination.js:92 \u00B7 scripts/work-items.js:94 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github-coordination.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c762a5df8325b57e9acc9e087544dde8405a993df3ee666227cd0ec655263f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/harness-audit.js:963 \u00B7 scripts/harness-audit.js:985 \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":"scripts/harness-audit.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba069a1241894476587d07a90ef48987adb2d8b0d17c95add7d4de888fa5befb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/hooks/gateguard-fact-force.js:1129 \u00B7 scripts/hooks/gateguard-fact-force.js:1292 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9435fc36f79d8f744baf8a671411b3ac4180c4138606eb37e8f2f5fc978597ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/hooks/hookify-frontmatter.js:137 \u00B7 scripts/hooks/hookify-frontmatter.js:153 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-frontmatter.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b37d43548c67ce849a83d7cd8281740e50b9ebd7e7d15d7a34f73cb1ad854f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/hooks/plan-canvas-pending.js:187 \u00B7 scripts/lib/plan-canvas/sessions.js:268 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plan-canvas-pending.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6bd387c9a055d4a308032ac18c58d194ad4264ef579aacc71cec6fe52c24a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/hooks/session-start.js:393 \u00B7 scripts/lib/agent-compress.js:18 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c65cbc9a9664b07fbafb2090bd3a5b035c34e6a815321f999ccb5a19e01422"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/lib/agent-proximity/projection.js:147 \u00B7 scripts/lib/agent-proximity/projection.js:153 \u00B7 scripts/lib/agent-proximity/projection.js:159 \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":"scripts/lib/agent-proximity/projection.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8c1c251ab6a1f010e31c716b802d3470348dcaa5ab0be62ff031536214cc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/lib/astra-review/codex.js:204 \u00B7 scripts/lib/astra-review/scope.js:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/codex.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0a3bed6796b353e8255661a6d3370cb78077af2a3ff4df491dd8b80808485e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/lib/claude-plugin-setup.js:56 \u00B7 scripts/lib/github-origin.js:3 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7058656e8ef05821e5e40fc11cd92aacc36903f4cb9430b93960b18fa161fa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/lib/gateguard-change-profile.js:65 \u00B7 scripts/lib/gateguard-search-evidence.js:109 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"66610127aaee5cd9adee8e85db6ff9161248f73ae85407f2b72ac4ee580b82a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/lib/install-targets/copilot-project.js:132 \u00B7 scripts/lib/install-targets/opencode-home.js:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/copilot-project.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c702fbd4d205ab57f22d64fcc2fa4cd91cde24373968822f4ac9eefc73920e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/lib/install/antigravity-legacy-migration.js:105 \u00B7 scripts/lib/install/contained-fs.js:139 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb03800365dc328acb9b1a6c33bd35499e0b1d3aec0ffe4cc96b62f12f7a736c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/lib/install/claude-settings-lock.js:72 \u00B7 scripts/lib/nasiko-release.js:295 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"683e69bdaec6d613701edc2e03e1220952a821ba8850e6f6f9e9dd1126a77cb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/lib/install/codex-user-config.js:20 \u00B7 scripts/lib/memory-vault.js:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/codex-user-config.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeacb8d271fc35b1b3c3450b7206f8bfa0b8f64a5cbcae4f0cd6144daa34e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/lib/memory-vault.js:277 \u00B7 scripts/lib/memory-vault.js:327 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f8deee19a80e6a62b6893479badf6af06f58a4a5c910fb69eaf477b39ce00c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/lib/plan-canvas/server.js:501 \u00B7 scripts/lib/plan-canvas/server.js:543 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf4e20783aeadc065fdc35d25fdf9ae257fcf9d500964e79f32ce2e523c1cac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/memory.js:326 \u00B7 scripts/memory.js:351 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7a87073fb8ce38abcbc3f00eec30debb9a6c7f360520adabcb90eecde3f76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/session-inspect.js:49 \u00B7 scripts/session-inspect.js:58 \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":"scripts/session-inspect.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"af79387cbd747062fda15eeec7848f5d1420d5c4f2c97b7c98447ec4945aef18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/status.js:99 \u00B7 scripts/status.js:231 \u00B7 scripts/status.js:250 \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":"scripts/status.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03457cc0fca41c92117e6d5abe93b86f4c066e45b11f37cc068f1b5302e2d8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/status.js:119 \u00B7 scripts/work-items.js:443 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9241fa901459a441ca74d4c2ad239c56b554f48b4c5651b1db8ff977f91aab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/status.js:307 \u00B7 scripts/status.js:380 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed9b5924e023cd991ceaaf19a779a156a8ab341c57d67c3fcb59144b239cb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/work-items.js:356 \u00B7 scripts/work-items.js:362 \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":"scripts/work-items.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dc4fddc6d020a4f329c9bcb0b0386c33d6f529f18ef733859bf5aada3a52b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): skills/ck/commands/init.mjs:67 \u00B7 skills/ck/commands/init.mjs:75 \u00B7 skills/ck/commands/init.mjs:83 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/init.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76dc27e6745abaeac7da45a443d7a1a7c8711919f86952520d0ef07ad6d7c1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/context-profiles/ai-eval-lib.js:367 \u00B7 docker/context-profiles/ai-eval-lib.js:461 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e042c0e6b13145b478bae8ad360d17747bb34a78daa6ff82753510d8150edd96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/build-corpus.js:15 \u00B7 scripts/build-pi-core.js:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/build-corpus.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"909346e9a58dd57a5ce743b156917a61c629050368ddc1e13f8accd8883a6db0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs:38 \u00B7 docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/app.js:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02951fa0a7e093f23ea3e1cb34511158084e06d2ba5b00591a6b4d09595bb00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/app.js:27 \u00B7 docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/app.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"56407516fb5ae55c956e8917d943cbfd5bf322affebac4058d0b8cf78ecded37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:39 \u00B7 scripts/ci/validate-rules.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"971358762d2d73e3c2554c53f960a3b3d1035f5960af33e0fc9a7b67a6951284"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs:39 \u00B7 scripts/loop-status.js:177 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9558e6aacc4a2e9daad5893c4fd8703d369178dc9410d891a083652edbefa709"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/context-profiles/native-probe.js:28 \u00B7 scripts/lib/context-profile-native-discovery.js:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/native-probe.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a3362c209753e88dcf53320cf37525e063319e718615af6d648990bee10298"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): docker/gateguard-effectiveness/lib.js:85 \u00B7 docker/gateguard-effectiveness/scenarios/secrets-config-key/grader.cjs:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ad7a9b1ab7f1d434643574d40dd562edb045e5bc8876276c6e158262e85a81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/data-schema-orders/grader.cjs:7 \u00B7 docker/gateguard-effectiveness/scenarios/data-schema-orders/reference/src/revenue.js:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/data-schema-orders/grader.cjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"051e7f76fe4afb720ee2ac1e963b6f266a3b465d86b2d844cf8c23e087c72547"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docker/gateguard-effectiveness/scenarios/importers-date-shape/naive/src/dates.js:3 \u00B7 docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/dates.js:3 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/naive/src/dates.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c4080e613fc820f3a4cb9c1b23645fcb6b1f921b980568f9b261772163f44c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): scripts/dashboard-web.js:87 \u00B7 scripts/dashboard-web.js:96 \u00B7 scripts/dashboard-web.js:114 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d9efa2d26b34eb233df58b96282899fb52b0cfb7bce0436b43c72f93a1a401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/hooks/bash-hook-dispatcher.js:85 \u00B7 scripts/hooks/observe-runner.js:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83824103a2d19f360289a9f68d05e6d583a7ab60ddac97c43dd6b22efafd9ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/hooks/plugin-hook-bootstrap.js:302 \u00B7 scripts/hooks/run-with-flags.js:338 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plugin-hook-bootstrap.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1b0545d54390a56f58c338cb267b9dcc792bdc3f85036664add61c434857ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/hooks/post-edit-accumulator.js:25 \u00B7 scripts/hooks/stop-format-typecheck.js:80 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-accumulator.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"292a85f20644b935d5a2466b4fd02dfc1256eda8c0b9eec5bc65a4d3df0f91b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/hooks/post-edit-typecheck.js:49 \u00B7 scripts/hooks/stop-format-typecheck.js:120 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-typecheck.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99a9fd18a289e57838d159aa3b5baccd0428211cb9657cb7605a5ad1851cea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/install-apply.js:175 \u00B7 scripts/install-plan.js:242 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-apply.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f9c1705ccc57a1123932ab28c55c7ec094008065182c6c63234a5fc899e457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/lib/astra-review/prompt.js:123 \u00B7 scripts/lib/astra-review/prompt.js:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/prompt.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee45e7f91bee249fbcc6f2bf29ed9166a985cc282e8f59cfe4660921f218bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/lib/context-profile-native-executable.js:26 \u00B7 scripts/lib/context-profile-native-executable.js:55 \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":"scripts/lib/context-profile-native-executable.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1416b8c6a4db46f8c90146a1881d5931ada1eb1c73c403d1e7403676a3fcce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/lib/context-profile-store.js:230 \u00B7 scripts/lib/context-profile-store.js:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"845de16a7f9f58cd12eb946096e12324edf625443ed3f2805bd74e344b6df959"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/lib/context-profile-store.js:89 \u00B7 scripts/lib/context-routing-index.js:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc56f3464db69f38074f09e279c313dac2ee0e76e2d7aa60015824eb3f32772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/lib/eval-harness/capsule.js:77 \u00B7 scripts/lib/skill-evolution/versioning.js:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/capsule.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0c2682b701f79ce94f982114716c7c35f73882482a0d20f91979d580a6818"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/lib/gateguard-search-evidence.js:116 \u00B7 scripts/lib/gateguard-target-class.js:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d394d7b54277511b30954b0f40532d9d63fb592dc090274a19f2e4e9932fe45a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/lib/install-manifests.js:180 \u00B7 scripts/lib/install/config.js:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-manifests.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4221276085949d32c3f4ff333a18e14b0c55b5e96650d864b158fe8993cd5ff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/lib/install/copilot-rule.js:91 \u00B7 scripts/lib/install/link-rewrite.js:127 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/copilot-rule.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b49ffa0be8af4ef4d701659502515038304ef9e57fa73758da8d381f5aee80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/work-items.js:411 \u00B7 scripts/work-items.js:432 \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":"scripts/work-items.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"044cae6719cedd1214ed8e3687bf5ee192364bfbaf22548b04bfd440139c1a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): skills/council-multi-model/scripts/review-with-codex.js:120 \u00B7 skills/council-multi-model/scripts/review-with-codex.js:215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/council-multi-model/scripts/review-with-codex.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ff1c57e59b5dadd9d23ae65b51869047808cd48654ac50941305cccc3b8af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: docker/context-profiles/native-probe.js:71 imports tests/lib/helpers/context-carrier-fixture.js, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/native-probe.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aebbaa4fbf4783434548f1aa7fd12a2c34bf67b9207e3871507c77c7f3d11c8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: docker/context-profiles/packed-smoke.js:11 imports tests/lib/helpers/context-carrier-fixture.js, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/packed-smoke.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ddf895f4cbb9bfa70eb19fbdbdb7c0a592e54ce298720f82d330b116617f53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 280, cognitive 539): runTests has cyclomatic complexity 280 and cognitive complexity 539; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/gateguard-fact-force.test.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c341f7080adde81242da7c846428c4f9f304a03d18bb8fb961e7e6b5c44721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 270, cognitive 529): runTests has cyclomatic complexity 270 and cognitive complexity 529; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hooks.test.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20badea9f5c107c5f82f79236c85ce718396a1b9866ea9e39ee976dfca1b99a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 197, cognitive 391): runTests has cyclomatic complexity 197 and cognitive complexity 391; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/utils.test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"16390d98b2de9f611776037b240a28bfd4e53e74444089dc23c1e448dfb5ebfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 180, cognitive 352): runTests has cyclomatic complexity 180 and cognitive complexity 352; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-manager.test.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db04e9255e04a2dbe29df1ad78a74257eacb1b90c0b252c0aa688496d4cdd05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 119, cognitive 235): runTests has cyclomatic complexity 119 and cognitive complexity 235; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/package-manager.test.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"95df3b7bbe52eb70db62febde0f3448a089bc16b56daaf16d05f553fc9ef2ca2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 117, cognitive 230): runTests has cyclomatic complexity 117 and cognitive complexity 230; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-aliases.test.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"200c7cabc94b8f5c5c892aaefbc9de23be78e416b13e48644bf4e63af7d250dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 75, cognitive 147): runTests has cyclomatic complexity 75 and cognitive complexity 147; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-lifecycle.test.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d421d6ca277c110bb4ae84305d01f747c72722bcec342470294b59084ddffa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 66, cognitive 129): runTests has cyclomatic complexity 66 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hook-flags.test.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fc81fd2588911e462b71411573a664b219f290361d6c82652bd47f08b4a862"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskContext (cyclomatic 64, cognitive 46): resolveTaskContext has cyclomatic complexity 64 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-selection.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1732ab149b6d77ada9af0fd0021f0c497ab465c3e88101fc7b2be939679d312"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 62, cognitive 121): runTests has cyclomatic complexity 62 and cognitive complexity 121; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-targets.test.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8db576b99d3eeb786fb2db348a16f0ed2405baaeea192418f181f9e5e74daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 62, cognitive 121): runTests has cyclomatic complexity 62 and cognitive complexity 121; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/plan-canvas-markdown.test.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb6c911539d8de3e4aff19cb51cc3a8e93bb6152e420b1229541064c671127"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 60, cognitive 114): validate has cyclomatic complexity 60 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"675b9debeedcf3012c61ec8ef179ae1088822b12910ea7d584909004c15456a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 53, cognitive 104): runTests has cyclomatic complexity 53 and cognitive complexity 104; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/install-apply.test.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ba00c30e395ecd999217105971c533762f15506f63bc6e106396163cd07665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 52, cognitive 73): execute has cyclomatic complexity 52 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-commands.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ce91e7c15f34e7d7a654484355d901a6f6aff41d37a9a4b900867037e3255d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 52, cognitive 55): handle has cyclomatic complexity 52 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c28204d641e246bd06ce50f4537006496bb5715c4ff5e5c460ee21bf5686b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInstallManifests (cyclomatic 51, cognitive 90): validateInstallManifests has cyclomatic complexity 51 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-install-manifests.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba73a9f642f7b72c82fa40b9b4fb9fd649ab38c94b5121759497712b7b5457e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 50, cognitive 97): runTests has cyclomatic complexity 50 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/suggest-compact.test.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5faa4fcc9eacf7f0cf9c08abb3b80f5fd261d2e8a3968d4e42301718f791af6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 48, cognitive 93): runTests has cyclomatic complexity 48 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/selective-install.test.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17b744bc0aa79402d78652c8b64602b19c3b49f2308b1b055f9721d1b58e57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uninstallLegacyCodexSync (cyclomatic 47, cognitive 78): uninstallLegacyCodexSync has cyclomatic complexity 47 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8ef4dfecb7277e37af964c836a4e35cdab3bd80204f4874c22b44a8ecf99b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 48): (anonymous) has cyclomatic complexity 47 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f6a0c2be3125f227850d9dc2fa0f330eb189423d58fd171b45e72714e42438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 48): (anonymous) has cyclomatic complexity 47 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6292b4a35afd2273b24f907273aa84da33623a962da6c9765354348608f3e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 46, cognitive 76): main has cyclomatic complexity 46 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/merge-mcp-config.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8f6d1ea8f3a520bd885f6836429476835e536912f6ccc6b0d972984345066e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 46, cognitive 51): parse has cyclomatic complexity 46 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-commands.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5228c14a60345dca2165a8dc90f6cda0f8e9d443853bca18365fb1403e86acff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blankCommentsAndLiterals (cyclomatic 45, cognitive 97): blankCommentsAndLiterals has cyclomatic complexity 45 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/gateguard-env-documented.test.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e084a10496cfaf13dce72edf42afe185d70f50f8eb8fa176696f4e917372920b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 45, cognitive 87): runTests has cyclomatic complexity 45 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-manifests.test.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6253cc19a8a6bf24570c5f8f74e7be7d2fd85ca7192fc5106d216a27bb30c4a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 45, cognitive 87): runTests has cyclomatic complexity 45 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/project-detect.test.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f8e68f2c90ee081cc5ed4f4347276c69a66c9e1a25f578eb40d0e1a5bc419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 44, cognitive 85): runTests has cyclomatic complexity 44 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/claude-settings.test.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"112f3bd8898870ac45f88c780bd4381bac5fd4d42bf546d616ef721fbc071e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 54): (anonymous) has cyclomatic complexity 44 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/server.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec84bd60a524b059f78dfbe66ad161a826428550da79b8aecea1f30f52fe319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleApi (cyclomatic 43, cognitive 74): handleApi has cyclomatic complexity 43 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4b968ae1389cb7a05b7b94f4a4ba81f913e509e8e3d1e07778ce3bfc5aca37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyInstallPlanLocked (cyclomatic 43, cognitive 63): applyInstallPlanLocked has cyclomatic complexity 43 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f77f9899fd8f915b9da575a208b25564c540e0ea014cb88ffb66b2d302f797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 42, cognitive 68): runTests has cyclomatic complexity 42 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/pre-bash-dev-server-block.test.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7850ef35152db39c1ca505d00af8eb3692d613f03d5f870ee255109a14b78ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeInstallRequest (cyclomatic 41, cognitive 32): normalizeInstallRequest has cyclomatic complexity 41 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/request.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11c78c8bb1a65523725e3b12434e0b176aed24e6e0b336cbc802160ec14d919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function push (cyclomatic 40, cognitive 73): push has cyclomatic complexity 40 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hook-input-limits.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d141af21ae4c154fdfedc758ff3ecc46e8bc57d5d97ec8df4cd9ff9386d57f8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 40, cognitive 52): transition has cyclomatic complexity 40 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/shadow-trail.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52ddc5fea5bb78ad20eb9df01c26ca5b764c2fbfcff3bc7a577453f56847bc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanCurrentTurn (cyclomatic 39, cognitive 62): scanCurrentTurn has cyclomatic complexity 39 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-turn-scan.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43532e7a3516a26f68f1ac6b9b79733f6e26eb614528346dc802be652738df4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChecks (cyclomatic 39, cognitive 35): buildChecks has cyclomatic complexity 39 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/observability-readiness.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5727a7ab848a28f5a231957191e58c2b2703052f9c41cc4b32dd2384bdae623e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 38, cognitive 73): runTests has cyclomatic complexity 38 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/skill-create-output.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7427595d0f34526f69b525348f32b2173614aff8a08be5c7fa5325eb2a47fe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 38, cognitive 35): parseArgs has cyclomatic complexity 38 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd473c879269a810d5d0c349b1bab7081108c41b4e06cd6de508cbf332ae2706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 37, cognitive 71): runTests has cyclomatic complexity 37 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/governance-capture.test.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e3a6133c758956b00c2dcc9e507f7447cde69d7fbd6666cfee37be6a32b92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 37, cognitive 47): runTests has cyclomatic complexity 37 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/opencode-hook-consent-safety.test.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbabe7f22ca79a1718a09a1e8c0a2e72adb37a5d46245caf22b8208539979007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchTaskContext (cyclomatic 37, cognitive 41): launchTaskContext has cyclomatic complexity 37 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-launch.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11dff094c2563a6862c586ce604896cc5d6d1c4c1bc7b2620ac0be5043d8d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 36, cognitive 69): runTests has cyclomatic complexity 36 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/resolve-ecc-root.test.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c63a7a32a37b570724e0cc87a3a00798b54c3b6c1269b334757d3855500eebc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 36, cognitive 69): runTests has cyclomatic complexity 36 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/harness-audit.test.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10efe01567e1e7ec36210722f774a6e9be42f4e01157ed9f9db66cd0a7bece0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeTranscript (cyclomatic 36, cognitive 52): analyzeTranscript has cyclomatic complexity 36 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbc1ff4717c3a3b10fe97f6ed3c40e37a36e2198529bbd8011739a1e1ce3986"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReport (cyclomatic 36, cognitive 30): buildReport has cyclomatic complexity 36 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63336ecca8eecafc1964fd958923ed9c6736d9f1b1ad384bb359e94d44d5c4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 35, cognitive 67): runTests has cyclomatic complexity 35 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/skill-dashboard.test.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"23642b235b583a756a548f4eeb586dd4a25e2c18804e3a6ed7d9ae04f49c789f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 50): (anonymous) has cyclomatic complexity 35 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b221dcd21b8e20067c0fbd975183dfcc1e6b8601a66dcaa9f25e24f8a0bee6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 50): (anonymous) has cyclomatic complexity 35 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d19f9bed3179ffbe4953927d086a4da89cf7ee323fc65ffff392337ad8adb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 43): (anonymous) has cyclomatic complexity 35 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d0825f7bc9ca34b34b0b1634515fcfbc0d7de2dbd282705f5f77b98fe1c9d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 43): (anonymous) has cyclomatic complexity 35 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d982412fdf04dcc18785f3057b1e0404c050bb24e5894a3b8eda38e7109c8b80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertOpenCodeHookDeactivationReady (cyclomatic 34, cognitive 42): assertOpenCodeHookDeactivationReady has cyclomatic complexity 34 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c796a4c7d53a804307510bc3de917b522448d8b23f1e9d4f0c1ff3f1acee596e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInstallArgs (cyclomatic 34, cognitive 40): parseInstallArgs has cyclomatic complexity 34 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/request.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1880e91823cb7108af316cb223f09b613b5cf04bb52e81a0fb6ad7a349aca22a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 34, cognitive 38): main has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37bbc5ec54637fa1aea4d855179bf60e9a5b8cc1e816261787dc53241c5a44f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 33, cognitive 79): runTests has cyclomatic complexity 33 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/plugin-hook-bootstrap.test.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9363244c6db46da1315b970d670bdf9fb348e917cc49f9f83aba3e7a607412cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 33, cognitive 63): runTests has cyclomatic complexity 33 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/setup-package-manager.test.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"57071ca511ec8bc3559295481eb5f2bd843a520a11e32d4426e881d54ae80f2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 33, cognitive 39): main has cyclomatic complexity 33 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8187275b5cd4411d480ab718d28467540b438a696fd3da968b9eaf6fcb5b59f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInstallPlan (cyclomatic 33, cognitive 35): resolveInstallPlan has cyclomatic complexity 33 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-manifests.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803b4ed80053db083d725c19f02094f8b848c46a3ff95ba1658df72c92046da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildUpsertPayload (cyclomatic 33, cognitive 32): buildUpsertPayload has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e5b05fec22fa4b99f440120d54b88ff10284ab92b72709a88550b8cf5d4895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 22): (anonymous) has cyclomatic complexity 33 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee75974e179a16920226004493d23ca51a03925daebc52246cc2d5c036e8c57e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 32, cognitive 37): main has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff85dd4712a7d98cc70c9247975ee5ed105d329c8faa64a17800c6a30f1beab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inputs (cyclomatic 32, cognitive 29): inputs has cyclomatic complexity 32 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b37bdcea5876cdf19e446bf74f74c16eb40347909b08b3cb6a781636a6ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 31, cognitive 59): runTests has cyclomatic complexity 31 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/agent-compress.test.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4249891f99522656ce6c6d61993b68fc88ee7d651459dc5914efcd3ff8a7b477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 31, cognitive 54): renderMarkdown has cyclomatic complexity 31 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"755f2d8f6d15ccde81d5da8af96da83ee8eb364be7372a00838c5b638a6ec5f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 31, cognitive 48): run has cyclomatic complexity 31 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/forge-cli/src/cli.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d139fc9be6f55aeb90ca83afa1ef5c6a82d5a900ec9580266768bb6148fb5fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeFileNoFollow (cyclomatic 31, cognitive 30): writeFileNoFollow has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/guarded-write.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f331eced085fbc2929e7f8605b0d19aec61633d82a017b077ade684884eddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackLegacyCodexSync (cyclomatic 30, cognitive 49): rollbackLegacyCodexSync has cyclomatic complexity 30 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3940acb6a10ee3cbad4649414cfc24a9b16e2ee2f6f31485ff48054b3a766361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEnvelope (cyclomatic 30, cognitive 34): validateEnvelope has cyclomatic complexity 30 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/envelope.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d85666369a52057b40295f6fc74afccdfbf227449c2adabc0add3b52a8c75f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReport (cyclomatic 30, cognitive 29): buildReport has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da37096f4c3296ba3ef4826d7f077ca2e02007f99cbdd18f562b8903138cf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareUserOwnedFileGuard (cyclomatic 30, cognitive 28): prepareUserOwnedFileGuard has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/ownership-guard.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bb083c52ed3302046e3ffc6e27a41159144d47b54ef59249185e5d9526fdb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 29, cognitive 57): runTests has cyclomatic complexity 29 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/mcp-health-check.test.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a78ec891499dfa4bf35c2937d9acd377b85923cf086afab8a477eb1f2fd043"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 29, cognitive 56): runTests has cyclomatic complexity 29 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/ecc-metrics-bridge.test.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4d0f584dd0222db6c9a73e2b444e3ce4baaa2ab8e94de1f42e24551bb3113"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 29, cognitive 55): runTests has cyclomatic complexity 29 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/hooks.test.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98466f69d8432869e716c3f8560f71493c5c6ab966840c253c54f6cbc14863d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 29, cognitive 54): main has cyclomatic complexity 29 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"161d39193cb1f6155d0976ad9eeb9bcad1dd032bf01db86428b5aeb0364cc770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeRunQualityGate (cyclomatic 29, cognitive 51): maybeRunQualityGate has cyclomatic complexity 29 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/quality-gate.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf201690c39fb22cf3ae154cb59b39538c0ad403f3d991bdffedabf920ffb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseChildResult (cyclomatic 29, cognitive 33): parseChildResult has cyclomatic complexity 29 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/gate.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb87b0e266ce89eee4e0ed195902256c0cd11ab1b884675b0230a61fcb9b9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 28, cognitive 53): run has cyclomatic complexity 28 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/validate-workflow-security.test.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc8588c130026e7d3ef481677aad3123ddd1c1a9c83b10a9b48ee3b1268561"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 28, cognitive 53): runTests has cyclomatic complexity 28 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/inspection.test.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"12455fad5de6db1af6f6e7e7139a06f317fb8ea92ef2f08ddcd82557b90e5b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 28, cognitive 53): runTests has cyclomatic complexity 28 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-executor.test.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250e4282a01aa2738a801f6c63875001d1754ae0ffd0dc61444b0622f3c542b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 28, cognitive 49): parseArgs has cyclomatic complexity 28 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/platform-audit.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba85daf09b54f6a6869f9865cbbce5483d41981133b833601e18f3f4904e1f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptFrontmatter (cyclomatic 28, cognitive 44): adaptFrontmatter has cyclomatic complexity 28 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/qwen-adapt-agents.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"baff90b47376aab6126edcf39680a6402a3ff4b16067f33a1d2d85d3889f91c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function iterateHeredocs (cyclomatic 28, cognitive 42): iterateHeredocs has cyclomatic complexity 28 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-heredoc.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fafaa52d459724183055f4947f51f100be2bd29211bd7b2dc83309e7ba2d17d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateClaudePluginScope (cyclomatic 28, cognitive 38): migrateClaudePluginScope has cyclomatic complexity 28 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-scope-migration.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d529a9cca502752cb2e1bb9c3f42c1e4a9e1d79830c4d77ccb454f32302b1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printHumanPlan (cyclomatic 28, cognitive 35): printHumanPlan has cyclomatic complexity 28 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-apply.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc45354a83adf386cbd3878de1d7fd5728584b735e2967ed686da8deca6d91ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 28, cognitive 31): main has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/run-with-flags.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9b2fe9fffb73a6784d0b80183ec396fb553bc15fbbe9266ff3e51a413fd76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPolicy (cyclomatic 28, cognitive 28): loadPolicy has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/policy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bec157e295f8dce3ece258c384b0538083662941977c9d702173da9fe5b4b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 27): (anonymous) has cyclomatic complexity 28 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/hooks.test.js"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91016bc6e8cc975617dbd375bac7bb59c987d951a2578449c3dff6f4b30fdf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeExecutionRecord (cyclomatic 28, cognitive 23): normalizeExecutionRecord has cyclomatic complexity 28 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/tracker.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd4c91e28efbbaecbb33a24cdf9d28306f9cab66ba1c8ab35ff2da38921f9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCommands (cyclomatic 27, cognitive 57): validateCommands has cyclomatic complexity 27 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-commands.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7643495e55d573f395aef12d773193231ea3305d725e149b0b8509722972c46b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeManagedHooks (cyclomatic 27, cognitive 53): mergeManagedHooks has cyclomatic complexity 27 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"243f3e255b572abe5c12774e0a06d88af02383e16d55363fc49995cd9aef7743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 27, cognitive 51): runTests has cyclomatic complexity 27 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/loop-status.test.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187834efd522c24cff39fb94dcd241143daa49ff09a6d700aa02503c3fe2bf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 27, cognitive 41): parseArgs has cyclomatic complexity 27 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/profile.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0649aa52974c5aaee27e3d722120162eed396bd2425fa139c6aed788384a61fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 27, cognitive 32): parseArgs has cyclomatic complexity 27 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-plan.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3613bf5b425bdc1c2246144e4e8f861e7a1115d0a406c24a387c60e1026e6a1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAutoUpdate (cyclomatic 27, cognitive 30): runAutoUpdate has cyclomatic complexity 27 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4420a4a5528e8517b75f295ca36f7797c8507ae6dfaa5aec62be21b8a1e8168"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeForGovernanceEvents (cyclomatic 27, cognitive 29): analyzeForGovernanceEvents has cyclomatic complexity 27 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/governance-capture.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0722f88aef2a31503491d9475fabd7e3c39a100bf6a14e9b52485006e6e4bdf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 27): (anonymous) has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/issue-submission-guard-workflow.test.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c896ba94389ded1e99b6ec7c418839d1fba8bec2b9ab630780c2663cd826e3fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRule (cyclomatic 27, cognitive 26): normalizeRule has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5714547a8bba9ef32861f10c8c7eb7ff0d2b9e3377a4a8f7933b270a6d9b4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTask (cyclomatic 27, cognitive 25): validateTask has cyclomatic complexity 27 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-selection.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4fc80369eb1be361502090523a93aa4621788685d61051577e4b8a0c15ebd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRoutingIndex (cyclomatic 27, cognitive 14): readRoutingIndex has cyclomatic complexity 27 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-routing-index.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cbdd048c23047ceae9fd69cdae220a91cd26f3ef6c5750d9861f6095ac9b30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 26, cognitive 49): evaluate has cyclomatic complexity 26 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c341dbb15401f0f1dc9ea99f4991c551c0b4f6484d7a4c8f782a11b16bb5f076"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitShellSegments (cyclomatic 26, cognitive 47): splitShellSegments has cyclomatic complexity 26 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/shell-split.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99935261744d26df6a34ee7b2b1a14574f5057889bb8646daa89300d5e46bde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 26, cognitive 46): renderMarkdown has cyclomatic complexity 26 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/markdown.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da5d7ffd7f1108a4eff5c787ace5c828c95a2968793df4d52042850689a9d05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStream (cyclomatic 26, cognitive 41): parseStream has cyclomatic complexity 26 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea578483d2ee6db23e804f29f47a14f0c83cb89df5797058f60eabeb6cb6d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 26, cognitive 32): parseArgs has cyclomatic complexity 26 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/astra-review.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dee63107a87843b8f92445683f041a7eee647161a724ba244faf0770bafda7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withClient (cyclomatic 26, cognitive 31): withClient has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/memory-mcp.test.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ddd764f5de1491df44c870a40d7146e5b0f56450bb4fafa57e3171c31a609d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 26, cognitive 30): runTests has cyclomatic complexity 26 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/doc-file-warning.test.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7f34cf9d52e54b8c6fa561a5a20296950d94e1bd9004584e9d715d5e595ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupLegacyAntigravityInstall (cyclomatic 26, cognitive 29): cleanupLegacyAntigravityInstall has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ea0d506c66fa659b84dbacdb44bbbdc3bd14fc8662879095d4c9a702c2c29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 26, cognitive 28): parseArgs has cyclomatic complexity 26 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fb6ce067ec3c04098295260f5d831636c526ac2397749bd93e44b4f5a2472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateVideoArtifact (cyclomatic 26, cognitive 26): validateVideoArtifact has cyclomatic complexity 26 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2481d84a958712e90760b58097180160533faacee9c1036f775bebb4cc0faa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectProjectType (cyclomatic 26, cognitive 25): detectProjectType has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b16cd3057296e98b54da993a1bcf3f9b2d11f2647d92f81cf8c08749394be95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 25, cognitive 39): main has cyclomatic complexity 25 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075cb052a53cf6191edd6be715433461c848e1e5f6aad47b80466270fe4f46e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectMatchingSession (cyclomatic 25, cognitive 33): selectMatchingSession has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c9385487b76719671605f67953d4d4d74be1f7a7aa7edc37d20b14cd2fdadc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHookHandler (cyclomatic 25, cognitive 28): validateHookHandler has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"75822c0316409b9ae03037d5528c5cad9f73a94daa9b5d3505992c64314a1607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReport (cyclomatic 25, cognitive 21): buildReport has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/preview-pack-smoke.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c26ff01455cea20334f34cf709d1b1b98a2f18c7df3f42adafbd2e58378883e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 18): (anonymous) has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42df12090e2d7eb240a5442ce6ebaee8cf6c43aec84885938e62751e9ac4685"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 24, cognitive 45): run has cyclomatic complexity 24 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/scan-supply-chain-iocs.test.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd678bbbff4be45725dbf5a710c2ae6b2a55d13711573fdd059cf4be8fcb4d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 24, cognitive 45): runTests has cyclomatic complexity 24 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/agent-data-home.test.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcbb342d6ce936892d22860781de7a4bee4e7eb528333fa6eadb5058ea7edba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 24, cognitive 40): main has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4b8fca180e2acec6f598d8eb1ea0ed2333458d622972b1222ccac35bdcf4ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 35): (anonymous) has cyclomatic complexity 24 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/claw.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fb49d8f4246e7b971a1303b9f151ee9df667ea3764fd256d69aa5af922bd2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 24, cognitive 31): main has cyclomatic complexity 24 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/merge-codex-config.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9599e6c326c36d8c9c8772124347d6539804fcf987674e2cb8e40c7a6acb0816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 24, cognitive 31): renderMarkdown has cyclomatic complexity 24 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/platform-audit.js"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dae718163091097b8079a7d1e81159a7caa3355335b75e62a4b3c76bf8ca24c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyReceipt (cyclomatic 24, cognitive 28): verifyReceipt has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/receipt.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ef7607ea3d417ec66e5acecfabc1662dfac9c25fd1d6bb346a729ac408bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runClaude (cyclomatic 24, cognitive 27): runClaude has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe959c426cda8ee9278f4ac9293416dac3c9dec9311afe2f37a61f9c316207fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wildcardMatch (cyclomatic 24, cognitive 26): wildcardMatch has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9245af974880142586d6295f92e00b4b92ebdcd98c63953aec6afd3686308d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 25): (anonymous) has cyclomatic complexity 24 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/insaits-security-wrapper.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22a3f863bae744dc7e4a58a1377efb1a9e4491e499fcb3b23c0ee873f8a94dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePayload (cyclomatic 24, cognitive 16): normalizePayload has cyclomatic complexity 24 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/shadow-trail.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb0959ff0b092670da4f4f1230ccab0b3e1b7ba233747edabf285005310f613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 44): main has cyclomatic complexity 23 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/agent-convert.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90ff413760191738639259e497928d1e45fa7cb9f8f509281216d87c94f3b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 23, cognitive 44): runTests has cyclomatic complexity 23 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/ecc-context-monitor.test.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ee33856d5909ac9dacbe04b6ba06f8dae73a9651ddf0cf4e8b81051f17a85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 23, cognitive 43): runTests has cyclomatic complexity 23 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/claw.test.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0014674a86c85083b665a39a71fa47de89356a67a93bd1b6b8de862f27c1bc90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 23, cognitive 43): runTests has cyclomatic complexity 23 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/qwen-adapt-agents.test.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcea64e5427e24007e2294328e62ed1126b004222e04cfdcbc57428f1c9e37c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findViolations (cyclomatic 23, cognitive 35): findViolations has cyclomatic complexity 23 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-workflow-security.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144d634933100f63e0938d27c63a9e03693b152646e8826940dc9723e67ace7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 32): (anonymous) has cyclomatic complexity 23 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba4ffbd3304b1106b0cad967bf0ce761ec1d776bf3fe1c4a6025d768fdb58df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 29): (anonymous) has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f791461b351ad16b5be5e70b5fda1c77007ada1a7f87c0e6a1780250d0941bbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 29): main has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4eb8849c17f6e9debb0e954f4041a315c0ea86682f8bbbcd5e619f295b193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459d77e1d999474adfec5499c4e69c030b556d493ec217c20a9365a8788ddff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fc2753697fce2bda457ca4f895cbbfd187e157c9f5d80a488d840ed5bf6769"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 23, cognitive 23): runTests has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/session-activity-tracker.test.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bc92743d3eeef6f5b420a0441dbda1cd668f593ecb6644f635b90c976b5b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createManifestInstallPlan (cyclomatic 23, cognitive 22): createManifestInstallPlan has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/plan.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ce8945df2949f777c16df523caad2b6ad7bfd9af467a66c89f7ae1d1b623cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGuidedInstallRequest (cyclomatic 23, cognitive 22): normalizeGuidedInstallRequest has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/multi-harness-setup.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9356e4c2aa45e29b589f683fc342a23dca434b86815aba8b2a0de0ca26186c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 23, cognitive 22): runTests has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/cost-tracker.test.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef55a14c07b21a59da1ab5d5ece0bd4081ad31b1f0bf00f5e17cae2b0b574a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 22, cognitive 41): runTests has cyclomatic complexity 22 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/posttooluse-dispatcher.test.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cde0fbbe29705160ec9a544786b6f82347db715ce4c4d44653681408e582b49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 22, cognitive 41): runTests has cyclomatic complexity 22 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/skill-evolution.test.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ade9816fae7dea09f6bfea2813eb22691af8f7b1be3b1c4a3f0b5a9dd48d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 22, cognitive 41): runTests has cyclomatic complexity 22 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/state-store.test.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d2f4f4aadb054ef7972a20ae87887a3bc3fedd8365c1e1bf619a261cbe9cd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEccRoot (cyclomatic 22, cognitive 33): resolveEccRoot has cyclomatic complexity 22 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/resolve-ecc-root.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27ca6bf098083352041464b9d95cfa95a9daf08da8040c2a9ec5143d391b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aca021cbce476d2c54cec9e87eb50c68daa891d350d02ccddb911bc7d945bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0145628d3aff564b3f6fa9a28afd4d7e740ec55cf54e464c41ba67fbabbd61cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 22, cognitive 23): run has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfa359f2184f72232ea5986f1d8836da07ddf213782002e7a975554eb325b61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 22, cognitive 23): parseArgs has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/terminal-opener/scripts/open-terminal.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591bbf6feec2b0130115d95819cc6a8482728d79736666a2e3c2d99511f6ce3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStep (cyclomatic 22, cognitive 22): validateStep has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e130d6eb87f534b6dca0e1bda66226553a36a59f2074de08ce416879bbf649e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cadd70d42df15ff651f0e3e87abb3d1b0257b62e750a0dacd073ef0908650d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function words (cyclomatic 22, cognitive 20): words has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df347b128b31002efecfc9bd8147d4ca207e4332f5d3a86c631f4965732d65e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 21, cognitive 39): runTests has cyclomatic complexity 21 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-request.test.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a7c3229250da5f1e230a7c092ff16bfc9484a8b7af1c79033d71560c3dc7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFrontmatter (cyclomatic 21, cognitive 38): inspectFrontmatter has cyclomatic complexity 21 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b345b46e5d33a114e48c6e8e425f4c1f80ba0cf4e03cdb3525334ae60891c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advisoryEvents (cyclomatic 21, cognitive 30): advisoryEvents has cyclomatic complexity 21 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/control-plane-view.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b247c3f7fb911720ac50036c67c70f8454b203bdee75050f683f99bf0b0d6e59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 21, cognitive 29): run has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e59cb17b28c2b0d2ef9a1da19702f4d1a2eca2739e80fa1f7e32115970c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9cb5e47468c7566d190ada8744d69de0e3ff25a9ea13994353749ea5848998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePreToolUse (cyclomatic 21, cognitive 25): handlePreToolUse has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e751d39359ee6ee5b37baa122bb25af1e58c7a399a6ec99e550a42a6199fa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/control-plane-view-ui.test.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d596ccb58c5a69f0939e371ebc3d4fe4a0d4879ebcc9e60c8c5d321e120a6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 21, cognitive 22): main has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"06700a1363f5dc309b9074736b2b0b3ed4989e1580b4ec55b534db8ceabf27bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 21, cognitive 22): parseArgs has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cbb5a7bbe02bb2be6ac994f3172a2fce84a2b12e747d97af07dc7c2715a940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeWorkItem (cyclomatic 21, cognitive 17): normalizeWorkItem has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76ab0253497c5d75429e7938c5b690ac6ab47917007a001dd6644898c73ce26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 20, cognitive 37): runTests has cyclomatic complexity 20 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/control-pane-ui.test.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"49432314794e5394ae959a8c018345b17bd71d034b19bedc9e82531a0d2ea12c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 20, cognitive 37): runTests has cyclomatic complexity 20 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/instinct-relevance.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2f55072fcad33111af55cca65f0c13956adbdcbe85428786115ce74f85cf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 20, cognitive 36): runTests has cyclomatic complexity 20 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/plan-canvas-sessions.test.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d66069da9f80e9ac0c79f425760fe88f41ea08069abdc47c343351e04dfd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function csharpStringEnd (cyclomatic 20, cognitive 34): csharpStringEnd has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc60277b51017a9b50173b04e0ef62612a37df1b17dd2fce662efbeb08500c31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripJsonc (cyclomatic 20, cognitive 34): stripJsonc has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/hook-consent.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b271fa92810ae3d05d60ae6eb3cd8f6a893adea2b2b1a5c2229982e7108418f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyShellFilterArg (cyclomatic 20, cognitive 30): applyShellFilterArg has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8040decab6c5ac3c6f5bc9fd7b6f1b46e040d412b9bd44f8c44e556b65ba1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moderate (cyclomatic 20, cognitive 28): moderate has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cc7d07a62005065938fac4e43ded2b8e4f4588d77b70e3376acc3b884fa980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 20, cognitive 26): parseArgs has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3519876609883bea7db0fac2a8774fcba9f30271aaebc52b7a621310b414c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4ff59408244d5bf40a625aa33cd973b5ecc9c514f22a5ce40f9800fe49489f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shSubstitutionEnd (cyclomatic 20, cognitive 25): shSubstitutionEnd has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6347ff32928522d5809b0c6c363f5d4980f28b59190c55e0d98f3117d849ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 20, cognitive 23): parseArgs has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/setup.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"880510b61f0eb4ce33fff4ed18916ad36cbaa662d2d28d77693c84196bf650d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 23): (anonymous) has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/pr-burst-guard-workflow.test.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6c55eb4a0573ded4a4b6ad66836a102ffca2eb3720f29d5cbccde809a1a3aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 20, cognitive 23): runTests has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/session-end.test.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"980992a8349362c97b7dd2d8f0cb835dbe5db25f379dcf6af6abe0e43f069ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileCodexPlugin (cyclomatic 20, cognitive 22): reconcileCodexPlugin has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-plugin-setup.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6260c2f29323b5f41a0b1a5a4e4753269aef978cfabe27a9230b32092e2694a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runReview (cyclomatic 20, cognitive 22): runReview has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/council-multi-model/scripts/review-with-codex.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ca98894a0abfaa7684012ef238bb398d1dcd0828d7cb725b63eba4b0496e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupClaudePlugin (cyclomatic 20, cognitive 20): setupClaudePlugin has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87964ad0b8accb0a0e34f2d09b10ac4e135cb22c525252f33177f0a45b0fb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildControlPlaneView (cyclomatic 20, cognitive 20): buildControlPlaneView has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/control-plane-view.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b433b99bc9c2dd5e5d0dfae22c528d66339c2eceb7e95be7d972f0c5b0b13b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignOption (cyclomatic 20, cognitive 20): assignOption has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a3bd16df1ada07f19fedd944d5e06857c72dd368ca346da057c182292d5f85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 20, cognitive 20): api has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/pr-burst-guard.test.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bd2f93d2247d4a781d52eadc6dcaf49aba988c2f0417bc5a69a4d99b2b362b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExecutable (cyclomatic 20, cognitive 19): resolveExecutable has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native-executable.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"532a2a9796c23eea594016048208b1781a42f7e53eb6794db7161913557fb1fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildValues (cyclomatic 20, cognitive 19): buildValues has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/master-agreement-generator/scripts/build-agreement.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"debe6d886601cd528e0f86625b97b66f3dcea6f0cf970df603deb43719c1f4a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b617df82444da94ce1a68fda18d35708168a936739bae72596675bb41032c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf976ae7c82eba9a695c72173c00170332273e80015f2cf6dd630f8f592fc049"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildControlPaneSnapshot (cyclomatic 20, cognitive 17): buildControlPaneSnapshot has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8964790cb35d3f2cee864b50211fbc2ae6e90379a9f5dd7149f264a16e2fa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDangerousInvisibleCodePoint (cyclomatic 20, cognitive 14): isDangerousInvisibleCodePoint has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-unicode-safety.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9a8df023bb7b9de0274611c6b48dd8fa117ea94dbf7c7576a7fb5f494f1a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRuleFrontmatter (cyclomatic 19, cognitive 42): parseRuleFrontmatter has cyclomatic complexity 19 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-frontmatter.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f818914217e2f25bd5475a1e4bb9c26ef6a4b4aaddcc240d5b7f5f6fafba10ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitEnvWords (cyclomatic 19, cognitive 41): splitEnvWords has cyclomatic complexity 19 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4da7c6fd6490bc630ef277770a0458359600f965b5c40e66bd170d8beff832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 19, cognitive 35): runTests has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/codex-legacy-sync.test.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e052e75e4691b532c82580773283e762da5ad678e0a9758e825814b81e9fe05a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 19, cognitive 35): runTests has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-claude-skill-migration.test.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e560c76f948a4ad4d182e3784ebdab5552a552fb8a8f524807d3902ed0c1d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 19, cognitive 35): runTests has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/auto-update.test.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"700c1fceb39a8e9ebc2619bd63628cc15c4eb7b4a021e68a015fcbe63d3bd0e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 19, cognitive 35): runTests has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/control-pane.test.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ef2196b90c8fe45d3152123f9fadd1d19e92999c7f21299b3db2464ca91b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatReport (cyclomatic 19, cognitive 33): formatReport has cyclomatic complexity 19 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/worktree-lifecycle.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68005061a3be92c83325c24dc7fe2fe727b1b8f5395c35653b55fe4e9a450671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 19, cognitive 31): parseArgs has cyclomatic complexity 19 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discussion-audit.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5b3216e5450e32a253b3f7ff11cd0d5823fd3a2c15f2407914bf02ccf059e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pythonStringEnd (cyclomatic 19, cognitive 27): pythonStringEnd has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e918cf607582ae0d448d44da395bc0cfb7a4556018f2960e4cd84ce0f8e3b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shellRedirectsFile (cyclomatic 19, cognitive 26): shellRedirectsFile has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4b6d434679520f2cfe5ef09629449f10c13a0252c7be8d6927cd2a826c317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function citationFor (cyclomatic 19, cognitive 24): citationFor has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-selection.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"67027a70b807d0af413080e577a7c10f4e8db073cb5c92c10637827291d4f43b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitStaticArrayItems (cyclomatic 19, cognitive 24): splitStaticArrayItems has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c9447ed556d95be90592ca77a85fbbc0d93d06f35bffcf0e4369d0e80ae88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDollarSubstitution (cyclomatic 19, cognitive 24): readDollarSubstitution has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/shell-substitution.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd79345806bfa29315932f8df595af17c1aa4baedb88bdd68d6fb0969d068de9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openRegularFileNoFollow (cyclomatic 19, cognitive 23): openRegularFileNoFollow has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba21f7d3d6cc6245f7b88e20dcb6634d27d8c00df14e4cfd9d3a4a44a3b8283"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessExactShaGates (cyclomatic 19, cognitive 20): assessExactShaGates has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"45df606a02ed6519975219a850f8aae6e8a8d88069eef3a51b47a78aec389df6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startInteractiveProfile (cyclomatic 19, cognitive 19): startInteractiveProfile has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-interactive.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdd4bf612c403f17e5f239b76fec874aad797193a1f925d3b23d4015ced3374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 19, cognitive 19): parseArgs has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce563ca9acb2da02fac82a8098b24cdc1c950375347ec34c16f879c0092b8f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 19, cognitive 19): renderMarkdown has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8c393ead2d74f9860228fc0f9702f3bb749f0f705b8f5ef4161a7bdb22fa69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHermeticPythonPrePush (cyclomatic 19, cognitive 19): runHermeticPythonPrePush has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/codex-hooks.test.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba7c8bf088130a2e11fecb8d0b0d1c57663c698771f544f757e03cd76f84b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 18): main has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/suggest-compact.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da23ee27e373cc78472aa06d44fd88e1c99ec881eb27d9d50436a430b05b93e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 19, cognitive 18): api has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/issue-submission-guard.test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3594ede94b0e3c2681b7aebbed12adb1e19899b9aff456206d460d8d09582b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadReceipt (cyclomatic 19, cognitive 16): loadReceipt has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983ae76945b7aa9b7483da77b90da5991111aba4389ddd7c3e529038b9031de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getVerifiedManagedFile (cyclomatic 19, cognitive 15): getVerifiedManagedFile has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb6a156e8410438677bf12ed892afc6e6b6d44729e7759b5ba33befbb2b60d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluatePrimaryRender (cyclomatic 19, cognitive 15): evaluatePrimaryRender has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabaebe66cfc0a67c46e37c84cd632abf4d02864b4ff57477a168df4da3e26d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fingerprintExecutable (cyclomatic 19, cognitive 14): fingerprintExecutable has cyclomatic complexity 19 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native-executable.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"362e14b5b15ed5d9343f2f26a9b4be02b6181fa7f4677ea75c9b51aac4f06dbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proposeTaskContext (cyclomatic 19, cognitive 13): proposeTaskContext has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-proposal.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b0021fadf645a9fd4d1746768923ed8c7d72c34186830687fe76392b57ad9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sedScriptParts (cyclomatic 18, cognitive 40): sedScriptParts has cyclomatic complexity 18 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b6812609d0de2002e757442a2981cf53164c898b52bc6e27c1b0e14b33123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptFrontmatter (cyclomatic 18, cognitive 39): adaptFrontmatter has cyclomatic complexity 18 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gemini-adapt-agents.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf41630499c4c76d9b6de8b6b53e1eefbc390f1ab54d5cc9c62de07321a044b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandStaticDoubleQuotedString (cyclomatic 18, cognitive 33): expandStaticDoubleQuotedString has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ad7c9de3f4960071902ea62dc87fa5e51d45744ccd9926f191486266a3d29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 18, cognitive 33): runTests has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/evaluate-session.test.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc3d231aa26e3c88e9074ed87fecea8d4d8370f20baa1fa5a63bd64a406a3c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionRegion (cyclomatic 18, cognitive 30): executionRegion has cyclomatic complexity 18 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb18c3269bfa5f984d40b40fed950e8a37683b9e2d41dfb7e6cea8ef0fe90bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 18, cognitive 29): parseArgs has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ec153fde32e6b4d090b8b0d5f58eac056a8007ec8c22d9d41a8d8f65c76ba9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printHuman (cyclomatic 18, cognitive 26): printHuman has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/uninstall.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67c5fda5ce1502cc29b6c1b77d3b9af8c1cde8b31000333ba9be1b483b5fae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 18, cognitive 26): runTests has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/install-ps1.test.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e251bf51a2a53d3f6d0b93784f5b83accde248de306c2ced5791281cf3b563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 18, cognitive 26): run has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/skills/plan-orchestrate-registry.test.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd950ec5678e4885fdd139a017262491a9acd9187e042974bc3ae065ca27641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sumUsageFromTranscript (cyclomatic 18, cognitive 25): sumUsageFromTranscript has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/cost-tracker.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3978c2c6f1f88e391ac650fe1e83186bb9dfd46bc9739bdf0d8563b4ccc70064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeInertChar (cyclomatic 18, cognitive 25): consumeInertChar has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"32606bb7cfba60da0e6f68a060b98cbb72b2b407d453b2d1a379d4d69b69dd74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBraceBody (cyclomatic 18, cognitive 25): readBraceBody has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/shell-substitution.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f501e24f846d22aba06ace0449f2009d908c458ba09c19ed948c199512d7cef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchRetrieval (cyclomatic 18, cognitive 24): searchRetrieval has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-retrieval.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e7ef324d79e6205da951b4223744202c9a7199629b01d6c6f28dd16dd17238"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareScenario (cyclomatic 18, cognitive 23): prepareScenario has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e81b7b023b4d2819dd14f65dee3074f2fd388580f8bc36ffd7c8c5c8df7c1c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runConversation (cyclomatic 18, cognitive 22): runConversation has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/session.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec57115ddcb58196a23b93bf780eef324d7995b113163a5c2fd0111712e31f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leadingStaticStringResult (cyclomatic 18, cognitive 22): leadingStaticStringResult has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2fa25538520d4cac9e0411b99bbf61efff985503982362ba58884c588099d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 22): (anonymous) has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/memory-mcp.test.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ee5b0b7c17123097388f4260c78856621ec2e00dbc74b3db126372d56342e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function askClaude (cyclomatic 18, cognitive 21): askClaude has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/claw.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c582dce390d52b0a03cbc9d944f6fd153f922a5e3a58594a5bdce687ada22aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findClosestMiss (cyclomatic 18, cognitive 21): findClosestMiss has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3326b6fcfe03558a1307ef6041e9cff189a0ab481f65f771fb2ee1ed0aac953"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0630894d376a5e8c415106400a2e06078509b1803f6d79253a2be41ca525787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 20): main has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/uninstall.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fbd0e33a2036118fc67628ba252b6965190f3d50b76bbddc35a37dc24d3951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3d6bd2a2aedec162593de8dfd83939a2add8bc47503fac95cf30daaf4faa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 18, cognitive 19): run has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"033cc63e6250267c96075b1fee54a322df7c53893e86c9285217409fc81bf1a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"7372d0980d688c92e4bb068c9701e1509d894b6d0b83b4c65f6cc437acf904f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionLine (cyclomatic 18, cognitive 19): buildSessionLine has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/statusline-render.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0c97d69512410a26689bdcd712c400c34b6016b594b39c24ba51b882858f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyNative (cyclomatic 18, cognitive 18): verifyNative has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2591f050767b0ee54cdd97a311c1d04bb2c0329e1649c1deb2dfa7d382419c27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSettings (cyclomatic 18, cognitive 17): readSettings has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acff118c137c6777407c51bde8e06da84deb265b0f3117397e82e9acf064d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSession (cyclomatic 18, cognitive 17): normalizeSession has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05c9feb625b150d37c58cfbff4e413e1b814e2095f7b3b1739e4d5c7fde0684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSkillObservation (cyclomatic 18, cognitive 17): createSkillObservation has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-improvement/observations.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a4b447769d730ff05ce3c596db97168da9a8e28f0fa36db76f52914cbc14c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConsumerChecks (cyclomatic 18, cognitive 16): getConsumerChecks has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"a541e49388d698d6ea2658edc10c533912368916ef308ee14018fc80b0f9b387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultRunGit (cyclomatic 18, cognitive 16): defaultRunGit has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/scope.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"432a214976500d179f181982695889e88de63cade053fa29bbea3cd8ee12c98a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validReceiptSchema (cyclomatic 18, cognitive 16): validReceiptSchema has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/receipt.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6b935242a2789d80e3c31bbc30722b23f1b574ceff0eb700b4b073a256efb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepJs (cyclomatic 18, cognitive 16): stepJs has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddfe29b079c94e99932499b8e32b9381d80ee6af3a6286b73cb818312b055ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCoordinationState (cyclomatic 18, cognitive 16): renderCoordinationState has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/parsing.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d12672c95a706ee0a4a1fa4f00228649ad7ace396819b854750824310e26dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rootFor (cyclomatic 18, cognitive 15): rootFor has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9705d958c7937844f2f3125ea51f0255756cc9fa8a423881d7a56fd21af0e9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCorpus (cyclomatic 18, cognitive 14): validateCorpus has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2249a83542732cb6b4571ab8e6fa9a854d0b9a739fac6b5835c594aeb066760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferCommandType (cyclomatic 18, cognitive 12): inferCommandType has cyclomatic complexity 18 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/generate-command-registry.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a82df8639c6ccf26084e606c413ba132dfb28a1fc46e4248218b01f57956251"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadVariant (cyclomatic 18, cognitive 10): loadVariant has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/gate.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3375075223c957eefbb7a88106a8971b4b9f4eb1324b05ccbe7e3c4b16d29cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function baselineFailure (cyclomatic 18, cognitive 10): baselineFailure has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/gate.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f44ae1dbbe9705925e4950cc2ccc502e96220a5c049ddb44d5c9a2cbb5262d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyClaim (cyclomatic 18, cognitive 10): applyClaim has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd8e8b5416f81eb56e621da65a700118cb0fb043b9f6901aa0fb5f73a400108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDestructiveQuoteAware (cyclomatic 17, cognitive 40): isDestructiveQuoteAware has cyclomatic complexity 17 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0a440bcd1b95eb5460f9c6a299c4e2c991ae114566892b6596eafebb7b2e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInstinctFile (cyclomatic 17, cognitive 34): parseInstinctFile has cyclomatic complexity 17 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"434366fee4a70f078430fc5a836783e6e1a0d87050fa168d4af50290a944694b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMemoryFiles (cyclomatic 17, cognitive 33): readMemoryFiles has cyclomatic complexity 17 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49534d6ad3dae2c373e662ebb6d49ee1d9bf82bd4230390b875199d95ad91cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 17, cognitive 32): runTests has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/ecc-statusline.test.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb960aa57f3f93f21777e991d4b2aa7f3cce05ef305545422b246a127299e893"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 17, cognitive 31): runTests has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hook-input.test.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddec649f91d5063bf00a1e50623ece1572a9ff4e9e34003ccb3e17a55f3747e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 17, cognitive 31): runTests has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/locale-install.test.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d164329717d1374fb28028371b8d4e3eaeee04e43acf3bb68a12bcab3f818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 17, cognitive 31): runTests has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/loopback-guard.test.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e7bff654469debfe3f0faf38262b7173832a3688b82886f56c345f8d9e3a4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodeLine (cyclomatic 17, cognitive 30): normalizeCodeLine has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3a3ad90265bcee6c5eba420f4c5b0a1f393230d41451165f174e1827e7589e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 28): main has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/nasiko.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac42368a0e45810a50b937584d1e13a7cc2e4c8bcd8b6ea7983ccc3e6154fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSafeRegexSource (cyclomatic 17, cognitive 27): isSafeRegexSource has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5102fe2708b2f24281347fb6828d79cec6df4d846c64e06e7b9b9e659583feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shDoubleQuoteEnd (cyclomatic 17, cognitive 26): shDoubleQuoteEnd has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b90560ce9fc03086a1a20faf22ea75c950dae3850407266eb1cf865ef002fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 25): main has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/stop-format-typecheck.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc52f86009fc86b8270c1d8d1aa9f5173eb85ebbb97bc4b164a65d6833aec8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function psStartsFresh (cyclomatic 17, cognitive 25): psStartsFresh has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73308ce5177fb0de562bd9a677959d3062da10215eefcb39a74f340a07449b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSearchArgs (cyclomatic 17, cognitive 25): parseSearchArgs has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a8a7716312da7e232706a36858144108a3cf98ec015c21695a2cbc5a43945e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aliasArguments (cyclomatic 17, cognitive 25): aliasArguments has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba45276a08b3734b0aa0856bd814aaa54d3ee17fb8e8472de6500459027dc58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function iterateCommandSubstitutions (cyclomatic 17, cognitive 22): iterateCommandSubstitutions has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/shell-substitution.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"446cb77f410be71d134938fd1d8264e66e7aef10dcf78f303b739a18c090610b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeFeedbackItem (cyclomatic 17, cognitive 21): normalizeFeedbackItem has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/sessions.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d623db2d6a7fa215873b7d7290fe80c04bd6c24a89b5dc62b5a3a3e2c58cbd48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sedExecParts (cyclomatic 17, cognitive 20): sedExecParts has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f037285af19a8eaf87f041d484ce3484897861563f1e9d793c8b82d1b1820a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 17, cognitive 20): parseArgs has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sessions-cli.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2da9e7dbad2281533d718ba2fa7a268300f367f0576dcbf58249a2536ecfe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderContextMd (cyclomatic 17, cognitive 20): renderContextMd has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f87bb9fd6574f9826a9e9716410fb6fd681523eb959d570b7907fd813778a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeServer (cyclomatic 17, cognitive 19): probeServer has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"30946cba2c330ad745efa991893e67c14045f1356c714815e414a1f1a9faca10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCreditingSearch (cyclomatic 17, cognitive 19): findCreditingSearch has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7787a33e4a480b505215bd11b6f4b26e7f70a07cf4c00189a5b059e83978dc90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyLongFilter (cyclomatic 17, cognitive 19): applyLongFilter has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8689b44a56a26b91d38d1eea8c4fadc8788586e043b40741475d9a3dada2094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-adapter-compliance.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9982ab0395f5b3817d7a0457dfcac23cd368939ad7ae20f6f7262e8734eb9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkHooks (cyclomatic 17, cognitive 19): checkHooks has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hooks.test.js"},"region":{"startLine":3131}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ff4edf40647851ff8072541c1c68b3b9aecba52266ce2948b02281f77638c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeMemoryTool (cyclomatic 17, cognitive 18): executeMemoryTool has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e095ffe477b105405e44bc23f2c61d8ebee97cbbe6fcf520734c6de041c5fe2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 17, cognitive 17): run has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/observe-runner.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee88dc2f7cfc620cae2f0df5d2cf4edb3e3507f88ff6108c4c50918d202e14c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolResultIds (cyclomatic 17, cognitive 17): extractToolResultIds has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba844fb80326308f783e0b2a885b5e5f59d6903e302e46840d28e394dbe73b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCli (cyclomatic 17, cognitive 16): runCli has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/astra-review.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"162492ae60875b91eede2044aeb07c46c17d5ecc6cc47ee42d42ef09903a8614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSources (cyclomatic 17, cognitive 16): validateSources has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"af83dc26f3f4a942159d9c5a299f65c2663971dc0d98a2ee29504ce26ac85fcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemMiss (cyclomatic 17, cognitive 16): itemMiss has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbe03c1fc54db00c6c87442e9529cf836c6d624807d6b8b6a69b232fa70c1a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyManagedLegacyFile (cyclomatic 17, cognitive 16): verifyManagedLegacyFile has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-legacy-migration.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ced986496ba8cc06e926f0622e4d5a545d51be82cd78debfc19205602ffefa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScoredCheck (cyclomatic 17, cognitive 15): runScoredCheck has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2765ec0cf3c549b4e9c02a41e703149962973d0e6e5998f7e9cab3388d4efc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413be88ee975b240753d3fc4d24d51ad6119eb90dca215fabd1c82a0a0e1218"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMetricsEvent (cyclomatic 17, cognitive 15): isMetricsEvent has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-metrics.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7a79e9223c83b761ba79978e0b4627f7d15c6b871491d77aa6d970c9bd20a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTarget (cyclomatic 17, cognitive 15): classifyTarget has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-target-class.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbf3b7d31e0d71a2c0a082706f5af54a2c9c16d9251562e12c0492c6e46805c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/cost-tracker.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d3efa3096c176c9ec26df1d6edaa84eae7fd5383ad108cc3fcfcad162a9095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectLegacyOpencodeState (cyclomatic 17, cognitive 14): inspectLegacyOpencodeState has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-legacy-migration.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d9c116604ee8a91999659e1c30d7f5259eb46f8eeaeda71709c47fb2dd31a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMcpTarget (cyclomatic 17, cognitive 9): extractMcpTarget has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b409d86b33524ff32b9a9d201f654a462abb2d4344499fa22134ebf1af7e82b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 9): (anonymous) has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/hooks.test.js"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dce2cbc79bbd90d2127f8f20728fcf270e29e0937fad1f10e17774d7eaa1c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 16, cognitive 29): runTests has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/antigravity-legacy-migration.test.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecb33134e6e64883de8d73e2503cb1d4090417754ca8793f9138f375a8ac593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 16, cognitive 29): runTests has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/uninstall.test.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b42625e00cf4218ac0781c843c507f15b9e6202969b6c64128c36f657b8a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quoteAwareSegments (cyclomatic 16, cognitive 27): quoteAwareSegments has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d3a098807e6c6c9b346c10ff3ece219f045d849eda1cf75c4fcf4601b74336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanShell (cyclomatic 16, cognitive 25): scanShell has cyclomatic complexity 16 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d5aa3817faaa01ec120a60eab1c5512558e21b321d60be38566f72de98a84e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSearchFilters (cyclomatic 16, cognitive 25): findSearchFilters has cyclomatic complexity 16 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"5188abd468d83936d714cf351c4dd6d8162d49950b71e7e8246c644319d6bb51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shStartsFresh (cyclomatic 16, cognitive 23): shStartsFresh has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"c962ba5a047c6b978bbc45bcfb957ad47b01771011e5a0f4ddcbf10e5a74c007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackCreatedResources (cyclomatic 16, cognitive 23): rollbackCreatedResources has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/tmux-worktree-orchestrator.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb701a3b688f30182e420cae2c9d276e4fa7e072481aa7cdadc1c571f27111fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 22): main has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-plan.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e780842358fc02737d48e7d86383a9bf8eb8a977469c10e9323f2638820f2e63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexJsonl (cyclomatic 16, cognitive 21): parseCodexJsonl has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"805b1483c4a0d65e05b0be127e407eaca6ce420a39b464a7c953f37342fc6773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyManifest (cyclomatic 16, cognitive 21): verifyManifest has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ba3c09542edfc75d553d29ac712f05172a9a917f7c2900418309ceb22c7232"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readToken (cyclomatic 16, cognitive 21): readToken has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-dev-server-block.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a2fc38993ce99e36b5e9358d24c65fc79397d148506ff9f060196a0665631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireHardlinks (cyclomatic 16, cognitive 21): requireHardlinks has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46c1e0a25594d22549d8d4abe5e7d768a917e824dbd91a7a22c8384728a38b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trivialInFile (cyclomatic 16, cognitive 20): trivialInFile has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a2b05d32728a441d8039aaf3ad8be70fb1a7a1f39784a52a73f3239bda1fa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveModule (cyclomatic 16, cognitive 20): resolveModule has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-manifests.js"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b0033e0328fda310f529e29f9ef153b4fa346eb59a451b8d49257606005f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 16, cognitive 19): parseArgs has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b68c621026e63504b2db8a5a787ad26a4250a513758b7e602e49caa126d597b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serveArtifact (cyclomatic 16, cognitive 19): serveArtifact has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0277a5d63dc9038621dd54c67806e6bde0546b62e3f53cdebf7fbd5f7728d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySync (cyclomatic 16, cognitive 18): applySync has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79a0cb5719fdae59ab2e3d98d0947a5ef6a0aaa9f4f46d45cd3b7fac782c8d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFrontmatter (cyclomatic 16, cognitive 17): validateFrontmatter has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-commands.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7328a30889ec9602e21182835b55e520545342b14b594cefc38e7586471da888"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectPairs (cyclomatic 16, cognitive 17): projectPairs has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/projection.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e517c39d066b5474465d4112458646b69a357f748c4eecf4a641e7fdfa14a37c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beginLegacySyncState (cyclomatic 16, cognitive 17): beginLegacySyncState has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"013fd5d3d50239b16e28cb1f94a718306d442bd1ac63dd393c98c114eecc6d72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function metadataFailure (cyclomatic 16, cognitive 17): metadataFailure has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/capsule.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"636b28ab2ec330f35301f34b4b0669de1d5543c65e89510b2ab51f27b0b4041c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOwnedDestinations (cyclomatic 16, cognitive 17): readOwnedDestinations has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/multi-harness-setup.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cc3c8dc92b28d74b3282fa38b257fff2d9e67c2fb19b1eec1506ca810e7f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedOperation (cyclomatic 16, cognitive 17): managedOperation has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-lifecycle.test.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84538ceb10deff50bc706efc81dbf6f8902f60dfd178144898414ca2700e41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimWorkItem (cyclomatic 16, cognitive 16): claimWorkItem has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/work-item-mutations.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b954938f0d50ab5b31dcb3afcab7fdc3dab47eff810c397aa93618b53ca972"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pythonFieldStep (cyclomatic 16, cognitive 16): pythonFieldStep has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d0de312e6e0faa0b3f6a8ef5db1b99a2cc09d5ae563b1a1ed8d30918c3ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 16): main has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad8936b0a7c8b6cc4233560998dae4dc03035686bae2567385f2cd9f644d55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBriefingBox (cyclomatic 16, cognitive 16): renderBriefingBox has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"83739a37db6dd1a9612f3be5debe76ababcfd8af66286c3308d3e71090e7249b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 16, cognitive 15): run has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"65327072a61725d6f39adad9ee7ee87240fa1b3a9e15d07c4dc96948cd988d41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 15): main has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plugin-hook-bootstrap.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1677b61a1cbcccd7729be338c1b6654ca9efddcadb1f3090463f92bda751ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function response (cyclomatic 16, cognitive 15): response has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8d3e770a5561786ff17fa16cd5b73d927266f5612f6d5475d117418f01dc20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c38b80f921a4a34993661facaca1f18376418b0341acf57b43145736738ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createInstallState (cyclomatic 16, cognitive 15): createInstallState has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"710ebbf35fdf669413a5e0e5f00009c4d90088479430c81cb0e30df44388c5eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapOpencodeServer (cyclomatic 16, cognitive 15): mapOpencodeServer has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/opencode.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"454d80dfa2f2479423756cec64568f263bed7c76fdee808d197d36a1fadcf736"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeOpencodeSession (cyclomatic 16, cognitive 15): normalizeOpencodeSession has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c11a2627f7fa7209a591d57e32f7fda224cb820b6bf33fbac36e4c237399151"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpencodeSession (cyclomatic 16, cognitive 15): parseOpencodeSession has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/opencode.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcd52a8ae9b58e4898d6fa8accde1e3f4f8df1170a08b804a137d1df07777fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolUses (cyclomatic 16, cognitive 15): extractToolUses has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a558caba6aef91a32dad4ab07b286eccabdd44da7e4c7c70016df1240edc07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanOperator (cyclomatic 16, cognitive 14): scanOperator has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5442e5a87b0bbd648d3437b908249210a4a35087d05414aba6f3156b3d27b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCommand (cyclomatic 16, cognitive 13): runCommand has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ecc.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c33a68ef6efa294a07ca3ecaa522d5b6308429f7e2b62a758199ae4e493a63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function truncatedEventContext (cyclomatic 16, cognitive 13): truncatedEventContext has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed104da660fa3dc97ea4db5963e2f8c99e09aeb71e1e994d3c590847d2221bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeWorktree (cyclomatic 16, cognitive 12): analyzeWorktree has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/worktree-lifecycle/lifecycle.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b563ba617bc172b037d2de048dc5b98ae3696927ad7ac4eaf22986427fb27c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 16, cognitive 10): read has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store-fs.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab9b2f890b471c8806235a3e557d65a0bfa2179bc679b2c2ac71ebaece3dffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepRemoveJsonSubset (cyclomatic 15, cognitive 33): deepRemoveJsonSubset has cyclomatic complexity 15 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/json-ops.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c446a3be9c825f2194ada259e160b91e7b8df7985266fc1b94b80cae7549d8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInvokedAfterContainer (cyclomatic 15, cognitive 30): isInvokedAfterContainer has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baba16eec7b9db990a7c4fdf8d95f719cb2317c0b99bdf77c7d4e9c81a3e2a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSessionCandidates (cyclomatic 15, cognitive 28): getSessionCandidates has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f501a5bc25c92607c1948aa1131f5b3d1e452d564cd9e566aac0b02d0c0e6c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 15, cognitive 28): runTests has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-config.test.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b592bc0fbcdfacc2702ae43ff38bcd7d837490cf49da983e035847124aded3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 15, cognitive 28): runTests has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/session-bridge.test.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0826e93fed31d4f2b1c7505d1d549168afb77a374028bcca9f10d5d67dbb6ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAmendmentPanel (cyclomatic 15, cognitive 27): renderAmendmentPanel has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f0bd688fbc25d97dffa20d481f6ba3801bf9765242bbfc08ad74ab0af032f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 15, cognitive 27): runTests has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/council-multi-model.test.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997e77b39a90e59639dc859b02972dbb28f3fc35a27f86266076b66f5cec566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 15, cognitive 27): runTests has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/install-readme-clarity.test.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6fad7b1f09ccea54090db7f90aac0d94b45c6a51ffafe6335d22483eb0eb68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 15, cognitive 27): runTests has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/operator-readiness-dashboard.test.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"394db81a686ea7175f1eacc9fc65e7c4734f44408068700f002e22e56b8e046f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pipelineSources (cyclomatic 15, cognitive 26): pipelineSources has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31d8ab231f80485cddb1e3817c59005145a57a170a04c50792e87d580bcff31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 26): run has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-format.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"05afac0bd60be593b09a71d273fc8c386601ac286fc58e999bcffdf5270d55c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTmuxPaneLaunch (cyclomatic 15, cognitive 26): isTmuxPaneLaunch has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-dev-server-block.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4177ffd56425a508213a5a8be30cfccc92baa29d4c0a5c320270c0d0fb50e316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pages (cyclomatic 15, cognitive 25): pages has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f665116c903990aee597a880137c4fdc9ccf0dfea42c3da65a5a6c0aa5268"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 25): (anonymous) has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-typecheck.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9974b3d86668146c1271baad3fc00c8be8d1405ec10e2cad4c48085ddc2b409f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractConversationText (cyclomatic 15, cognitive 25): extractConversationText has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/llm-summary.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc623cefe01e47544d8efca929d088c7ea5db123e9604c5420f378565b29e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recover (cyclomatic 15, cognitive 25): recover has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f25ae38718d7efa14bb745992e8a7351cdb8ecf900546f398181958313f5d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitEnvironmentOverride (cyclomatic 15, cognitive 23): gitEnvironmentOverride has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e81083d4368b57b693a1e924592c8957cf652197678d5441226d295500ca0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveState (cyclomatic 15, cognitive 23): saveState has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f60b1b423592e7b92c0449e5192b3caa2fb925de92adfd3c059fa3037c18ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 22): parseArgs has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc01aeb0d0f730ea9c25f8be6b3e5ae6da324c6b014db94737b7a2f4bcc709d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHooks (cyclomatic 15, cognitive 21): runHooks has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3189a12a2885b881552265fe6992001326e86c02412085f9f91359ca6e303bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function psSubexpressionEnd (cyclomatic 15, cognitive 21): psSubexpressionEnd has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f469c3a1c04499ed83cfb96ed0df608d85508f3d019aaf3190279c08d736178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertScriptBoundary (cyclomatic 15, cognitive 21): assertScriptBoundary has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-script-boundary.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1221a41362d3debdc7bf1ef6f23078e6238bfb892f25eaaebad1cd58d8b8c091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jsonReferencesPackageVersion (cyclomatic 15, cognitive 20): jsonReferencesPackageVersion has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968f0c5544685093d3852497770d929119f1b2ca12d0fd084cc7356337055fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTopLevelToolList (cyclomatic 15, cognitive 20): splitTopLevelToolList has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-tools.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28de9c46e29af449d739a8531ea16ccd41b01d238ae78f721e50105719e45c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectDestinationPath (cyclomatic 15, cognitive 20): inspectDestinationPath has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/stale-operations-reconciliation.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e656193d71792f289a9b0ade6cf63bb373caf64606b429b041d2c32bd096e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 15, cognitive 20): walk has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ff06f816df738189001e55fe537ef839b1de529fab6c5a10836a75cc62650b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripUnquotedYamlComment (cyclomatic 15, cognitive 19): stripUnquotedYamlComment has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6f39644472ad08a8101c1a5d1f0ac952976faff634e42e8cdf28f773886b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitReconnectCommand (cyclomatic 15, cognitive 19): splitReconnectCommand has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f01ac48e2623f7a2ccf81c9e5e7e86a14a71ac9e6b5f54f0943f4f810cb0b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSummary (cyclomatic 15, cognitive 19): extractSummary has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-compress.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3507ab98ce5019093502ce6bf3611a66563fe6f45d9e6460ade3cba7bf83a003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceTable (cyclomatic 15, cognitive 19): replaceTable has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbf09e08753cfbb795ad06cc5085b2145f778e24a7fc4b6b193d232ccaf7281"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 18): main has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-apply.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0526fdfc2e84955be34658af2d6659e254d0f3f4ebcbdb2badfd64f8ea62d961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 18): main has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/status.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"af667a12cac80d0eaa9727c19addd0fa0e22e6ae80ecd1b5fe27f44bf3042e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportTestFile (cyclomatic 15, cognitive 18): reportTestFile has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/run-all.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029895647b82f05fb2f61280480dddb57477f34436ab962aae0b1b7aa71431a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInstallApplyArgs (cyclomatic 15, cognitive 17): buildInstallApplyArgs has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bf2285795dee69b5f13537a13b4157b5ae1d5f1235de24a0b155cd02dcea71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEntryResources (cyclomatic 15, cognitive 17): validateEntryResources has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-carriers.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2337ae71851e574fa597f79fc228e0acb156d760a701e7a8bd1e1834f7a0225b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeContainerInertChar (cyclomatic 15, cognitive 17): consumeContainerInertChar has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2f29ef04243cbd873361045454a58bb22ec36cee0ff517ace6ecbe2733cc5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listWorktrees (cyclomatic 15, cognitive 17): listWorktrees has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/worktree-lifecycle/git.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"49da2d92830b1a43da0f00f1a2a3a0125082c76a31876d711a09929337cacc0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 17): parseArgs has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/worktree-lifecycle.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"52475747400ec16a9b0a9e0aee8f40f5138786e1c53fd48bd6123c1a8bcdf408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripMarkerBlock (cyclomatic 15, cognitive 16): stripMarkerBlock has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7650b3a9e3614f023be3b006b0f8cbc2fd1d7463898617f62d870707c18070"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSessionMetadata (cyclomatic 15, cognitive 16): parseSessionMetadata has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"72704a05a619836414fcb08f0354b17f2359bb50772f7ef2516772133f9afa2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePlan (cyclomatic 15, cognitive 15): validatePlan has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/verify-install-plan.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ded2146b4daf46918fb2b7ee76ea4c0be785b753a33189689ddc20277ab98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeResult (cyclomatic 15, cognitive 15): normalizeResult has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d53a758deeba33e7ece5be8c2e654d38cacb8d9dd7b17f9f9c448f43e25b766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContextWindow (cyclomatic 15, cognitive 15): resolveContextWindow has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/transcript-context.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c3719202af9c89348708965defea6ce6750a4ebd8a50052e7f62abcb210b03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 14): main has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/coordination-inventory.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e161ff5d0a1fc0d49b46ce45df1b452d7720d4d6f0bb7ae69c72a239f3776abb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/work-item-runner.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b15dd401c17fee90fc02d0ae8ffe1a955a3648d6be2a4633dd06aa47172c11e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collapseGateDir (cyclomatic 15, cognitive 14): collapseGateDir has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-target-class.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc96ac5966cfa2e64056357ac949985ff8c98f2e7c2e210f074afbe8828a557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExpectedLegacyDestination (cyclomatic 15, cognitive 14): getExpectedLegacyDestination has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d2829715f14d48a4b8381ab41165ad14f732decf331b5322d23b25b7b7781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSiblingAsset (cyclomatic 15, cognitive 14): readSiblingAsset has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd0fe4952cc9e8be15cd4f6666c5f7eb742afc811e83ab4300d7a15f42760af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeStructuralChar (cyclomatic 15, cognitive 14): consumeStructuralChar has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466bb30b41270d537016a2ef07d77a823abba92219366fa50b77a5bc97523a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c4e13d765ffd87967f19935c359bcf05151744bb9aa4778c6b4862919f00fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 14): main has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/frontend-design-direction/scripts/check-evidence.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae90fdfb304757c8d9cbed64a470096435d1e14b7df697c4ddbfd106d91887f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEvaluationFamily (cyclomatic 15, cognitive 13): resolveEvaluationFamily has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6155ae669b21b6032351cc90ebef0f23e9a147633298f140eb3ce9c5aece78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyShellFlag (cyclomatic 15, cognitive 13): classifyShellFlag has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07ff7637a792e543b3fc9c12db1aee2643dd9730a991e20946104f4c1671cb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseScalar (cyclomatic 15, cognitive 13): parseScalar has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-frontmatter.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a305129129866791cd41e8eb32ee30b993670f21eb090813f061a3b71973ed73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRegularTextFile (cyclomatic 15, cognitive 13): readRegularTextFile has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8dbc1d070d8283a7409c58da265edfce4759251a8fb050392cc2716435cb42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeCreateOnlyTextFile (cyclomatic 15, cognitive 13): writeCreateOnlyTextFile has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a7e63acee1fda22a6f7d1ee249fb46ef6d32ad36ee9038a328db1ead8979de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executableSegment (cyclomatic 15, cognitive 13): executableSegment has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"475c45d09337b015a0b3d122ececb5614d882fb4444a7c6472e0df5f937ffdff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"28acd7a3c6977205966130ed75e2a2d94757bbb674ba50cb77e3b91fa1eac742"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readContainerOpener (cyclomatic 15, cognitive 12): readContainerOpener has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c79f8fdc21ad0168581636d0991d598410a76b4964c75c506622a7174ea6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeMedia (cyclomatic 15, cognitive 12): probeMedia has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab231bc6264fa8ffd28939db1ae860d754f13ab9c61a731c08a6bd7f8832e05a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLifecycle (cyclomatic 15, cognitive 12): runLifecycle has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/packed-artifact-lifecycle.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7efc8976b6e683d245380d8a129ab027f2ad8d5a1ae2fbbe74660dd47c801bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 11): run has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/context-prompt-suggestions.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"12144b629117b89319a81fc113f14b5c7a892145d2707dff5b0564ff86d76f1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExecutionMode (cyclomatic 15, cognitive 11): validateExecutionMode has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8afe5f3ce930139bbc8a5b4c817ae909c5f50c8b213d20a31e64a4362a493c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 15, cognitive 11): inspect has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/shadow-trail.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbed02e0eb6cd4216f14d51ce5cee4bc5b290c7aca2cbb52253ad68d5f62701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAssignee (cyclomatic 15, cognitive 11): classifyAssignee has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c9796abda8f423797d95d698f0fe74410dea633bc336a9596578880b0c88aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTaskset (cyclomatic 15, cognitive 11): loadTaskset has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/gate.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fd938f2f01d3f1021d189ccdb0fea7657f77c973a576feb7853a57630b134c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectInstalledNasiko (cyclomatic 15, cognitive 11): inspectInstalledNasiko has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1fb8e906dfac776b30e48572fc46d659e35523e5f2ce6f9b2a67200a9aed09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findPluginInstallFromManifest (cyclomatic 14, cognitive 31): findPluginInstallFromManifest has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2845190b71b42468d8937a4c1d6095ce1035eb190872f4105983f45d85d78210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maskQuotedStrings (cyclomatic 14, cognitive 30): maskQuotedStrings has cyclomatic complexity 14 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3e4d3fb5b05ed8bd85b0201bfc16f9ab4d473c6e261960ca477dcc545f4e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function passesCharacterScreen (cyclomatic 14, cognitive 29): passesCharacterScreen has cyclomatic complexity 14 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-readonly-shell.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f247029e2fbbd0e93e0314f27b044bb9216a1e79e7413e37327f53e1fe354af4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 26): (anonymous) has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/command-plugin-root.test.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3c5d2d1bcafb0b4aba74391e59685bd0569750036361e17a8ee4eafa58b6a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripUnquotedYamlComment (cyclomatic 14, cognitive 25): stripUnquotedYamlComment has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gemini-adapt-agents.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"75332756148e7df3c520c9f08eaa09e86e718684f45e36fd1f361a7e260bea13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/auto-tmux-dev.test.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397635a2fa915010de1c4f1f0593d26550a8356f43766f735e63ac4f8cd6c19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/dry-run.test.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83e78d6f59b67a9aa978d7ab86a07fd2fb9df6077db1b02fc8d8a5d1f68ab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/hook-consent.test.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e2e4eb023571035450e98e614ffba7b374a91a4e0a4c68513988ea842ed32c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-link-rewrite.test.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a671cad1a0f4ec299071f0ed67bf168db9e00ac3cc2ff547c989d92c5749b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/consult.test.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c326c5170fe789e0866c72ba8ad8d84f73bcded0d801dec7aeaf5a2ac35bd03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 14, cognitive 25): runTests has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/install-plan.test.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b56955c5f328103726ed202f03966402822be1e65a6d2e48c71b640d092d58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHereStrings (cyclomatic 14, cognitive 24): normalizeHereStrings has cyclomatic complexity 14 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea9a520e84ae4dd4ddf4051198a6a5fb761c1a8e42095a79818a77dd6432876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 24): parseArgs has cyclomatic complexity 14 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-health.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63741ab2c2c8141df06cd8baa81fca7ed9a54acbe1a97bfb4930cb4947a911e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenizeAllowlistedShellWords (cyclomatic 14, cognitive 23): tokenizeAllowlistedShellWords has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb0ab065c4992e811344e6e0d1a42125f36e8588d14f817eb3f790c6863b5dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeGitPath (cyclomatic 14, cognitive 23): decodeGitPath has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e86046dcca8441d9d3414bee56407f6c1fa5d0ba2a6c2455f2dcf4c9a2ba18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function one (cyclomatic 14, cognitive 22): one has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7037893391aa14c0ad529f60b5d8db9d51cedf21cc9d16b164040939d487a7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAgents (cyclomatic 14, cognitive 21): validateAgents has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-agents.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07411cff63f06dfab064074d870c56755fd5572b4f607c15eb60d2969ad3498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipJsoncTrivia (cyclomatic 14, cognitive 21): skipJsoncTrivia has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/hook-consent.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"149a2c05a59ef9b19e3ca4d00026e4b813f358e1d35b0b13026149847ff94416"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanScriptBlockConsumer (cyclomatic 14, cognitive 21): scanScriptBlockConsumer has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a5652ac8afa320f37bf54aa93130c1e764b5c9c9434ffb478c52bcec071ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireLock (cyclomatic 14, cognitive 21): acquireLock has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c680e9c1f88545b065ae00c7599650ab88be2ffff66cde9611c8ac8403c40ee4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkHooks (cyclomatic 14, cognitive 21): checkHooks has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/hooks.test.js"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"de381c30e6796117dff9025e2b2cc6250d69d27298e412af387a9688560629a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeGroup (cyclomatic 14, cognitive 20): summarizeGroup has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gateguard-report.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c8efeea1ab11c448fcb8ea36a4edd8c922b584234ac06a65e6eb0541a81625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandRole (cyclomatic 14, cognitive 20): commandRole has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"991a8256b48ba891825e57d7aa66c478f59c3647b613c97a15a8c176b8394438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectActiveSessionPath (cyclomatic 14, cognitive 20): selectActiveSessionPath has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f231fdcdaba37022db86068256a89f29cafd95909ac9d2159fa16829b694138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireSettingsLock (cyclomatic 14, cognitive 20): acquireSettingsLock has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"51115b2d888df2eadb80a7a68902c0bd917f32a60b0dba781511b7ef0dcf5517"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDashboard (cyclomatic 14, cognitive 20): renderDashboard has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4cdc2f1881f68a90629b66470e4f7d75ea641abc7e3e586a3c46df343bd192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipPrivilegeWrapper (cyclomatic 14, cognitive 19): skipPrivilegeWrapper has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"240ee5f807940457c28f9baf3d831cad099e635b164e3014e48e7d68d8057f2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDestructiveBash (cyclomatic 14, cognitive 19): isDestructiveBash has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af5ba0e2100f5e0a90c0da1134158585f1b0b270fae38c2790d4907a62cdbd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeTerminalText (cyclomatic 14, cognitive 19): sanitizeTerminalText has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2683d27d68f0c22b81ac2c5c21eda3a506b38f414800465997a20e459711f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSynthetic (cyclomatic 14, cognitive 19): runSynthetic has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/state-store-persistence.test.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81081d98de71fa8d15529b79255cc6049b1346d9a6f8d2cdedf82db139c7893"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 18): parseArgs has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/catalog.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0af42c2c0496efdd7617998977edeb6c0775bad5c929fc3dc3ff47d8d0c157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillHostCompat (cyclomatic 14, cognitive 18): validateSkillHostCompat has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd41c9fbe3322e78ef8d248eccae9e1e258e0bbe9c02041c021c43cd0809de9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateShellState (cyclomatic 14, cognitive 18): updateShellState has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3855565650ca223fff2128bc3325f76e5bc3bee0b7024d2a8ea4b95e7be63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentPipeFlags (cyclomatic 14, cognitive 18): segmentPipeFlags has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"749bd089014247bcf4a2d41801511bd0903dfdcffd72d72d214466563231f9d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCoordinationState (cyclomatic 14, cognitive 18): getCoordinationState has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/state.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c25ea351d1951d0f5d8b9f9bf329915bb1b26cca7b28c01116b88b5df8667"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseOwnedLock (cyclomatic 14, cognitive 18): releaseOwnedLock has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/state-store/file-lock.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddaef0b7ce41dc071965e0471aa505804f512673aedd77a48ad8cc5cc20aad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLatestContextTokens (cyclomatic 14, cognitive 18): readLatestContextTokens has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/transcript-context.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33cee68b8e611d2c8075aa65b310563ab280031dcec4923a6ee1786cba32ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderHoles (cyclomatic 14, cognitive 17): renderHoles has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/coverage.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef471af42c45272d90b835e99a4fa1872f6284c9840de33dd3cd680c85841c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 17): parseArgs has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"2815c81a66e9b4a4379bf5ad607a727078f85886ffb8bd97c132e99a660db451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function psQuoteEnd (cyclomatic 14, cognitive 17): psQuoteEnd has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb32c29290a0c80a85a3d55bb2125d87f8cf80028abf731a1743cda1fce27ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executePlan (cyclomatic 14, cognitive 17): executePlan has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/tmux-worktree-orchestrator.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e19ec2d36980900fe844ba32e69d20bc1aeda9ba71349c806edc21345794ae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRequest (cyclomatic 14, cognitive 17): buildRequest has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82f30f1bff20795d0840a6dfa9cb4c7f40a78bf071123602e5a20340165d2d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moderate (cyclomatic 14, cognitive 16): moderate has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/pr-burst-guard.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6a97cf15ac9304d24a49196560e1309ff1ccac7fbddc68d861286345aef797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDeclarationFlag (cyclomatic 14, cognitive 16): applyDeclarationFlag has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed960a09eca89b6c8f9b38a83e884ca3bc8abc1dcb6ba993446322afcf395a86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectState (cyclomatic 14, cognitive 16): inspectState has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9bf710fb7798449b9a8768f8aa89aad73ec67968422d450b3a10331e1229c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTouchSingleEdit (cyclomatic 14, cognitive 16): firstTouchSingleEdit has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa56340dbd5140bb4d07b436862f71cb90af0d08865b25e934eb1eacd29e380"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveOutcome (cyclomatic 14, cognitive 16): deriveOutcome has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/skill-run-tracker.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7853d6264595f1bcbd96633eafb23811d79ccbeebeede57da71882d2debbf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFinalContractFixture (cyclomatic 14, cognitive 16): validateFinalContractFixture has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/tasteforge-video-skill.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dddc0a79bd854939bad9e2a21aadd92013f3ac04eb86585350ccb7ecac8c3a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeJson (cyclomatic 14, cognitive 15): parseClaudeJson has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff048ed139b1229eb8118e0a39bfb486863860ed4fcdff3b5cc5d427bc7bd350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 14, cognitive 15): validate has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-context-profiles.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de6eaf9c6058e0bf89e96c20244094987cd20dcda1398fa1c8c5fb347512729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doctorMemoryVault (cyclomatic 14, cognitive 15): doctorMemoryVault has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642745857e97b03b01dc804bea94d855a194bf6e40d3dd4345df17de1fe01ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reload (cyclomatic 14, cognitive 15): reload has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/state-store/index.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"be56a49306692da499a2cf6339861ff89b16cd12e0ec56bb7ca4040378956f91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 15): main has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/profile.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c5075f431677fd78077d9f2c6ba1dd1ee9ed8fd0a86ab5274411897720f5c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adapterCall (cyclomatic 14, cognitive 14): adapterCall has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"18535b22509e601063d19ad29d47a9a4c8c41ca5e565d5cee3d6527f00867b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3dfb37e9b64eba379af1a3b8a48f387fcc0ee436c786543d1f2911ebcbde3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDestructiveGitPush (cyclomatic 14, cognitive 14): isDestructiveGitPush has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a92e1514965d260b2deb118552c70ec4983f4612466a98e88dc22e120dce60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"123cd31338a58fe53d6981f8c85d014543297c909bf306a4adc1928716c874c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectEntry (cyclomatic 14, cognitive 14): collectEntry has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-end.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed7670d5ba2f8926420d3c0d2d4da4f18845473aab09e67dd0aaec457445457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveMarketplaceRepository (cyclomatic 14, cognitive 14): resolveMarketplaceRepository has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-plugin-setup.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8714aee5340928fe3b0c41f7d83d864a4685e69b408d4b89c79a696f8ad0f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pythonLineIsSurface (cyclomatic 14, cognitive 14): pythonLineIsSurface has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"557cebf95cdeb94ef9543bfafebb62ef4426b8e8651d9fe25b828a4a16e71d78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformInstallContent (cyclomatic 14, cognitive 14): transformInstallContent has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/content-transform.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6d36fae6e82381a176ecc2b969152820c1cb3e31a9d0fbb6fe200bcf5eb121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshStatusFromResult (cyclomatic 14, cognitive 13): refreshStatusFromResult has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45f7c55013139b3ced18e0267084ae95dda9d65dd909d98ed1a48adeb341582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 13): main has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/generate-skill-triggers.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97981b1dfc382c837ebc96d8e39d056de634d099b1d3d737dfba45d997af619"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCodexCommand (cyclomatic 14, cognitive 13): runCodexCommand has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-plugin-setup.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcd8ffab40436121d415c615bb3a99b61659e866f4db52412c795dc7763eb3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function result (cyclomatic 14, cognitive 13): result has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cc3a20cddcc299f7d6a3b55f0c5c94c3c3456901484dd7b273e2ce6cbe05ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/control-plane-view.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"be640b8f21860fe35228989b7de40fe22ef47c8bf1a672d7c8ebd00a7f29fd4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueStateFromAction (cyclomatic 14, cognitive 13): buildIssueStateFromAction has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/state.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb23c685df12eba8f2e56903fc90a4eb573804972d9e0f8545d18b7de09a37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectManagedOperation (cyclomatic 14, cognitive 13): inspectManagedOperation has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"603053961e5f76942f7fd94d7f4f2052fd6d3855064313108cb57bd6fa2bb103"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setAliasUnlocked (cyclomatic 14, cognitive 13): setAliasUnlocked has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-aliases.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a44eec35fe1b9cc412138a6c83644da95ca10ee3f7093d7e3eece4430987c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateObjectMatcher (cyclomatic 14, cognitive 12): validateObjectMatcher has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1291d861953a63dc953ca8d2d3e3b093511dccf20427dd710ac984d37d758ebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gate (cyclomatic 14, cognitive 12): gate has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"144c23de57cac50c219f133acc295bf64c90f3fb8b887fc8da74439f9514e41b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLocalEvidenceChecks (cyclomatic 14, cognitive 12): buildLocalEvidenceChecks has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/platform-audit.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff59f2d18b68a22fb8e74bbb036edf9fd46b6f3734e7c0dc8e35412ba2717285"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchDiscussionSummary (cyclomatic 14, cognitive 11): fetchDiscussionSummary has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-discussions.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"999f5434d63ef10b8fd680c49a746b142497ae794bcc0531bae16824fbf69609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeStructuredTarget (cyclomatic 14, cognitive 11): normalizeStructuredTarget has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/registry.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"007b88bd9ea40384e16ca3311e3ea462ff496dd5bff09b4ad277a5ef68679df3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportLegacySource (cyclomatic 14, cognitive 10): exportLegacySource has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe1873de886d06d1541ebd9c29ae1c446a3864b54a982496214feac0794ba6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-commit-quality.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11330ac82adb8615544992d49d27577d583a6ed9f54d544d030e296fc16a948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManagedState (cyclomatic 14, cognitive 9): validateManagedState has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/inventory.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d4f63c53d6cd034afa2093f850895e712b29ab76ac80cc700f6c29a239b7e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeBrowserUrl (cyclomatic 14, cognitive 9): normalizeBrowserUrl has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/platform-launch.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76cf6a83e5fa96e6481b00d1c5849a73541b875833f403204bc09d0b5a1211"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanTextFile (cyclomatic 13, cognitive 25): scanTextFile has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-pi-core.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8ff24b400b54b3f3aa71d1867fae2ea1002d20a8fbe143f55dbd763f38716b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFlatFileOperations (cyclomatic 13, cognitive 24): createFlatFileOperations has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/helpers.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaae0d21768bc2692b63f9048de1dd8afbd6b937a5f224c1b2815089bd205cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderVersionTimelinePanel (cyclomatic 13, cognitive 24): renderVersionTimelinePanel has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2046ed2522f76055f44bee3c3961ac86fdf3620f47e722c88e2fd3c7c312b729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDiffRanges (cyclomatic 13, cognitive 23): parseDiffRanges has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1084e42fc6cac9d8efadd4b388d6a28a6ca1527e37caf5796844ea6b0574ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 13, cognitive 23): runTests has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/antigravity-rule.test.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4964733228989049c6e11df233751f824e18b2aa20ac11bfa05e7d053314c95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForExactShaGates (cyclomatic 13, cognitive 22): waitForExactShaGates has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437fb5736749e05721fd20a5586fcaaf4963017c67f27a5394e8e335c5467db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkCache (cyclomatic 13, cognitive 22): checkCache has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/check-plugin-cache.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef4bd54dc759de8d033f51bce1e49bf52d31882aa86139b838c8d323a6ae7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLeadingCommand (cyclomatic 13, cognitive 22): getLeadingCommand has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-bash-dev-server-block.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7cbab76b766f0b664664ccf77df3782fe610d91e53d70864ca32a8e8f4eed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanFile (cyclomatic 13, cognitive 21): scanFile has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba23e8fe8a6b1eaa19938d38dce5a44fd1c99a747f63c0637075413dd0dfd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 21): main has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start-bootstrap.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd25cce4965c6c7eb6242aa983ed6664fa0a7cc90706b06319acbc042e426d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireLifecycleLock (cyclomatic 13, cognitive 20): acquireLifecycleLock has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043e32792a6848563b9926d662cec9cc93919aaf8bd08b327d8d12232e247e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybePruneSessionCostSnapshots (cyclomatic 13, cognitive 20): maybePruneSessionCostSnapshots has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-cost-snapshot.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"57755f19dfe88b7db45509589cde90fb6fd6fcbc3b43004f15503662896570ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAdvisorySourceReport (cyclomatic 13, cognitive 18): buildAdvisorySourceReport has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"852b6b8ad4931c9c3b1600d17318836bc527eb2f97b83766cc1598a942045117"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 18): parseArgs has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/supply-chain-advisory-sources.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f3475dd99289bcb07cd1c011cef1dec10b3d7b2bf22caadb70cc262b0643d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executableWords (cyclomatic 13, cognitive 18): executableWords has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e504f522ba3f49990575b1f34066a64b956d0fa502fd079561067bb28e1de50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeInput (cyclomatic 13, cognitive 18): summarizeInput has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0f50005d6f60d19e71ac4689160da43b32fca2f16042cf1b1be67c8d51cc2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function powershellPathInput (cyclomatic 13, cognitive 18): powershellPathInput has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed896efaf31cec4c622a929f870ca6972de91fefa95047e3a9c0c793b9459a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUnblock (cyclomatic 13, cognitive 18): applyUnblock has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd162249132afd65304455533efe5cef2cf62752005bd33c4511f649b1f2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMutationArguments (cyclomatic 13, cognitive 18): parseMutationArguments has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/nasiko.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43540f702d8cef679c55203787629cd1136ebe64596274b97b2f8e3d58839a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 17): main has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/legacy-sync-state.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"69056801105e00b810192175c51255713e0a75eabd0985be9ba3b1a954db1992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchCommand (cyclomatic 13, cognitive 17): dispatchCommand has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github-coordination.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8bc11d60b685bf79b22f5270e30f039a30b67d1bad855d89f7cc51d48f80d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripInlineComment (cyclomatic 13, cognitive 16): stripInlineComment has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-frontmatter.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceca583d4847e5a1a7fa480e24b5247859876f0d04c7f6877725f94f796bb3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectFileEvents (cyclomatic 13, cognitive 16): collectFileEvents has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8428f1199b467e0f1db207d3d36e74555521c53aec3a03fd0e3a833ecd5cf77c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typecheckBatch (cyclomatic 13, cognitive 16): typecheckBatch has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/stop-format-typecheck.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa92ca9bf20e2c63fac74665f2ab526bd3391cc44fd8cc814262893b6c0c082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyShortFilter (cyclomatic 13, cognitive 16): applyShortFilter has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-filters.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aea5306027b1d53637d16f3fce57cd274202580b9972719beb3139f5f925896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActivePytestConfig (cyclomatic 13, cognitive 16): getActivePytestConfig has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be85fa74680c31524947898be19cae5b1e8838e7d56dd8293ea50106c5484b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHarnessSelection (cyclomatic 13, cognitive 16): normalizeHarnessSelection has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-capabilities.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d92261966c5cdab0390058f9d46a8a216616f49fdaabdbad6bccac4d8bf70a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRows (cyclomatic 13, cognitive 15): validateRows has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"210565684276661d412301d65f5e7e64759aafb379441a63d630c9c4f4cf2aea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSessionStartMode (cyclomatic 13, cognitive 15): getSessionStartMode has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca52a266545844e19cb1b4581f68bb0c2964c0c085b699467a825a38db8f1326"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printPlan (cyclomatic 13, cognitive 15): printPlan has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-plan.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8b5a8a4fd691f462d494e1e098ad6c5172f5f9a4e58370ff61b82b1c7bb559"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopedScriptFiles (cyclomatic 13, cognitive 15): scopedScriptFiles has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-script-boundary.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad0d4c0a67d9829a89dd7c7850d788f7eabd3e12cd80dcfe53303c364be4134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanDeleteSegment (cyclomatic 13, cognitive 15): scanDeleteSegment has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"786b4deade21d833f7f3d2cd5e9b2c01f2981b51657555c09edd9d1a08516800"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 15): parseArgs has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/council-multi-model/scripts/review-with-codex.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9db63b4d656aa8f978db2f192495a32bfdaae3d4336b970bac4922e15cf2f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/helpers/state-store-worker.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a22a666064b040a17487c6aa63a822b1c5b0bb42825e6a19a3db7fa48d0995a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateConditions (cyclomatic 13, cognitive 14): evaluateConditions has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b004b88744fedca7556c1faf2a414dc9b03e766c1b5ad2fc2aa54323e5e06504"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSettingsLock (cyclomatic 13, cognitive 14): recoverSettingsLock has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings-lock.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dde2e39dd3ba41d5f43af4fa4b430349552dc8e4b2a12fb85afaaf368ec462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeVerifiedLegacyFile (cyclomatic 13, cognitive 14): removeVerifiedLegacyFile has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-legacy-migration.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab883859027da4efa011e58be8a3955efec03fa047d350c26a816e60cec386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveModel (cyclomatic 13, cognitive 14): deriveModel has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/codex-worktree.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f830f5d42d51f22bf4cc2d5c4cdf2547503235f47661c682d1cd2c76dd9309a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocate (cyclomatic 13, cognitive 14): allocate has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e488b5f482f4ad29dcfb69e2246a74b904c9e346ef16e495d6ffad0653719ac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateComplexTask (cyclomatic 13, cognitive 13): validateComplexTask has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb14ead59ca164de1acea97dd6e3d631cdb1d750f60e161758b609258f9b5f57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"105fd900019720fcc7cac18d49004edc143017fb0803551dc4aab7228d94a93d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillFile (cyclomatic 13, cognitive 13): validateSkillFile has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c442755750683fac835855402ec7c494a5d20d2b49a88b40f28d45259f9b66cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichFileEventFromWorkingTree (cyclomatic 13, cognitive 13): enrichFileEventFromWorkingTree has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66c410eb281f2ad11fe18a35c8d0d1e4ff26cc89213688c40456edece1bd65e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadInstallManifests (cyclomatic 13, cognitive 13): loadInstallManifests has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-manifests.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8137a4054126fe399dd8b65188b7e8f6667648a48cf498cf223e454bd3da9dbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function staticOutputResult (cyclomatic 13, cognitive 13): staticOutputResult has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a521a12f3f71afe28f1383ae0a5451068943e69bf8f140a4abd567ee6057f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanEncodedCommandFlag (cyclomatic 13, cognitive 13): scanEncodedCommandFlag has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3094ef241aea117f097420d672da38b238748d4aaf12117cf250703db86d933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanCmdWords (cyclomatic 13, cognitive 13): scanCmdWords has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc4153619d5a91e0e425602285b223ed3be6cbdf84ccbde5e4a9ca36c8c6d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContextThreshold (cyclomatic 13, cognitive 13): resolveContextThreshold has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/transcript-context.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"02073f58e19055b961dbc45f61c46e7a0b4deac6baa47647f78d13e3666835e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyWorktree (cyclomatic 13, cognitive 13): classifyWorktree has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/worktree-lifecycle/lifecycle.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9042789e99b8fe1e8a933f8984f4a56eff84243fe4803d923934f1369cedd219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/pr-burst-guard-workflow.test.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3773983d2a5092a33d624e4ffa38c35a9e300e78c2ce1542618b697f0a699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHookEntry (cyclomatic 13, cognitive 12): validateHookEntry has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711e3ad65d2f320d6a2f26d8e68a7bce4646f6c4b460ee108c1204e07a385fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommand (cyclomatic 13, cognitive 12): resolveCommand has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ecc.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f30b4a375517216534278fa8567d60691e62265f23d30ba100a1d5f9e248432"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 12): main has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fdc63e228845722841876592dc46347fae26d60e3d8b07d53c6ca7234b16f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProjectConfigAt (cyclomatic 13, cognitive 12): readProjectConfigAt has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-data-home.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6696607c6766afe8b653ec2bad76b15d5704399844641c5d8b57210955c01fae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b38a89427e7691399f670fee451151b9c0861a81d6d3da1841f79d6ed09c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyValidate (cyclomatic 13, cognitive 12): applyValidate has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/actions.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bdbf05b5968ab3d9ba49d85cbba679619b259a45efcc18809d68c8d7e680fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertCoordinationWorkItem (cyclomatic 13, cognitive 12): upsertCoordinationWorkItem has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/store.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0050850e8be609bb5fcc861f23ad1436e6a98dc7f50187311020bba5d8302e87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRecordRepairs (cyclomatic 13, cognitive 12): applyRecordRepairs has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7faa422bbcf0ca885769229435a4eef2711ffc9019b07247eca399d65c21115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProvenance (cyclomatic 13, cognitive 12): validateProvenance has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/provenance.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"be22fd1645686628f6a5447163c28399da8b71891135ab459dd617ab361c62e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSessionKey (cyclomatic 13, cognitive 11): resolveSessionKey has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f97c7fdfab77efdda28f9398810b9b7f672d7e30dafd117e84a83bad8718f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 11): parseArgs has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ito.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"39376c3cea56271a96b06aff71dd0ae33ffb0d1ec0d9b3d66acaee3815c7113c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWindowsCmdShim (cyclomatic 13, cognitive 11): resolveWindowsCmdShim has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ff95ca6535e15906cf13ae507f6a6f5fa2a74d4c2c5bb7910f5fcb58da8472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLegacyInstallPlan (cyclomatic 13, cognitive 11): createLegacyInstallPlan has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-executor.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f642c19ea7f1a2c5573c08708faab1e0c4c9f93d51fca55d331de2ab467555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeServerEntry (cyclomatic 13, cognitive 11): normalizeServerEntry has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/canonical-mcp.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeaecd0e56e4e7ea89d04a8c3ade8a84d0e92c64e4aa85e3edadd18f4be948b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoundedRegularFile (cyclomatic 13, cognitive 11): readBoundedRegularFile has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"072a13d2a0cf2983fa160ed7714338142b7b12d8681f33fe9128c1ba3ac5edb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeClaudeHistorySession (cyclomatic 13, cognitive 11): normalizeClaudeHistorySession has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"902e7a12cb95668d8759730aef129d9f36dfc19a0be24c690a1678407713370e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chooseNewerCumulativeRow (cyclomatic 13, cognitive 11): chooseNewerCumulativeRow has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-cost-snapshot.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4120613289870f0bc0c1cacd13409d3c228e3e00bae081ed1b955ad7d18df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSessionCost (cyclomatic 13, cognitive 10): readSessionCost has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db4fd536339de90cc8f000b172651da91f2f9b0610ac0997857d232b93aaeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDirectiveComment (cyclomatic 13, cognitive 10): isDirectiveComment has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"437da1b0d2b7b8ec87d971e1956b9a81e59f3654517e5972b731de4cde11b77c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectLegacyAntigravityState (cyclomatic 13, cognitive 10): inspectLegacyAntigravityState has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9b75111a50dd4f774aa778d173e3e544d3749f650c4a002da9c04e186a619e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSource (cyclomatic 13, cognitive 9): getSource has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/unified-memory/evidence.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2be864cd0f1d39e6a6aa7e7679f5de3e211955c64e0c0105391effd4042d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endRegionWord (cyclomatic 13, cognitive 9): endRegionWord has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b76a493bd6dd33ab2599eeb31d1e4d1d29fdbf4b82528ba73f89b7107bc14ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityRow (cyclomatic 13, cognitive 9): buildActivityRow has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d2ec58e8a02f993146c650d1db2bec31b9d8b34e5119e5fca1e3e1ed311773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function symmetricEigen (cyclomatic 12, cognitive 30): symmetricEigen has cyclomatic complexity 12 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/projection.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22dfc600d8be55032b7691a653503b308c8c60d4f01abf4605f3c6d9f21a25f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function globToRegex (cyclomatic 12, cognitive 25): globToRegex has cyclomatic complexity 12 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"905dc0e9def753a1f304a531e563c1d57e9f6b976f08f7677722da76e6c15bf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateConfig (cyclomatic 12, cognitive 24): generateConfig has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dsh/generate-hooks-config.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5226573a76d96a2203cde92ba5ed12cbaaa8da2ee8ba4a5fcb57437261bf11a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ruleMatches (cyclomatic 12, cognitive 22): ruleMatches has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244dac52523798b2cd518b323efd1708b3bc5e9744bbb17a160831d052e8f97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDelimiterWord (cyclomatic 12, cognitive 22): readDelimiterWord has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5835eafd4e8a86704c4dcb1615b47702b0a40e23c298eac08838bb80443353a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 22): runTests has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/plan-canvas-pending-hook.test.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bba88ecfecb9805fe7ae539297220dd1ab15beb77e3b0549a0361aa6146d791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 22): runTests has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/dsh-generate-hooks-config.test.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"380b0df2324608dc889f42d5bf36aa146ba1df26a045c5b180198a02dc9d0687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFrontmatter (cyclomatic 12, cognitive 21): extractFrontmatter has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-agents.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"59273d0ea38641d4d95279d024af2da7ac5a88612de419b2e155ee8630cea63c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 12, cognitive 21): visit has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-carrier-closure.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14535570e1ce74bcae1cf1a2dca26f707fd255642e1d18579517701f9791422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHooks (cyclomatic 12, cognitive 21): runHooks has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2adbe36a13fcb9fb3d89af9fdfb44406d66099dacb4db82d25a6a8f4e7a015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function graphDistance (cyclomatic 12, cognitive 21): graphDistance has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/distance.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e244c9500ce05a25842c7050bcab2a03c8a9637e6bae3462f792d8b27f77974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseOwnedLock (cyclomatic 12, cognitive 21): releaseOwnedLock has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/capsule.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e40ec9be661590e7520b4ed11c2ff813e7775f39883984be0d4343ed08c0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeShellLine (cyclomatic 12, cognitive 21): normalizeShellLine has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b854c9f3084928e0223c963ae33aea2db48bde0ff4580a356ad1ae5e34e195"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 21): run has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/supply-chain-advisory-sources.test.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b006be0b1607236aa55c24041240a91eb7bf1259d925bd6127da4e46e377c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/control-pane-state.test.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf3b005ba9a5f0a07681aea4712b28155f1922ee1bd511d2987c3817b3ac18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/install-state.test.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89f786feabc075d92ae3befbcddddaceb7d2e7973105a8397c838fc862e98a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/gemini-adapt-agents.test.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"39562ea068713b104be416ec7536b2ccc8bd29ed631bd1d750b844197a416840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sponsorDocsTests (cyclomatic 12, cognitive 21): sponsorDocsTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/ito-compute-sponsor.test.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce40a1b2810c28ab62bff1829c81cfe7d0f622d2191507d37dd350bf94e89f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/observability-readiness.test.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad9c0df7233260cf09807c221367a62e5095aaac70cf4bfffb717db715fe35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/release.test.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ae579e836fc6b8b2bf0de12bf5286fcfca8f3202081767c3a6f68e04b2b0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 12, cognitive 21): runTests has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/session-inspect.test.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2a70051a82ac9ef6427841b96c388469a7fb598785768f78549f90d9a3fce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushTargetsSharedBranch (cyclomatic 12, cognitive 19): pushTargetsSharedBranch has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a162a0329302c1d7ff2604bea26811655ae9202393d7fb0f0a8b82d8ff79c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isReadOnlyGit (cyclomatic 12, cognitive 19): isReadOnlyGit has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-readonly-shell.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3631984e466052f04dd2b3392bb7a027ba783e1c34b95b76d633ac869ba625e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toxInvokesPytest (cyclomatic 12, cognitive 19): toxInvokesPytest has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"add047953d9ee98b0f03f2f83d2149e7f5bd49ff65de492f4642fb5d5285e6c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function envWrapper (cyclomatic 12, cognitive 18): envWrapper has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"18449b974cf0fd496329e6495eb25f5fa1518fa2ee6912a57b30893cc1cecbaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shellRole (cyclomatic 12, cognitive 18): shellRole has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d21d5332aa7a5684aff8eb3b666d4398e0bbe3cf16e2ff6904fe690c683bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uninstallManagedHooks (cyclomatic 12, cognitive 18): uninstallManagedHooks has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8f1fd5d3fa5635e24640311959da59e4533f1ec711eacfa283cfe996b7afbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeExcludedPathsReconciliation (cyclomatic 12, cognitive 18): completeExcludedPathsReconciliation has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/excluded-paths-reconciliation.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"50636fd98b4690a0e279292dab6d3c7aed95d34b8b56316b9989bac2680cdf25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 17): parseArgs has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/consult.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6aad17d71e31b737f1fe07361a8e42e623235445081f32c822fa6add23b123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 17): parseArgs has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-adapter-compliance.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b90dc88d5e057a30f9c789fed4bf33cb9c11f913d195976920a2e4585a1ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shDoubleQuoteScan (cyclomatic 12, cognitive 17): shDoubleQuoteScan has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f709a4b9df79357bd760e105978c423e7581088473786155e5fd50462cc6b81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSafeItoEnvironment (cyclomatic 12, cognitive 17): createSafeItoEnvironment has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/ito-environment.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bdf283b6a532e39a7d73d77a9bb01d8b35e6e62ab65a97625eaf8900bd0333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWindowsBashCandidates (cyclomatic 12, cognitive 17): resolveWindowsBashCandidates has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/windows-bash.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d98558fa7ed2c1bdbbfcfea0d0a26766c7d0029c0d038ed4b0cc45fd0d4d822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoundedStdin (cyclomatic 12, cognitive 17): readBoundedStdin has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eea907b6d43cd0f091bb67e6caca9f762eafa21e3f4f97d6aa17aeb348ce475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeStaleGithubItems (cyclomatic 12, cognitive 17): closeStaleGithubItems has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ffe24a0f31e71416ef0d32cb94f23bd87e68f7e2502ba6608b5ee0a1f98652"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 17): apply has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"947d65724805906a15124407190ca13b09deeb312fd9184873bb9f227ca898f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/helpers/state-store-worker.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5284b2c36a8013a32cc90809684c4675650f4baa03fbb7306fb1e8fb07dccd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printHuman (cyclomatic 12, cognitive 16): printHuman has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ddb6bff2bbb5997938bba81b5583d3e1d7973d2960055d88fa9f8219cc235"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 12, cognitive 16): parseFrontmatter has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a1d4c00598ea994ae65b76046467360fcefe0a22b88112b9a59ad79d8c788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHookResult (cyclomatic 12, cognitive 16): normalizeHookResult has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de6f07c65f2130005a519cc95ccbd58183e7595e7e5ccd69d902f0e080b84cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEnvSplitEscapes (cyclomatic 12, cognitive 16): validateEnvSplitEscapes has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7789f1d2abec3b8bb1626885bde3263ec8d4a8280b5feb457a7857e2a3293a75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ddLauncherCommandIndex (cyclomatic 12, cognitive 16): ddLauncherCommandIndex has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc2f86152d588ba0e3041186cc26719a91623cbf80176ea17ea72ec16c2392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 12, cognitive 16): parseFrontmatter has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-compress.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e16ed0a6b52b244c37705bb1c4da92680a12a0c465664609f5e160a23d716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readJournal (cyclomatic 12, cognitive 16): readJournal has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/capsule.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e44c280f42601a21727bd99394f9a94cae63b78d75c19e8c727e85770a8bad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flagEffect (cyclomatic 12, cognitive 16): flagEffect has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bb112c898edd03c5cd9f3b0745eee6b184cb61f69c7cac7497a7e24995badc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectStaticScalarAssignments (cyclomatic 12, cognitive 16): collectStaticScalarAssignments has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff19038aaf3586c5c4bcd20bb0a7457a0e4e9ff673a5d77828830e6e896a2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedTrivialFiles (cyclomatic 12, cognitive 16): seedTrivialFiles has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/gateguard-fact-force.test.js"},"region":{"startLine":4835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daca4f2f0433144721a47c402c6ff3714187390115c5dddec391ee8be1b3348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c15635080ee790e33797e5f7487d915a0e6fe359cebab93f0c3fef355a5fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHeredocDelimiter (cyclomatic 12, cognitive 14): parseHeredocDelimiter has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-heredoc.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb1307e49e07bdf11547f688113d91c59324ec795d746009c8de85c80bbd9ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadRules (cyclomatic 12, cognitive 14): loadRules has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfa357c30ecee79a8a0970633cb55065752e6dd2d5a99babd592ed5596e1d47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cFamilyStringEnd (cyclomatic 12, cognitive 14): cFamilyStringEnd has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af6f5851cefa110bf2419047d97dd3a98e1783f6302838b1c1c97b60d1f3239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/antigravity-project.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d05ed4d08d07906f8868e90c264084ecb40adbc9eecef2b5f9bb5d002e4082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactArgs (cyclomatic 12, cognitive 14): redactArgs has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/canonical-mcp.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a394079e703e0e8ad6e4d358372239205705a959737a7b911d64df8bf3f0265"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveWorkerHealth (cyclomatic 12, cognitive 14): deriveWorkerHealth has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc6c3b0c72bc656d5504139e5343a3955534ffbb0d84a4a7435643856c00a23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContext (cyclomatic 12, cognitive 14): resolveContext has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3c46f8e368ef20eb5b8aaf0c22a9b93d646e5c242626b1e65ab51db4161fe7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSedSubstitution (cyclomatic 12, cognitive 13): parseSedSubstitution has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4dc32f1ab5c0c3d45b6a8c725fd095cf4a0a59ba5517343bde5b87130e1675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ddLauncherLongOptionStep (cyclomatic 12, cognitive 13): ddLauncherLongOptionStep has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"975623a4fb059205fd17e1e9ed77a9e98817c62eb662de5cd42f931fadfe685a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTouchMultiEdit (cyclomatic 12, cognitive 13): firstTouchMultiEdit has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aa227be5f1b89240bc8b92a2f12e6ce0aa0bab2ef5ffa26c5bc7d0a9a13151"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 13): run has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/governance-capture.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ecccda30b9ad9a62e78c5467d4f471b4f358f1a5c11ff1472a8a999649cd04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBlockScalar (cyclomatic 12, cognitive 13): parseBlockScalar has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-frontmatter.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da5107818c7dc432c69eca2e3abc3d5fbbcfdd685871b69688c66605eb0fc94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 13): main has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d9064070478efc506775a9b3b38a2abd70415a519a09a8e52c1bd0ca50ef65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeItem (cyclomatic 12, cognitive 13): describeItem has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plan-canvas-pending.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d0e5cd0341ff7544e4e3809e920d5a93966929adfa2316d68eb0529e1613eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rustCharEnd (cyclomatic 12, cognitive 13): rustCharEnd has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f96b9b5e59f0b0444d7cf8ee064b26d82422dbff7b35fd3c95d5a0a344330cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateSessionSummary (cyclomatic 12, cognitive 13): generateSessionSummary has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/llm-summary.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84daaaca11ebc1b085590c4a8b03f62688446b46bf8d5245bd8609c56ab3b66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackTo (cyclomatic 12, cognitive 13): rollbackTo has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/versioning.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"602171b6980540dc48d92c69729f1992164f58ae82c49420f18d1dc63b836b53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRates (cyclomatic 12, cognitive 12): getRates has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/cost-tracker.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d20e17d3eb631e567c7fa394d9d47fcf3588411d382bd92e6f0494c6b10e7a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildUsageLines (cyclomatic 12, cognitive 12): buildUsageLines has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b828118f77131e861c3c8d08921c981f97d68ee5ddae510f538c586ae88fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCodexExec (cyclomatic 12, cognitive 12): runCodexExec has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/codex.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bdb52c48dedf74e33433a94fb2c3316aeb9b8e8a0fe7a3eb97dea82f383d5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jsContainerKind (cyclomatic 12, cognitive 12): jsContainerKind has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f600d57b4b675e6761e1d36a34894c77c1d924d6553a8f963d8ae25cf02210f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeTexts (cyclomatic 12, cognitive 12): changeTexts has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf74dfa05e1da41d476b6ef7c6f532738eaca17f7653bd3b1be6cda8c0166c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPackageManager (cyclomatic 12, cognitive 12): getPackageManager has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/package-manager.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"637540adfa7290884721446a6df33798454931c50e61c68bec81054e265f2404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 12): parseArgs has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/repair.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b5e89fab4fb7707c9d23ee6c6bbb727aab3ebafeaf2fa6a89da979b92e9417"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/hooks.test.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40393f3b07d2d0d5ee760a266f9c021afd9db21a7faa5fe6b767e2dafd42799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifySignedAnnotatedTag (cyclomatic 12, cognitive 11): verifySignedAnnotatedTag has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69f7ca1e6b4d8b4dbcaaa7f8637adb59d8a8997c5425957dd18dea9f32ade58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hookOutput (cyclomatic 12, cognitive 11): hookOutput has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-eval.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14fe9a8f59fb39b7ede544ef26e909403826e1380b90a73a73d340cc353f4c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCondition (cyclomatic 12, cognitive 11): normalizeCondition has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fb2a0c214596bdb569bab7577dfd2a00f4967485e91e44d805b8f041db04b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTargetContext (cyclomatic 12, cognitive 11): extractTargetContext has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/run-with-flags.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3cb27a3084cd766710948052f7874e9ee0c8b53f96a7c060c3ea264bae049f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentFile (cyclomatic 12, cognitive 11): parseAgentFile has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-ir.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8425d13a56f5684add84a09404c7dd930692c26a8ede74066960f0897839df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTask (cyclomatic 12, cognitive 11): normalizeTask has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/coordination-inventory.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"93432e5741c8232d8196989355694185e542ff8def6a42e0f81a603ad34ec8d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReceipt (cyclomatic 12, cognitive 11): buildReceipt has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/receipt.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80e83d7aa7c29642be4b6d4c62debb7547cf4a18e7b7fc3897acb4463fe7b41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"718159bf60bde90c6a275eb23432abd73890a3d14b68bca573143cba27cbd13c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSettingsSnapshot (cyclomatic 12, cognitive 11): readSettingsSnapshot has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3e40728cbe930d2c37caac3b980f9c94fba11f75904a4b5108e35a7de208a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function staticAliasDefinitions (cyclomatic 12, cognitive 11): staticAliasDefinitions has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5607e75b8fe1074bb0b09e456292c9946513b4d9844cb41aaa47662c39a01a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCanonicalSnapshot (cyclomatic 12, cognitive 11): validateCanonicalSnapshot has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"731b54e8c7e32a3c25ef9bc7deead27238b21da76db4d90b55f31b9fbcaa6c1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexWorktreeSession (cyclomatic 12, cognitive 11): normalizeCodexWorktreeSession has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/canonical-session.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba7ee164e2a3cf493290414ec3954a9cbb8b1505ac228713961ec1ba5900b07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseCopyRequirements (cyclomatic 12, cognitive 11): releaseCopyRequirements has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9aee29edacffb21a3e2635c01b66273130cc029dcfddd1eb5682f301ed64c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReport (cyclomatic 12, cognitive 11): buildReport has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/platform-audit.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514eff610028ebe2c97df0a88ea8a0c6e9942549aceb13a3af19ff557d1add2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 11): main has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa42cec82adea091f6df885b1bd4ef59165fffde550639293484c810f567b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fakeClaudeProviderMain (cyclomatic 12, cognitive 11): fakeClaudeProviderMain has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/packed-artifact-lifecycle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cb369d0ba33cd426ac6e705db68eebee212f9a8b908651d631e8b4b2e6190a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSkillRun (cyclomatic 12, cognitive 11): makeSkillRun has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/inspection.test.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6841e425a20cc9d0a11ea79b548a947c1bf61e1f3fc5135c320d136c2b7f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isExemptPath (cyclomatic 12, cognitive 10): isExemptPath has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca54d37c87b4926d32805c8b1b59ec41d908a11b8aee903daa25765c7e3cba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventAlias (cyclomatic 12, cognitive 10): eventAlias has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29e31d9d30344117f209f8aac14bbe565c4f7daf0496ffc7330322ed913b589"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodexCommand (cyclomatic 12, cognitive 10): resolveCodexCommand has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/codex.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ec5ece86e3b50fdaf7355b1ca6bb65e55fec9f72c39c1799cf75bb0aff373c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeStateForOutput (cyclomatic 12, cognitive 10): summarizeStateForOutput has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/state.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1248e721aa7756c8fbe8657d79923376f8174470d26a81316b7b560ac2f4102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRecordedHookConsent (cyclomatic 12, cognitive 10): getRecordedHookConsent has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/hook-consent.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ef6b1b03b3c77a52d0fd9fa6d77e05227fe259a6912967c38501e3af671f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 10): execute has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/state-store/index.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8422e235a40cf70238b4007bc328fb98219f537b54321666ad5d2711a60cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileEventPatchPreview (cyclomatic 12, cognitive 9): fileEventPatchPreview has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a534110190540f868ab1b8e3df44798b8ef34bad6e2c9ddd91adfa83065a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profileChange (cyclomatic 12, cognitive 9): profileChange has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fb9b658f20b32f32973b77103c1cbb57420bc59295fdc4e0eaff65f070c620"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readManagedHookConfig (cyclomatic 12, cognitive 9): readManagedHookConfig has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/hook-flags.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71ac5f19ca230906b2f4be62d6de5d88567521e8c8143a3c1c9b74f38625982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectLifecycleLock (cyclomatic 12, cognitive 9): inspectLifecycleLock has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"332c2bb6d523321afe2f2d8e5704756c1e5596927e4626c28ed8c867e8394a8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 26): (anonymous) has cyclomatic complexity 11 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/extracted-resolver-wsl.test.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"521e9590da5d5d576d9dd83f5e5868c41fac1cfb19a819941fe7e721649f98ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireLock (cyclomatic 11, cognitive 24): acquireLock has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/state-store/file-lock.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc97f2439b594fe77f804c2d249d21efddcd2c9abfc49cc10d4e609826ca66d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function denseVector (cyclomatic 11, cognitive 21): denseVector has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-retrieval.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a57769830aaa07922a9922a408b9f671b228b9705936c397b67de4d0da3664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMatchingSessionCandidates (cyclomatic 11, cognitive 21): getMatchingSessionCandidates has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6c74f24b0203641e3169d852912cd7def107496b8053faafc4346b53f5a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/memory-mcp.mjs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fec2f7676e6d01e16dfd2ab130a9deeed8343995a94715e31369cad253bca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchCodeLines (cyclomatic 11, cognitive 20): batchCodeLines has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e99cbe7f706fccf4bae41b496036082c4e2106299812c060b1f62b1b9ecf46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 20): runTests has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/harness-capabilities.test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6744044c952e01851212ec291cadb77a29ae0e8d2e1dbe29f2503600a287e566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function steppedTrial (cyclomatic 11, cognitive 19): steppedTrial has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3859c5f8d25a60f01aac050dc7c680fc30e3c3c6473144ad87c10aaa1b3d9f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 19): runTests has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/catalog.test.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5cc1f214baee2c86f8e6cefde0f824af6fdbd44064c3598c99c73495adb0cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 19): run has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ci/mle-workflow-coverage.test.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ece6729d820938b3c0343a2795cdba0758bb512b6be6bb5369543175c375eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 19): runTests has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/bash-hook-dispatcher.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f1eaf875fef82a60b263c32a7768fd37a688f9d181ea9e3f797e14d1cac28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 19): runTests has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/check-hook-enabled.test.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381a1c39ec7521828a64fe4aba1e82fd1058105df458350eb6cdf94052680b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 19): runTests has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/sync-ecc-to-codex.test.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72bf3e4b4564660fa4bf2e74becb9c096888c070d53d7c7b90acd646dd276ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipEnvWrapper (cyclomatic 11, cognitive 18): skipEnvWrapper has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9a5ea66a3c078591e4b07b424037c01d782068dd6b43d74d71286f3e139fdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTaskFiles (cyclomatic 11, cognitive 18): collectTaskFiles has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/coordination-inventory.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c081832eb22f1fa06427435813e684d6457749797d592d15e2f5e4f997a9eb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regexEnd (cyclomatic 11, cognitive 18): regexEnd has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-file-context.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5444d4fb34edca0f29d9cecf5fb653e5e6bcf415f2309b76a97be148d9779d1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTests (cyclomatic 11, cognitive 18): runTests has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/changed-files-store.test.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b002c1b28a1c425b36eaf2f501b46616c7f53220188aad174178885a8e85730e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walkFiles (cyclomatic 11, cognitive 17): walkFiles has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"92793848b8bd1d01b2561b1624425e915552fe721d95236d239613d0e527f948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectProjection (cyclomatic 11, cognitive 17): inspectProjection has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-carrier-closure.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f13060ec48c0d0293a168dbe847d94cfe591678762b7c8445ec1b9c5bea271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function containerTouchesSurface (cyclomatic 11, cognitive 17): containerTouchesSurface has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cc439c49961202b7be41aa0a71b9f9fedbfac553d8e81218b40d49a3927bf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectManagedHooks (cyclomatic 11, cognitive 17): inspectManagedHooks has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec1dd674556e2e45b33fe45a6e3febe22e2c8465af19a327f24ef5bbeae2121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkerStatus (cyclomatic 11, cognitive 17): parseWorkerStatus has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/orchestration-session.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"45305f4da2f0483572ebedafd76905e182bffa8e356f703c0be6ed593ae53afa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 17): parseArgs has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a413960b107efc96cd37849130b356a746f3552dc17eba394f66f8edf834ab82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkHooksSchemaKeys (cyclomatic 11, cognitive 16): checkHooksSchemaKeys has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-hooks-schema-keys.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1379908bb12b1e1de680815c652381b51f1154303a0e3d81a736ddcfc7acf1e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeWorkItems (cyclomatic 11, cognitive 16): summarizeWorkItems has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"86157bd37ef03351afe225b30d959f8cee8c2c48cc09c39717c3c9c028c5730c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 16): parseArgs has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/welcome.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d098d6ee164291e42a1ecc0977d9f407792296926893bee2a85078c5ddbb8a7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkills (cyclomatic 11, cognitive 15): validateSkills has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af4453fb3d56783f46403c8f572dc29bfc6180268ce82a8ebd0088a4b8a4a13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 11, cognitive 15): deliver has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discord/release-announce.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c10f7e953459ba04f6a6ea801e200ad4488b9bb890b332b9ec7bbe7086e715"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDestructiveRm (cyclomatic 11, cognitive 15): isDestructiveRm has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"281db8339fd942552e29095dce344cbb30c6572493192f5bc7d9f0466768e047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDependencyGraph (cyclomatic 11, cognitive 15): buildDependencyGraph has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/graph.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee6bafd276660fbaad899cdac64a380b1cc83ad2f94bb1bb3c55273a5f51f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSafeInstallOperation (cyclomatic 11, cognitive 15): assertSafeInstallOperation has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"744198438a28f13ec6ab429305cafb5b0f811b5c496412d244b3bbebb0922d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/opencode-consent-legacy-lock.test.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4487cb54f795235a4ccca42c324ad4fd3f2fe6c46fffeb7525df2cfaa063d297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSedCommand (cyclomatic 11, cognitive 14): readSedCommand has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"542e47e74939d4f769afc8e223a2d8adecc490721c2a7ceeed6cf339e44eb76e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 14): run has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/design-quality-check.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed576b0fe1827bbf0ab43b9036d72c941e9515705ffef2e379176f521dcf9a6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDestructiveFindExec (cyclomatic 11, cognitive 14): isDestructiveFindExec has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cea43694502204f5dd33e37046c2ba6f729c1f155c8a788957e1b2300e6d20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeFileAtomic (cyclomatic 11, cognitive 14): writeFileAtomic has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/atomic-write.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de97750d3001ba754187396cb12e53c88a9d2d986d337910e9427727904b5c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textTouchesData (cyclomatic 11, cognitive 14): textTouchesData has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89cf56fb62d28dbe79be41aa7a32f8fe33d2fee3a8b864a6b05e4fee9fdbe72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupEmptyParentDirs (cyclomatic 11, cognitive 14): cleanupEmptyParentDirs has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/contained-fs.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"661ce7400fd582ec324e35c4b2196438ea71856210941e1a91a0ee2fcbd18830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 14): parseArgs has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/proximity-tick.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a414eb6568f5e7b79b60f9de1d416423db6b04f50588e6c65e58b5538b656d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 14): parseArgs has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/work-items.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fcc9923e6d54900523e63ff916bec7c8204dbb4c5871965b9e1a62a318ff52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 11, cognitive 14): (top-level) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hooks/session-start-alias-unavailable.test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed3b5d75c92352ad66b58a3dc6bd5166f29d1c878baa706bd4f8bba692b463e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/context-profile-eval-corpus.test.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e845c3486a35af1d3a4def29babb60fd4d8d789dc6bd71dee077367c7bdc6d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectEnvironment (cyclomatic 11, cognitive 13): inspectEnvironment has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"98531230f0f5e918184c9041a0fa016a7ce691524c601faef6c5d17ae98a2792"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectFilePaths (cyclomatic 11, cognitive 13): collectFilePaths has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a568c4e6a90a184e6b9cc8b236122ad60393fbad191c83f79b933401713ab9e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/cursor-project.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c764bedc8adbb33a6b0dc161e765437f5d5e26fb284285e99979a7f5c100c917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHarnessCompatibility (cyclomatic 11, cognitive 12): validateHarnessCompatibility has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9455316eb691371f9c9c319e8299c7487d297166909700d49156470da6e9156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushFileEvent (cyclomatic 11, cognitive 12): pushFileEvent has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c1dcfc44e5951d3717f39fe23f7eda3c704956c8cb4c539d0bc4690f0cfde8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeActiveInstincts (cyclomatic 11, cognitive 12): summarizeActiveInstincts has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-start.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff08dd5aeae9c0ce488f96317ac02b02a95a3e63890d972d97d321b1b44f2fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lexCode (cyclomatic 11, cognitive 12): lexCode has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-code-lexer.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370189daebf369be70751fe330e613b07e2a460b0313bc16b8da3469e56cf37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evidenceInScope (cyclomatic 11, cognitive 12): evidenceInScope has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c551c9359ac51cf53449564756e861ff21ef407b4e3f7639978c0710334cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderText (cyclomatic 11, cognitive 12): renderText has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"2210a3faaf8f1b9b09e22c73f241968f61ab2463d3b1394f0e226483c281c231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 12): parseArgs has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ito-baskets/scripts/ito-baskets.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c12e202911d01df925ce4e32128f4b9db327be76901747573b99941abbfad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 11, cognitive 12): execute has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lib/context-profile-native-claude.test.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"25140e90a80340951de2072c81b36d19f2fb373d433524291abd96038a1e9465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/app.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"411a1f5657ca4a1743de8e9e760143c7c508ac12fcb39142b92ae5ffd791784d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/production-ready/src/app.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f609c6738d4dfa5f708be15a4cd550a21991f76e8d916160b291bdfed2459693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateReport (cyclomatic 11, cognitive 11): validateReport has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"808b436dd70c937c6da108917319c6fd8b841a90235b7de6ca2dc9119a76a9d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHooks (cyclomatic 11, cognitive 11): validateHooks has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"76592e1d9e660835c96a04d82307821c133d394855fc07018dc66cff708ac6f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadHooks (cyclomatic 11, cognitive 11): loadHooks has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f1c2ac5c284636f51feda3be5f6cf5daa2928473fe1fdf988679a13ab8c820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadActivity (cyclomatic 11, cognitive 11): loadActivity has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6378e5259cd6f752631ea87f5c892410a8f8d00eba86b93a2c52c6725ac4e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 11): parseArgs has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev/gateguard-latency.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e091278fa5d86d5ba404bdc5b676582c35471ac7669b3bf5a5dddb91c6e60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processCommand (cyclomatic 11, cognitive 11): processCommand has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/block-no-verify.js"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d026214fa93e105e5308ca64b7be806827f10132f47d36a57ef146f91c8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findGitSubcommand (cyclomatic 11, cognitive 11): findGitSubcommand has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b875ca521272db64c86b8403c0565c3cb29f5abfe947088724f10f69550e26f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyGeneration (cyclomatic 11, cognitive 11): verifyGeneration has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-store.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde3d06c0293711029bd1797f0a0ffdf8a36607ee459103aaf1d6b11c3bf8792"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/capsule.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba29f350278029e4403e026ab62065807f3676d9b2419cfc9cd0419cc315d37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/hooks-config.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"02911a99a62c09482796ad5ff95534122a91b195f9ac6a527e74cdf53d18bb0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractQualifiedTarGzip (cyclomatic 11, cognitive 11): extractQualifiedTarGzip has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/nasiko-release.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ddd7f91500b80f44cfdfe552559dacd7c07a25aec13cdd732caafced4404b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 11): parseArgs has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/session-inspect.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305ebb78bad7b314f9b4b6b0055e0b8885e11fd92505ce731e46bb71a3d2b5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDecisionsTable (cyclomatic 11, cognitive 11): parseDecisionsTable has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/migrate.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f10981e4985054133676d0cf80157c66697d1ef424365dea4ac72a45d196c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/routes.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b9b5941b2ac7c91fa9a652d9207038d62843ce0e3e938d4048d19a68b07767"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/chained-tickets/src/routes.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2f22237ad7a808181aa3250f3e52d67e0e24cc09cfbb87324aff5208f9553b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usageOf (cyclomatic 11, cognitive 10): usageOf has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5b8c81798658580bf790f70fe43cb49e2a4acdc3703fbdc9acd6b1cd5bdeb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 10): main has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/grader.cjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb3a705301bbd7c01b4051b79332bb92125332e613bb731b1af4b656d587eaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leadWrapperFor (cyclomatic 11, cognitive 10): leadWrapperFor has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e424a6391b9e24797217fcb2b610fea3f9f627243229fe3045f2c5f542404b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeGenerateLlmSummary (cyclomatic 11, cognitive 10): maybeGenerateLlmSummary has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-end.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"877d1ecbba21305415f005160b506ddbf9125ca22dca73e4e4b1787b8361c09f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function object (cyclomatic 11, cognitive 10): object has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-proximity/shadow-trail.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0079550708f12d4ef354606cdaa1159830c09583392e61a0af1883a168844296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupCapsules (cyclomatic 11, cognitive 10): groupCapsules has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/eval-harness/retrospective.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6387e6ce6be181c72b158430a0acf42629f40effb50e54c1f393830b63624802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bareStem (cyclomatic 11, cognitive 10): bareStem has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"802fc51d8bd59f08dd6cc73113d0f781b0dc08f504375b11543f8fbc84e2ee4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function desiredLabelsForState (cyclomatic 11, cognitive 10): desiredLabelsForState has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/state.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6432bd6fbe54c46f336de133e7d6d1e84d846d36c44b57f7ea235bcb26d39d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0a929f17a46be4c33644566f3019322655808e717247aa40436b1fc594cb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readInstalledFileNoFollow (cyclomatic 11, cognitive 10): readInstalledFileNoFollow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f82efc7d252d979cc740117d9726958b4987cc802f3544f1785bb5902581f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getManagedDestination (cyclomatic 11, cognitive 10): getManagedDestination has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/contained-fs.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f7c301d91737085bef13014f3a041dacc1c7bfbdec22b99b0da9b21346280"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTransport (cyclomatic 11, cognitive 10): normalizeTransport has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/canonical-mcp.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"34870c8b038034719476e33dcccece2bb04a86fd0298f428166e39c5b412a248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapClaudeServer (cyclomatic 11, cognitive 10): mapClaudeServer has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/claude-code.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5351e362904e99d333427415047b9c90e4df92d7e9c08c1e8dea4ef885918818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOpencodeMcp (cyclomatic 11, cognitive 10): readOpencodeMcp has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/opencode.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2550fbb625c777e859afad652a9ba30622712199172898d6f48864658d5fa182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSaveInput (cyclomatic 11, cognitive 10): normalizeSaveInput has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"268596d2b985ccb404bbd3af9f35d917e5521b2fc70802e7e4d9063d038fce3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRegularFileSnapshot (cyclomatic 11, cognitive 10): readRegularFileSnapshot has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/multi-harness-setup.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fc7a646342c0698e9fdcd3733dee52c3758fefbe72fe464f788150f03dbc6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presenceFor (cyclomatic 11, cognitive 10): presenceFor has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/plan-canvas/server.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf015afec20c202bc4a7a3e6b54b30749c7c6fc82e67784ae279de89b45262b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markPowerShellElevation (cyclomatic 11, cognitive 10): markPowerShellElevation has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/powershell-destructive-command.js"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda555e14c23af1ff6fc996ecec70965bb533be6afd075061b32d00c76cdc350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexRollout (cyclomatic 11, cognitive 10): parseCodexRollout has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/codex-worktree.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ba553232b3ed2f024e42ef8bb896590828cf8782a272ceb8ca0fe79afd4be6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validSnapshotBase (cyclomatic 11, cognitive 10): validSnapshotBase has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-cost-snapshot.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"793000ef193de640326ea0e6615115791cbff7bb60d99d31fb0883877f85eb92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessReadiness (cyclomatic 11, cognitive 10): assessReadiness has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2286fe79a0ae5ba2be5d45123e009f6a4329dedbcd28d9dd38980173981da3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releasePackRequirements (cyclomatic 11, cognitive 10): releasePackRequirements has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf29dfe7f8d1cea2efce32c3ba2a1ad5b18a762b3e44e19e2d18319945791ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExecutable (cyclomatic 11, cognitive 10): validateExecutable has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/terminal-opener/scripts/open-terminal.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84680136f7b6bf214a56bc87e2bb44974d3057971872c70bf71e6ea3775c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 10): run has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/loop-status.test.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"45602b120fb659e6e97ff732848410e6a56e7e40338121ad1e4c205670744d1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 10): run has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/scripts/session-inspect.test.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"188f8df08ccbb576f692fcff1086d6c0504fd56e28751649c32e0082d0168d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHarnessCost (cyclomatic 11, cognitive 9): readHarnessCost has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/cost-tracker.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"03745f29d1924f284c28ead66c5276ecf6b868317e07fbc73ec878169dec1e80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertGitAvailable (cyclomatic 11, cognitive 9): assertGitAvailable has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b72c2c22efc4ec390546d3c9eca6afed53e7e04a8f06530f5c6dc0ecd16a4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSkillTriggers (cyclomatic 11, cognitive 9): loadSkillTriggers has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-pack-registry.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fece3ad61b478587bfa0ccbabeac1737e005481b9d9a9311b9257ce393fc1b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadContextProfile (cyclomatic 11, cognitive 9): loadContextProfile has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profiles.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cae704f40b9ed79f29840e136d38c78c2070ec1a5e48fe5a3d639f1ca278f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault-format.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b7b74bb7f195697b68de7e85f61b1eab8df1cb81f397babc2b447c00fde4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOwnedStaging (cyclomatic 11, cognitive 9): removeOwnedStaging has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/versioning.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f87ef33e6b2f1cd80cc60c1ad19258995ea5e029c6c972b93a965b358ddb82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeSnapshotName (cyclomatic 11, cognitive 9): sanitizeSnapshotName has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/loop-status.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d7390be1e9ee210d791d99ff82988a8a8c81d7a74fd8fb3bd25d01103d8ff0"}},{"ruleId":"R3","level":"warning","message":{"text":"docker/context-profiles/ai-eval-lib.js: 895 lines of code: docker/context-profiles/ai-eval-lib.js has 895 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a43a8948ec8f785d5f58b8a77c445be78e2dd87556ab405de835ddce152c24"}},{"ruleId":"R3","level":"warning","message":{"text":"docker/gateguard-effectiveness/lib.js: 447 lines of code: docker/gateguard-effectiveness/lib.js has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca320675a7e4e2b1d07eb29b3bbde863ef9388cfde7cac2e5b29201b04c168ad"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: docker/context-profiles/complex-eval/reference3/idempotent-webhooks/test/webhooks.test.js:5 imports \u0027../src/store\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/idempotent-webhooks/test/webhooks.test.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"83db23a008be8607a5526ccac8f92884266919587f2126e5921fe72c1b8e4b5b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: docker/context-profiles/complex-eval/reference4/idempotent-webhooks/test/webhooks.test.js:5 imports \u0027../src/store\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/idempotent-webhooks/test/webhooks.test.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a168dbdfe6feda6a44d2af3f4c49aa548b5ed7109559573ab9aa10a2acac36cf"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: docker/context-profiles/complex-eval/reference4/recurring-incident/test/idempotency.test.js:6 imports \u0027../src/charge.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/recurring-incident/test/idempotency.test.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6aff30480dcb925edd123f54f684c794bece641b4c064cede95299ef532a66"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/story-lifecycle/scripts/ledger.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ebf360fd04047d188e9ef62ea70df4d8f0bcf537ab2e4f819484de33f9945a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e64fb08f810f20ecbe18757035fb80635ed58ab6229ce24b964aa3de9b6fd6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeafed1784198ef6f5d6ba0ca5ae3ebb8c1f0267dd25b351bc7cd082f6ebd771"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflows/orch-review.workflow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39726290e05958e8c6d1657b4fcedd8476e65964706375ccf967160b996c4d3d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/coverage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7769bf33f9a7c6503f971410c9307362ab895026b6c05f8e4d6ba2cfe7661b91"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e0fc5666ee5d524828d5c0967e183af34f29814947d0c9aee543dd2b94ee5e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/save.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dc262dcbd56e7135a737c3b1a59ab0a8e24a001248d7c2a1d5397ee2c87216"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/migrate.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8b8279d62ef42cd7e4fb00e04a17615f4ce991d452edfa4f75b4100b588f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d27286498d163c9bca6de498e8261587d817bb06d790bc0a53c815827a95f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/native-probe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c4f14b346834033d1dde5613e5113e42398ba4d23f6543910b2d3e9282e6e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/prepare-packed-cli.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cf4b04a137799faad5457367c5eca436fd3abff19cdd4720ec76cc2af85408"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/session.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314a9e5f2a08cd499b5a4eca1074cd78ebdcb9f38069098b2f8974a8b397d63"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbbebf6500ee66798459812e76f0f589482992702398e3281fb8edfe7bc5032"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfb0d81b0bc9f8dd77c9a8b2e9ed15a39b782e8f122819d453835446ae23678"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7edd659d69bc2ac0e9f9cc0f177210dc3f3d6825261b40502a8b4f2d46bb10"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/packed-smoke.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a22bf25cc7a861cfd92f5503df56b318611dd4a90956d742b349171e51d8df8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/init.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a0a25f878ae8beffdcc31b08a47bf1010ad5dc9350ac0063f6a8b11182157b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18064c4cfe68f4724612747c22474aab1d4d3308b9927757e6d12d09a0b8516"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e76f1dcad860817b02491e091cbc76744644d9c89a0bbfcace76cc2d6fec9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49268701ce1071a0c2177801f96083567e5250dd0e3d101410b7ce54ee9ba1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422066561d54d5ca8f546382bae5c91f8fc4b1658df7fbf5e6ac93df3a600c24"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68185c37fd33eede0b70d594b1d6c0165d3cf57bbc67f1d68ed6df175b947e8a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e4513bf04e3538a9cde131eb92bd3fc6501bb85948518669fa52a1e092bc00"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c613609e981f240bd83616b4ba9cc01e25360b4046b0afe42137d5df43cbaebb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d86f2c0450e1708fff4a2e81f33af5950390f4b4a18093a02745b06d5bcbd8d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9d60accd8d4946846fe0588e10997718d5f6ddea7fc0d7ad34d08589a6c9ad"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b89cb1477d91df26959a8c493d04e2d6a520758fe46431bafa24a45cfca1dcd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fd7ab7291cd6c3379cb98182a1da2d1124507332026e430828eb044e7ba892"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd39f382882057cd1a55d344969881eee7e434884be82985dc856b03b5130697"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8e31283d96e24991d1eadf569b5fc68dc312beb3abbe95bfef789dcd0662a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/arms.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac7c1d21785f86b45c2a6b64fab8c63db38112392050cdea3b081763c636fd1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9967afddd7ed93a4a21c0b8e20171ee2b06ea44f85365bff615651e0e06004e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/forge-cli/src/cli.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72c1b6b14e395ef1f96e2460f47fd12816f550ca48d2b60b39341319944adb8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c247c8b9cc305f1931c4c3b62fcbb48fce694bef3ec8905b50e422c3c34a2c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5558e5cb597fd2ea93b2f490f52c7e9086879e248d03f28303549ab3fa7dfce2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/user-sim.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af2700c80c42b4b7e51ae1f1acff3f1ea100e3869d44461877f513711a70e70"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae3fe9d1555ded63b153b730ca831a1ffc5415ffd2d710267f3d167a04025b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02423d68c4b737dcb9f793035f8eb99f7eebdf4e660a6a0873ff6ee2593f8d55"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6126ba0fe74c8f7533a2d028cfcc0b27bb58ae1a3b60be5dac6536786daa0ee"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aaba734cf4cebae759db8bdc4dc68800ac95f1b93cc78de6c23bf8a60d6c11"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/idempotent-webhooks/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc5a001c001c84db621a79353289b18a3cad5a60b267fd39a18b1754551945c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3dbcc45b9f80bda56f9a58cf849a56c442f096329c718fb096c1da5242f0d5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735189fb9e683085ab6e54b28890adba855b07d3fdc47d30bf8563ea39ddc0cb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36e385464e269352d39292dbdbf02bfc1520b7f50ef33992c4531fbf9598ebb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/webhook-relay/src/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fbd4c4279a4cfe60a998bcd095083c3606aee54328219606a9c75d589c1bfe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/verify-install-plan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f58d5911ef9ad31c1508311e4907ad78c5942141b31d16c9ea125cee6de86f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/build-corpus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be912c4c53559e694a4da4fca38c49a54e0a875b03011a2c093dd08fd2d1ad2f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc95ab39b96d1715dfe83e706551f3e33daef6b2ec40feae67de929f09bbc394"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/verify-checks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8a3505d34f292c5ea5c15ed9969fed55cdf4a570bf05a4666d19e7c3d12f06"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5775b7d755436f35c9971ef44959cc4db25df42b86446b79b27d04edaf549f29"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/arm-patch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae69a5bd8f5773f33e89dc05e9f522a061685477901c18c6d42493158a49f392"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/fake-claude.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b42118022bab0c4e6384253a8eb194df1c726d86d10331a5c8806eceaeb80ae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference2/keccak-selector/src/selector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac0c9c934f5d2b4cd35136bef82f9ec573f53e4f1ffb90110814f5ffb56813b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/run-podman.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cf31807e075f9fcf95ad346f37a0068d0a4135fd57aa402e446cf2e73f7e9f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/forget.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66359f7a61d61618890a342628ba68adcf1f81efa0ee526e6d80741368d63b84"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/run-platform-tests.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef11cf285ed9b7b0fe56602982e711b4f7f5a00cdf3f0dadd1a1acbf878113d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6b08b2686d8afee228ad58995dd6609b0e7c734c1b84f7b071cd6bf455a94c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5baf3f977083aeb72cd73b7873fa6ab2ad935c45783aa418202ef4d5ca61182"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/native-switch-probe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60f4d94dc9dba20bc7cd4bfe79eebc75645e9b176736601b3c1287d3b8adc6a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1db568fdd2e73c2494292f37f1dbfa0bae60b11e1c52c9bcc518061dcba7d7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/resolve-project-dir.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0938a8817e77d9e675b09256f9634ad0815c963fb44e19ee5838592f99fbbfb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/resume.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75b97d041d1ae8674e23d66a573f0d0d8679c8614f3ca8bffebc2a0e2e2c08d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/recurring-incident/src/idempotency.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2243c1b0384427d62d23bb9fa850fbd1c5c7acc0c285afe9607cf505a21f8895"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38730b7a9ab64c8f4b2c027c6af6a3062ba882da4643eb251b56c6e5b3ad87a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/sentinel-api/src/store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"183668d96975e3f194b23232a032e65be1b579749fcadb031133a07ae08b984c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/secrets-config-key/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1173f77ade45b59570b7f30cc85358a69028b803c4c2046fbd113ac9b93d8db"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/naive/src/inventory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf5f680b7ebcb8f7bb50ab3ec64298f920c9f6519a536c0e2fcea6805d8f59"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/reference/src/inventory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b364f87d6730f42c4517fb68c1a2db0ec5f54f58f04728f817f2ed89959d2f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/reference/src/audit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28606942da99d6454f93d3a232ca54f49b5064742147a1260b1ba7a3cb1786f0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3e9f80bba868a73dde05056484a3d3c199b4079d9e84301edd725dbe6aead7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/naive/src/audit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc545e081219871e398701a8a5f94c795d952b23101e6dbfb5903ba110c92bc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/data-schema-orders/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2c15957f964e9fb09db51a58da05319a191b365db5571fbed39a945257fb9d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240f47b5e14868b8bf70aa902efd4d8b34e99a8ead6ad91cdf004dc369a16445"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/info.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fe2eb3b8caceceeb65ef9fc6941fee0cafb431d0ef0edb79f8a6af9eb454b4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/reference/src/charge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"520231877f24a88c79f9e23d0ad01319036ab9678fd0fd5e4d527834eac0a544"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/soft-limit-overage/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e52e44c3daf41206f8314232df2eaf37453b68f3221affd604f5af92ba0c6fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b44e594e0f78d0d307e95966cbf1405aa07766340bfb75bfbd6773d2714bbb9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/reference/src/rollup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe7d734fd9a0aa15a6d89453966b3a568120ea4bb7cc791e70ab5e4d714699"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/workspace/src/util/text.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c40a76e0ca11947eeaac9a3d553b219dcb738288adc1b44a0c77a854ba3d18"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/username-collation/grader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a432cbc2419fd123d9ea36a56f12cd1a6089049a07cdd9423502c5ba53c8a1d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/coordination-inventory/evaluate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"867ae69a4cec9efd2c5d3b5d3487465cd66c8da28aea303b8b8a8124dea0a6a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/data-schema-orders/naive/src/revenue.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d44b5d108b6c04bdc0102aa934ed9426fac925b0aa1c8b148120fe77a26b91e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/data-schema-orders/reference/src/revenue.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240f0e6305e6827f3168447797d5324cf4879e08dd6e79ce812bdd185452e6d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/username-collation/reference/src/users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552fb46804dcb0d7b86db6ba7cde4c216cdc029650798c735c8af18297d1dd1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/reference/src/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1718f5c2e60d639a10d36802916688abff86122e38b935779c7f2154e4965e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/workspace/src/http.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671a547d71f05d2a0614ee3098262f53bb6df52527b0d27a54bbc902835cab84"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20119d85ea69052e17946e8c9776b331c315e8d4d23cbd4ac10fe16a3e469905"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/src/report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d819a2da082cffef10c8289cc3607fe73d33f1bdbd334a5a793b09469128bc7d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/naive4/recurring-incident/src/payouts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0639d517a1a3a29457cec8bdb1d747de719fb88208b77137e4c407e1e813f626"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference/incident-triage/src/totals.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e16e9ddc4cd630828a5282cc979b31421684921b9927c66f9cf072895e3f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/soft-limit-overage/reference/src/quota.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83275b1e89c8461cddba168bd2fce4051bc220fd8207009c37870479ec2e98c3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/username-collation/naive/src/users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea9943644d285c91639ff14d8071a5d6604685e5785d3060bd9ba4219663500"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/files/src/request-log.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6d3b945451ab5b4610cbd9b1ff32fb59a556d2a314239f93d332cd96ec8874"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/naive4/recurring-incident/src/refunds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8560378c755a22e12ba128685101e8ea0ad4d08d4bb29c4c18168f703d65c57"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dc414c597e2650872ce965febc4e65100bbfa947027343cbf33c705df420b9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/production-ready/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd2ed213ab82b8f32cb2c85dfb0bc8c6872a3326bcfcb404eb0c6d8a9e696c2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/recurring-incident/src/refunds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c89a6fedd07e58b70d42923c305717b9d5a99a27dee69c870401417d2b7696"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/timezone-daily-rollup/naive/src/rollup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb91e9d9e445a21a10b65a7f8bee5394a4e1610dac6e4f10aaef8e1c96a7dcbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/recurring-incident/src/payouts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb0ac69f0259d463c1d309588d47c71682e4453dd9cf7865950fc49b651d61"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/files/src/inventory-client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b3f34105a5f3f1e02497cd91b63cf75903a087456d5a61f6ed0453c1003ce3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/naive2/keccak-selector/src/selector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2ed7291adc1f0fb2b463388d1e1b2e395fd77afb6abae439d273394fd13ac5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/audit-retention-purge/workspace/src/audit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f4d14e4cc1c50fed60e3e8200301c37bd21fef2c6ece5925abc733cb8b2c21"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/decoy-mutates/src/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8080d75912cd028f162921fbdf06a09a1fc699218c51a89f079ea5f35f72d5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/naive/src/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6e672c22c3bb6486e4c20f0e9f014d01ab6fe7af6428e70565a90aa79d75ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/naive/src/charge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c714aaafba7ab43b8b4d920bd5d5bc07e0d387368b80cf8b0095f750a7132efd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/soft-limit-overage/naive/src/quota.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9934c46d34626ea6b58bb52f2d460bb34918e2296557c1c54b409b6a7aeb3f4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/lib/export/csv.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdc28b7689ade8c283d14519da22ded326091a336e5bf89d886f68c8a592faa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/reference/src/invoice.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b54432415f6e6109c549e53bb64350809def15c7ffaf107bf8c17c0e61ce418"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/lib/export/csv.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f0d801c3b6c2a0af4b38200ec5ab8be484345990d110c39033653f48c53156"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/workspace/src/invoice.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c58b6b21c985700454a2438dab4648ab9e171bf440dae818d414cfd070372c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/reference/src/tags.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb841497e29e2baadb54ebd1437e037cb44c2f3c3373edaa996b71fe0141557"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/workspace/src/posts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"910af4925bad1110634dbfcc35bc9ba947137f76463d8ee24000684dacc3dd09"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/decoy-constant/src/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8e93aaa0db9eaf26f78d5a47b7f1642b90e6b47457e9325c8447eed7a3cc7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/csv-export-delimiter/decoy-keys/src/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b77378c77042ccbc7cea952658cad26c8f8183d0ca2eca815b68e92a54972"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/workspace/src/charge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7788184adb78e3875f3259ff981963447c93158dfc22273317d98fa47da8b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/naive/src/dates.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7945d00283a77d26e0a7577d42ba9476a4a62531949f875288c9b97684130f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/naive/src/tags.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccfa3a752dc1dd56ebd96c5f7284310a1afbeeb6b5fcb3cb6c76ed348111de6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c58c78fdb532a20c81711ebcbe1eba95bb167df9addcefe966850d9face9338"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4843fdff2e9cc82114bd56bb8d31841009d494c6cec508a81e7de5b51a53407"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1fdd532d55b50d6b489d74f3e00ac31b0dd4db5fe44d15d338821db62045f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c35726a721ab843171ec108c9781a38ef200136f6633416edba60e1aaed63aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3defd1849f62e2f0a80ada6fb70f6b57e6cc63e7d07fafd3f9b4cb976f11693a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6c1de252c74bbbbdf1eba2ea971267c77498dc7f651ce354877f527acd61ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/chained-tickets/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f9cd0f8068c78aa283a50b6c139d2551b3e333869a9d0da1d18ac3ee0afca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e266faa964b8cb8139298438d01269ea45202d76592fdfd456578e771cf5dec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/files/src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"581d8fff3913e84289ba7435349220882b72fa1baac0e1a16b5747e7c6d9db66"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but docker/context-profiles/complex-eval/reference3/idempotent-webhooks/test/webhooks.test.js and 2 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/idempotent-webhooks/test/webhooks.test.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3fd7eac1559cea99447be57123f331a23c5c9aab8d686260472eadd9771b32"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_test\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/hooks.test.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1441e0f84ed3ae39b5f6888c5869d0040d26e6c1c439eeda80f3b7a9406e89a9"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): scripts/lib/context-profile-interactive.js \u2192 scripts/lib/context-profile-native.js \u2192 scripts/lib/context-profile-interactive.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-interactive.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"23705663cb83a2efcc32610422108b0622973bfb9c3fc99178af1122539267e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!/^[a-z\\d-]\u002B\\/[a-z\\d_.-]\u002B$/i.test(repository) || !Number.isSafeInteger(number) || number \u003C 1\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f801870c3bb8f75887c3eafd48a1b47dc5e1026c5061fe64bfe4aecbd9a0ae1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(output.exitCode) || output.exitCode === 0\u0060 appears character-identically in 2 files \u2014 scripts/hooks/bash-hook-dispatcher.js, scripts/hooks/observe-runner.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386077cc57b17386ade1e448ec67da85fef9d6868b7f104650ec04d85f7e63b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(ttlSeconds) || ttlSeconds \u003C 1 || ttlSeconds \u003E MAX_TTL_SECONDS\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/service.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d2b54c2e1917ad4f3323b724d21cbddfbd103cfc5153453f5090230fb54151"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(parsed) || parsed \u003C= 0\u0060 appears character-identically in 2 files \u2014 scripts/hooks/hook-input.js, scripts/hooks/lifecycle-hook-bootstrap.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hook-input.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776d40476b712cd3f5853d00484425b3742015b8ceb754501e290b06611f5b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!bareImport \u0026\u0026 !pkg.dependencies \u0026\u0026 !pkg.devDependencies\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs, docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs. 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":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7492d8583bc02e08e167158389079b5939027cb00162b96c15a62a0ac57fffc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config || typeof config !== \u0027object\u0027 || Array.isArray(config)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/hook-consent.js, scripts/lib/mcp-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/hook-consent.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1debdba885e25a9fe8fdddda6721e8773882107b9a45c07d677f2d655ad1e17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current.configured || current.recoveryRequired\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-commands.js, scripts/lib/context-profile-native.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-commands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3cd97400928d8c188cc68c59d7d4d14b3938a04fbf6160a0926d8539848b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || typeof data !== \u0027object\u0027 || Array.isArray(data)\u0060 appears character-identically in 2 files \u2014 scripts/ci/check-hooks-schema-keys.js, scripts/ci/validate-hooks.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-hooks-schema-keys.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c8c9d7cd424ed7c6dfa13f9994658bd338396831261f3281f2d39000b674b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dryRun \u0026\u0026 process.env.PR_MODERATION_BLOCK_TOKEN\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c089692d42f86a16e9eb0c2a8bf21b5b2cfa0284101594090b2c9ccb74bc3f7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isFile() || !entry.name.endsWith(\u0027.md\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/gemini-adapt-agents.js, scripts/qwen-adapt-agents.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gemini-adapt-agents.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e560d216c00085d5eadc6b79e577b0c13fd0338a2476a75b7516d8855e05fc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!extension || entry.name.endsWith(extension)\u0060 appears character-identically in 2 files \u2014 .codebuddy/install.js, scripts/harness-audit.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/install.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae03c260a64a06d6a243ac95fa77b464fc3a47f01e208262173ba62af7dba25a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!frontmatter || typeof frontmatter !== \u0027object\u0027 || Array.isArray(frontmatter)\u0060 appears character-identically in 3 files \u2014 scripts/lib/install/antigravity-agent.js, scripts/lib/install/copilot-agent.js, scripts/lib/install/copilot-rule.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-agent.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efc0c9a47d6cddae22be2f64c0f42d36670db947cb542cb3661fdbed05fa3ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fs.existsSync(file) || !fs.statSync(file).isFile()\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/evidence.js, scripts/lib/context-pack-registry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5c1c9826d0d840ae054231cc6514797f27b543dcc42a101a6a5aa25d55d16d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fs.existsSync(sourcePath) || !fs.statSync(sourcePath).isFile()\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-targets/cursor-project.js, scripts/lib/install-targets/kimi-project.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/cursor-project.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d1549525df9b494d0e9c19546a7862b1cb4f8d112103923ebfbe4cb274a319"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input || typeof input.title !== \u0027string\u0027 || !input.title.trim()\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/production-ready/src/app.js, docker/context-profiles/complex-eval/reference4/production-ready/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/app.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cac1092a1f08a6fbffa231fa57a3e1757455a6669b79cc9277afcd43cae176"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isPlainObject(baseValue) || !isPlainObject(patchValue)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/apply.js, scripts/lib/install/json-ops.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ef33e5ed057716a389fec7704e961575790df23abdd12afbfbb7415372313c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!operation || operation.kind !== \u0027copy-file\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/apply.js, scripts/lib/install/claude-skill-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5940c13a8a5c4bd8a6026c7db83c290c1a10347215c7defc8c8f64e586ab17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!options || typeof options !== \u0027object\u0027 || Array.isArray(options)\u0060 appears character-identically in 3 files \u2014 scripts/lib/context-carriers.js, scripts/lib/context-profile-native.js, scripts/lib/context-profile-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-carriers.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"def041eeb3e441cb7b239d8bff542a77f0db5438ace4f17519df38527b436ad3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0027object\u0027 || Array.isArray(parsed)\u0060 appears character-identically in 11 files \u2014 .cursor/hooks/adapter.js, scripts/lib/agent-data-home.js, scripts/lib/astra-review/fix.js, scripts/lib/astra-review/prompt.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/adapter.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af2e4a3dca8b9d546f7ead777ba50ea458d9b4d990f57d3dd60c73136b86414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed.eventId !== \u0027string\u0027 || !parsed.eventId || typeof parsed.orderId !== \u0027string\u0027 || !parsed.orderId || !Number.isInteg\u2026\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js, docker/context-profiles/complex-eval/reference4/idempotent-webhooks/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"616f84bc4b4649cf30d0c0b818584058f8124c0ab507e76c90d66bade5540b2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!pkg.dependencies \u0026\u0026 !pkg.devDependencies\u0060 appears character-identically in 5 files \u2014 docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs, docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7db9fb946b7cb4f942e2ce8edccc87938ffcd9c22c95cfa059ddf726081dca9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rootStat.isDirectory() || rootStat.isSymbolicLink() || !stateStat.isFile() || stateStat.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/antigravity-legacy-migration.js, scripts/lib/install/opencode-legacy-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"10954b8e55aacd42c5497a86e835f5f28ab7b3ca41ed077f7957ce4d57566bee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!row.providerError \u0026\u0026 !row.timedOut \u0026\u0026 !row.judgeFailed\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/evidence.js, docker/gateguard-effectiveness/lib.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/evidence.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8093b2426e0854cd31ef4ff610303795a2fd9631de54afdf8209ef8cb9a5ea5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scan || !Array.isArray(scan.searches) || scan.searches.length === 0\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-search-evidence.js, scripts/lib/gateguard-turn-scan.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"048dd632401f48083ba12a579e9a54d274c66d567d73c95b573b1b63cc52f653"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!skillPath || typeof skillPath !== \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/skill-evolution/provenance.js, scripts/lib/skill-evolution/versioning.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/provenance.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ccc4463abbf7e95507d8ccb12e33d6ff7b0eb808867dab407ac952d20a8db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat.isDirectory() || stat.isSymbolicLink() || fs.readdirSync(safePath).length \u003E 0\u0060 appears character-identically in 3 files \u2014 scripts/lib/install/antigravity-legacy-migration.js, scripts/lib/install/excluded-paths-reconciliation.js, scripts/lib/install/opencode-legacy-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d0c3105ae8644013a905a4084b6adaba08eba47f91f69ce28da9e00ecc707"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state || typeof state !== \u0027object\u0027 || Array.isArray(state)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/mcp-health-check.js, scripts/lib/install-state.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dd753543b23a1944460c7e4d411b15b5e6a4b379f26d63be4ed4d7f6384b25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stateRoot || !path.isAbsolute(stateRoot) || path.resolve(stateRoot) !== stateRoot\u0060 appears character-identically in 2 files \u2014 scripts/hooks/context-prompt-suggestions.js, scripts/hooks/context-routing-index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/context-prompt-suggestions.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"316db3c13fddaf7ff7923574b78fb18b0ab8001e83b6830ab8f71d23da5b77c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stats.isDirectory() || stats.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/guarded-write.js, scripts/lib/nasiko-release.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/guarded-write.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb9d9d08ab787f8d5f34379472f68c15ca5cc3d185019e466b18bb77916a5e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stream.result || stream.result.is_error === true\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/lib.js, docker/gateguard-effectiveness/session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd1cfc906759ffc905405ad943bada34e6057f54d2c6b87431ff36bf551a23c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!target || typeof target !== \u0027object\u0027 || Array.isArray(target)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-state.js, scripts/lib/session-adapters/registry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-state.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c59e013f1a4f333a972859fb732fada20ac0b61201acee179c01cc9c11b30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!toolInput || typeof toolInput !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 scripts/hooks/ecc-metrics-bridge.js, scripts/hooks/session-activity-tracker.js, scripts/hooks/skill-run-tracker.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"824bb7ecbbec22989aad45900a3de1867a926490502e8b1a59eea24f842471b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!transcriptPath || !fs.existsSync(transcriptPath)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/evaluate-session.js, scripts/hooks/pre-compact.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/evaluate-session.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5b8998dfdaa96ef7c88d869fbb79ca963274f9b9806f4d51482f0abf62289c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 scripts/hooks/hookify-runtime.js, scripts/hooks/session-activity-tracker.js, scripts/lib/coordination-inventory.js, scripts/lib/eval-harness/envelope.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e57646a3fb379a6998a5e79ea7707537de4d74f68170b8c7a31bf528342d834"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(previousState \u0026\u0026 previousState.operations) || []\u0060 appears character-identically in 4 files \u2014 scripts/lib/install/apply.js, scripts/lib/install/claude-skill-migration.js, scripts/lib/install/excluded-paths-reconciliation.js, scripts/lib/install/ownership-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d30eb628d55bca69858ce11d5db722abcb030c67726baee2bcd2c13ab0844d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(tests.match(/\\btest\\(/g) || []).length \u003E= 4 \u0026\u0026 /Promise\\.all|concurrent|duplicate|retry/i.test(tests)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ce8f82dc1040a58f2646695cba56c99be68a76ca821e0c40b7b31beacc7a1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(value.startsWith(\u0027\u0022\u0027) \u0026\u0026 value.endsWith(\u0027\u0022\u0027)) || (value.startsWith(\u0022\u0027\u0022) \u0026\u0026 value.endsWith(\u0022\u0027\u0022))\u0060 appears character-identically in 2 files \u2014 scripts/ci/validate-commands.js, scripts/hooks/session-start.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-commands.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"72572a3bd28261447e7e95088a4358169defae970145fc8a837b62556e9edc30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/--test\\b/.test(script) \u0026\u0026 !/--test\\s\u002Btest\\/?\\s*$/.test(script.trim())\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs, docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs. 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":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa7c95e2ee5b29b998a28a41f3d4d7526a567380066c2097ae7865c84ae7fed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(error) \u0026\u0026 error.code === \u0027ENOENT\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/gateguard-fact-force.js, scripts/lib/gateguard-target-class.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f528689076190f80241cb75e2dbc40de07d2c8324042e609a220e2e046b9ddd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 scripts/lib/control-pane/state.js, scripts/lib/gateguard-state.js, scripts/lib/install/apply.js, scripts/lib/install/json-ops.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"78afb680db3186a9af4054de9dad0c66ad2429b15501fc6769420a9beb44de4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(a.created_at) - Date.parse(b.created_at) || a.number - b.number\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1ff99f9f04b8890e4ae06ed3701deea074315c9f4fab65df047f638fc1ae9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(process.env.ECC_HOOK_INPUT_MAX_BYTES) || MAX_STDIN\u0060 appears character-identically in 3 files \u2014 scripts/hooks/config-protection.js, scripts/hooks/governance-capture.js, scripts/hooks/mcp-health-check.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/config-protection.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20877503a7098522eeeb00e658450d2dc5f9c9cb8efd7c26d0e78936241888b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String(filePath).split(/[\\\\/]/).pop() || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-search-evidence.js, scripts/lib/gateguard-turn-scan.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c768ab90313858470a43db5e94191d5a4ea98ad882e2621fa53c98bef05e43a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String(value || \u0027\u0027) .toLowerCase() .replace(/[^a-z0-9]\u002B/g, \u0027-\u0027) .replace(/^-\u002B|-\u002B$/g, \u0027\u0027) || \u0027unknown\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/github-coordination/state.js, scripts/work-items.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/state.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d8312eb140bfb975d2b3644e9fd2d52d70201c655f02935e0b482ccb6a74a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060after \u0026\u0026 after.status === 302 \u0026\u0026 after.headers.get(\u0027location\u0027) === \u0027https://example.com/durable\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f52dd5cf875f03ff32bd2de42f7ba8a3812f4dd984093a94c5ebe7275a85288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.includes(\u0027--help\u0027) || args.includes(\u0027-h\u0027)\u0060 appears character-identically in 3 files \u2014 scripts/consult.js, scripts/lib/control-pane/server.js, scripts/plan-canvas.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/consult.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"806f973ebedfcdafd1900100672987ce6230824a14ffcb2f986873da3f3ab5f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argument === \u0027--help\u0027 || argument === \u0027-h\u0027\u0060 appears character-identically in 4 files \u2014 docker/plugin-setup/interactive-plan.js, scripts/install-guided.js, scripts/setup.js, skills/terminal-opener/scripts/open-terminal.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/plugin-setup/interactive-plan.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158e2bfaa9f600cfd87de2fe03cc29cf924260a267bdff2a5880afa42a7f391"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argument === \u0027--yes\u0027 || argument === \u0027-y\u0027\u0060 appears character-identically in 3 files \u2014 scripts/install-guided.js, scripts/nasiko.js, scripts/setup.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afccaf271396f12181e897fd93ed4c365899b49f1719c6d0ab88577c9a568b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argv.includes(\u0027--help\u0027) || argv.includes(\u0027-h\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/gemini-adapt-agents.js, scripts/qwen-adapt-agents.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gemini-adapt-agents.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2df05f0a2822e0bdf3cdd153eba81d62c690efc9a5ec54d94eaf47508fd4486"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060before.dev === after.dev \u0026\u0026 before.ino === after.ino \u0026\u0026 before.mode === after.mode\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-support.js, scripts/lib/plan-canvas/server.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-support.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2df263637beef7c66c9deb7db62584d79dbd292ba6eff7dee82681c5f7e03dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060before.status === 200 \u0026\u0026 beforeBody \u0026\u0026 beforeBody.hits === 0\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe04a5964598fd04be4f89477429ada29205a6bfa4e6d472fcaebee73c379a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body \u0026\u0026 body.error \u0026\u0026 typeof body.error.code === \u0027string\u0027 \u0026\u0026 /^[A-Z][A-Z0-9_]\u002B$/.test(body.error.code) \u0026\u0026 typeof body.error.message === \u0027str\u2026\u0060 appears character-identically in 12 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs, docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs, docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs, docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1ee76605a73c6d655df8f3e66f1b3266989405e80a4faf2db3e82fa4272c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changelog.length \u003E 20 \u0026\u0026 /product|harden|valid|health|log/i.test(changelog)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"21412357e6740d3b30a7663348ed4cc02a6e7fb8121fd4ee879c763be99e2d46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changelogEntries \u003E= 2 \u0026\u0026 /persist|restart|data/i.test(changelog)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92c1c699b9f0a63c5674ba3bd0ca94bab7c0be457827b3e4a45594e9e8c1930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changelogEntries \u003E= 3 \u0026\u0026 /abuse|rate|valid|secur/i.test(changelog)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"74185622636f75fad812bbb253c8555df5f734965d671d4f8b7cf66185a46390"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changelogEntries \u003E= 4 \u0026\u0026 /stat|analytic|hit/i.test(changelog)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"10205f196db6dea1ac0b55baf8666eeca5fc643d054e1a4d68e6e45cebc15f5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.coordinationRoot || path.join(repoRoot, \u0027.orchestration\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/lib/orchestration-session.js, scripts/lib/tmux-worktree-orchestrator.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/orchestration-session.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d42f41e3e7e02f7a9f72d12209318fae4bb937663250791ec828524178f545"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.plugin !== undefined \u0026\u0026 !Array.isArray(config.plugin)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/apply.js, scripts/lib/install/hook-consent.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d386716721d8bc726bdf2823cde3fa29140c0691f2be8755dbb416917ceb725"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.persistSnapshots !== false \u0026\u0026 options.persistSnapshots !== false\u0060 appears character-identically in 4 files \u2014 scripts/lib/session-adapters/claude-history.js, scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/dmux-tmux.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d31163fa0fcc1aaa1ce4a2bba6620fdb193aec9fb4d66ef061bec3b28b78b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.recordingDir || options.recordingDir\u0060 appears character-identically in 4 files \u2014 scripts/lib/session-adapters/claude-history.js, scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/dmux-tmux.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e434dc188928d6011fac3dbe4975730ddda60e55b6f37a72ff0c2112c31195"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060created.status === 201 \u0026\u0026 createdBody \u0026\u0026 /^[A-Za-z0-9]{6,10}$/.test(createdBody.code || \u0027\u0027) \u0026\u0026 typeof createdBody.shortUrl === \u0027string\u0027 \u0026\u0026 t\u2026\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"337f055e4e18c123a706b800403e59fb45e726fc5656d42c1cf1158bf6be74c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.hooks \u0026\u0026 typeof data.hooks === \u0027object\u0027 \u0026\u0026 !Array.isArray(data.hooks)\u0060 appears character-identically in 2 files \u2014 scripts/ci/check-hooks-schema-keys.js, scripts/ci/validate-hooks.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-hooks-schema-keys.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a3aad129b47956f1d40790f7cc5572f04978be44381953f954202b39097667"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060del.status === 204 \u0026\u0026 after.status === 404\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5f8e6cb38770047f9d255d9d2925619e660d950c0bf25b22ac5d2a818e3487"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dryRunEnv !== undefined \u0026\u0026 dryRunEnv !== \u00270\u0027 \u0026\u0026 dryRunEnv !== \u00271\u0027\u0060 appears character-identically in 4 files \u2014 scripts/install-guided.js, scripts/lib/install/request.js, scripts/repair.js, scripts/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/install-guided.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664687524a05ad69935bf1be9b3bfcc7a1621abb6ab0213e5ae81f96ace7f2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.isDirectory() \u0026\u0026 !e.name.startsWith(\u0027.\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/ci/validate-skills.js, scripts/lib/coordination-inventory.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skills.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1632d04c513757a0363db15c4ea46d824575009726797f713124518ef3f75186"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003C text.length \u0026\u0026 isIdentChar(text[end])\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-change-profile.js, scripts/lib/gateguard-file-context.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c05e01a02dd3b16a55de31af2c07698e2f6e7b035665fd9d4b5ae1b061f68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() \u0026\u0026 !entry.name.startsWith(\u0027.\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/ci/validate-skill-host-compat.js, scripts/lib/memory-vault.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-skill-host-compat.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3627a7187bbd6ec65263a537fb2dca13ee9ebfc4bb05ff014fdd9ba71737651a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0027.md\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/ci/catalog.js, scripts/ci/generate-command-registry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/catalog.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"595911e97bd693a7fe656b544c8832e50a23a06ea57c2ca43cb31dfe8220dd38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name.startsWith(\u0027.\u0027) || entry.name === \u0027node_modules\u0027\u0060 appears character-identically in 3 files \u2014 docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs, docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs, docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs. 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":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b9586caee5d49766b54c1434fb9934b41ba7996a989377a12da6481f846665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 (error.code === \u0027ENOENT\u0027 || error.code === \u0027ENOTDIR\u0027)\u0060 appears character-identically in 6 files \u2014 scripts/lib/astra-review/scope.js, scripts/lib/install/antigravity-legacy-migration.js, scripts/lib/install/opencode-legacy-migration.js, scripts/lib/install/stale-operations-reconciliation.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/astra-review/scope.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"43164b1c2f605ecccc9d8c00688f3d0eab567dce85f837356d31873eb882898e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.decision === \u0027deny\u0027 || event.decision === \u0027routine-deny\u0027\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/intent-eval.js, docker/gateguard-effectiveness/lib.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da10d1125512bec4a2a0517a634f16cd110e383aafc303206f00e126cc071c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing?.body.includes(escalation) \u0026\u0026 !result.block\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a577c634a5e42b47329cf2b1952e41b120c8220ca3922f188cf842ba40d717aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expiredAfter \u0026\u0026 expiredAfter.status === 410\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f54e498e3adb0f25a196faae9926a70cfa3a3771bca6cee6edd3dc68f6e8fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filePath \u0026\u0026 /\\.(ts|tsx|js|jsx)$/.test(filePath)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/post-edit-console-warn.js, scripts/hooks/post-edit-format.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-console-warn.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8127a3924476bea8364b8df04da5f2efa84a299edbe82b930c2daab710288f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060finalPathStat.isSymbolicLink() || !finalPathStat.isFile() || !unchanged\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/excluded-paths-reconciliation.js, scripts/lib/install/opencode-legacy-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/excluded-paths-reconciliation.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e414c059f159153459709ae9d65851c62f61a64b59fec84b06c5ccceea7735c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fs.existsSync(candidate) \u0026\u0026 fs.statSync(candidate).isFile()\u0060 appears character-identically in 2 files \u2014 scripts/ci/scan-supply-chain-iocs.js, scripts/lib/mcp-inventory/readers/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"558727e97039b34339b8575325472b5843636ef6bfea9d6676e1514bdfb6ce2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fs.realpathSync.native || fs.realpathSync\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-target-class.js, scripts/lib/observer-sessions.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-target-class.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfd99fcc473d470e51cd6df023d37a18b8bab4ecd4659017f642b1cccfd7452"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060health.status === 200 \u0026\u0026 healthBody \u0026\u0026 healthBody.status === \u0027ok\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bef869792a120614ceef9cf223082d1013085578fc97d6c911f52846608b86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060huge.status \u003E= 400 \u0026\u0026 huge.status \u003C 500 \u0026\u0026 hasEnvelope(hugeBody)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2a301db08c053763820a26fdd233088971331d74db776ce6fe711ea13125dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input \u0026\u0026 typeof input.transcript_path === \u0027string\u0027 \u0026\u0026 input.transcript_path.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/hooks/pre-compact.js, scripts/hooks/session-end.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe0631aba861f19cfe97711a3a2e42ba96b364446a35692ad0976fdd59c2a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.agent_name || input.agent || \u0027unknown\u0027\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/subagent-start.js, .cursor/hooks/subagent-stop.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/subagent-start.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c6db3c7757ac7da33291539a2034e4bbc87e34756eccb5aac0fc8bca38e6aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.command || input.args?.command || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/after-shell-execution.js, .cursor/hooks/before-shell-execution.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/after-shell-execution.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d474e031d5a28f19e833edfe897e51c6c210509dba29549c7452da51771b6488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.file_path || input.path || input.file || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/after-file-edit.js, .cursor/hooks/after-tab-file-edit.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/after-file-edit.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d435e7e927f4ea5d340799868e231c8019fbfc3a78dac04e0b95f619aa75d0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.server || input.mcp_server || \u0027unknown\u0027\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/after-mcp-execution.js, .cursor/hooks/before-mcp-execution.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/after-mcp-execution.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fe677dff1cf042a10da8f0f83c7d5c7ba9d594e57c92e860a4b058f91c5cd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.tool || input.mcp_tool || \u0027unknown\u0027\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/after-mcp-execution.js, .cursor/hooks/before-mcp-execution.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/after-mcp-execution.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30b3b157e9145f80c20ed5409120353ad52bde90cde889dfb0a41730b10da43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input[index \u002B 1] === \u0027\\r\u0027 \u0026\u0026 input[index \u002B 2] === \u0027\\n\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/lib/shell-scan.js, scripts/lib/powershell-destructive-command.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lib/shell-scan.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d460ccd53828bf0a3ddceddcd81cf8c752f3146eef849c1c461c08c0a3c889"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPlainObject(value) \u0026\u0026 isPlainObject(merged[key])\u0060 appears character-identically in 3 files \u2014 scripts/lib/control-pane/state.js, scripts/lib/install/apply.js, scripts/lib/install/json-ops.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a0cc7f92a8ab79c3091526fabfe9dea873a83e242d8a409b6f87e5dbe44de8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limited.length \u003E 0 \u0026\u0026 limited.every(hasEnvelope)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af8b043c224e1072b31b19bcc10b7d3e0a2433c53ca29215fe9d3d10f2f8b62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logsFor(orderId) === 1 \u0026\u0026 store.orders.get(orderId).paymentsApplied === 1\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c65df915f23f3e75be9885d9aea1c60a2be5327bef3b54c602c72160610a9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060namedMarketplace \u0026\u0026 !isOfficialMarketplace(namedMarketplace)\u0060 appears character-identically in 2 files \u2014 scripts/lib/claude-plugin-setup.js, scripts/lib/claude-scope-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"da19b9eaf397826b5f41b30e7d209fb2a0df36c8b769fdeb6a04f789756b4c0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedSourcePath === \u0027docs\u0027 || normalizedSourcePath.startsWith(\u0027docs/\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-targets/claude-home.js, scripts/lib/install-targets/claude-project.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2690a0b9860fbe7403a91dade1603dfe7af320ad988efec87f4721796f920959"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation.kind === \u0027copy-file\u0027 \u0026\u0026 operation.sourceRelativePath\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-lifecycle.js, scripts/lib/install/apply.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"67da3436bafe361cbb7eea1f92675948d253b3ad82ee4c1df7637cc4e24cd088"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation.moduleId === \u0027commands-core\u0027 \u0026\u0026 normalizeRelativePath(operation.sourceRelativePath).startsWith(\u0027scripts/\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-targets/claude-home.js, scripts/lib/install-targets/claude-project.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb10014627edd56a0e7a2fe454cfdc1f267610619d489aaa7f753fa9c4e20f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.expectedCarrierDigest !== undefined \u0026\u0026 !DIGEST.test(options.expectedCarrierDigest)\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-native.js, scripts/lib/context-profile-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"054dac30d8c47734c67cbab2680f63cdddcebec15039b8ff437869b681a550c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.expectedRevision !== undefined \u0026\u0026 (!Number.isSafeInteger(options.expectedRevision) || options.expectedRevision \u003C 0)\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-native.js, scripts/lib/context-profile-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3aade5d655edb66a087177e78f4738330f1dbe48e9eed32a7a69bafe839126"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.generatedAt || new Date().toISOString()\u0060 appears character-identically in 2 files \u2014 scripts/lib/inspection.js, scripts/release-video-suite.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/inspection.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd87682a8290e063b4adc0db3d1198c28e200e7daf74d34391e473f8b7089e25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.homeDir || process.env.HOME || os.homedir()\u0060 appears character-identically in 7 files \u2014 scripts/auto-update.js, scripts/github-coordination.js, scripts/lib/github-coordination/store.js, scripts/lib/install-executor.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ab8489d9ae0d282623cf3b033466001a3bce2ea8e828fc51935163bf778177"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.hooks !== undefined \u0026\u0026 !VALID_HOOK_MODES.has(options.hooks)\u0060 appears character-identically in 3 files \u2014 scripts/lib/claude-plugin-setup.js, scripts/lib/claude-scope-migration.js, scripts/setup.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf77ec50b11bd776b065423d06c3ef49a1bec328319527088286fdd1ddbf127"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.persistCanonicalSnapshotImpl || persistCanonicalSnapshot\u0060 appears character-identically in 4 files \u2014 scripts/lib/session-adapters/claude-history.js, scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/dmux-tmux.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c4de5a8d1907315689f1627a5de35eddfadb596edb615537d04ce385ccb784"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.repoRoot || path.join(__dirname, \u0027..\u0027, \u0027..\u0027, \u0027..\u0027)\u0060 appears character-identically in 3 files \u2014 scripts/lib/control-pane/proximity.js, scripts/lib/control-pane/server.js, scripts/lib/control-pane/state.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd24a2acd2f8899c5de7c315afbbf5165aa033223fdba51bd69241ea2353ef1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.scope !== undefined \u0026\u0026 !VALID_SCOPES.has(options.scope)\u0060 appears character-identically in 2 files \u2014 scripts/lib/claude-plugin-setup.js, scripts/setup.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/claude-plugin-setup.js"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fadcf7237cbedd751ecc5787fbcfb3b8d336678693f1a5cb02ac93f3245e5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.strategy || \u0027preserve-relative-path\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-executor.js, scripts/lib/install-targets/helpers.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-executor.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28b58b44f0751047f3f9c4715755f9067a22983adefc571e3b62dd0b3e2616f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060orderView.status === 200 \u0026\u0026 orderBody \u0026\u0026 orderBody.status === \u0027paid\u0027 \u0026\u0026 orderBody.paymentsApplied === 1 \u0026\u0026 Boolean(orderBody.paidAt)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca7c1faf5f5ffd78d36430c1f7935334ff2e992f4a2c2e65e9767cc09bc2c5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 3 files \u2014 .cursor/hooks/session-start.js, scripts/hooks/ecc-metrics-bridge.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/session-start.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a7fce379d57c64695674fccb5e1ec56ea95d3368cd8e3d848b8a64150ed532"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 /method/i.test(Object.keys(parsed).join(\u0027 \u0027)) \u0026\u0026 /path|url/i.test(Object.keys(parsed).join(\u0027 \u0027)) \u0026\u0026 \u2026\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f128664124a80cc5a5b639cdc9dcc0e80c6195ce00a80e84861a820c87fc108"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 parsed.sessions\u0060 appears character-identically in 2 files \u2014 scripts/hooks/plan-canvas-pending.js, scripts/lib/plan-canvas/sessions.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plan-canvas-pending.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be88edf831243492ea66b7bdeac357461711ab9b0b23422e88ba13ed4844934"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed.mcpServers === \u0027object\u0027 \u0026\u0026 parsed.mcpServers\u0060 appears character-identically in 2 files \u2014 scripts/lib/mcp-inventory/readers/claude-code.js, scripts/lib/mcp-inventory/readers/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/claude-code.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b6941ac06ad5544e6453f38d91d32e5c8a1a6cccf774bb45e6531f8dd670b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0027http:\u0027 \u0026\u0026 parsed.protocol !== \u0027https:\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/service.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b8c33e930df823020178629377418dca86338cf0a7fbb4e5873420476b2dff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.writePath \u0026\u0026 parsed.format === \u0027text\u0027\u0060 appears character-identically in 2 files \u2014 scripts/discussion-audit.js, scripts/platform-audit.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/discussion-audit.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f663acf35b301ebd24f2bbf7575ea2b6305fa54e35a65e52d5b36d204425de8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathExists(location.targetRoot) \u0026\u0026 fs.readdirSync(location.targetRoot).length === 0\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/antigravity-legacy-migration.js, scripts/lib/install/opencode-legacy-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/antigravity-legacy-migration.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99cd1f1ff49a1292bc996ab381d934b80da478b5a28a51a96d174b0e1faa603"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previousOperation \u0026\u0026 previousOperation.contentSha256\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-lifecycle.js, scripts/lib/install/codex-user-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-lifecycle.js"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c572d803a36a94ebebc610ee119c40bbe207f3890d29a2921336e63835f02f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previousState \u0026\u0026 ( previousState.target.id !== plan.adapter.id || comparablePath(previousState.target.root) !== comparablePath(plan.targetRo\u2026\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/apply.js, scripts/lib/install/ownership-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/apply.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9377b3cef7906207fc40c6583bd1c86b7bda7cfb8adf5ae4391a8cb7fd1cbb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.BASH \u0026\u0026 process.env.BASH.trim()\u0060 appears character-identically in 2 files \u2014 scripts/hooks/observe-runner.js, scripts/hooks/plugin-hook-bootstrap.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/observe-runner.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fb062af689506ffd1bee95c5d60684cadd22cf2ea01336805eaf139477ff77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CLAUDE_PLUGIN_ROOT \u0026\u0026 process.env.CLAUDE_PLUGIN_ROOT.trim()\u0060 appears character-identically in 2 files \u2014 scripts/hooks/observe-runner.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/observe-runner.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"77935601065fc48b8b08f9f9d134818757146ec56311e2794502e092d082c141"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DATA_FILE || path.join(process.cwd(), \u0027data\u0027, \u0027links.json\u0027)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/app.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/app.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"743fcb89f90dfeba65536ae31157d9df32a855d9895c38c46e5954ba82030e62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.ECC_HOOK_INPUT_TRUNCATED || \u0027\u0027\u0060 appears character-identically in 3 files \u2014 scripts/hooks/config-protection.js, scripts/hooks/governance-capture.js, scripts/hooks/mcp-health-check.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/config-protection.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db23f9e985a7b5ab8c6b10a1913fb2517c6499ea21659f1a13bab1c8c1fd5d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.ECC_HOOK_INPUT_TRUNCATED_UPSTREAM || \u0027\u0027\u0060 appears character-identically in 5 files \u2014 scripts/hooks/lifecycle-hook-bootstrap.js, scripts/hooks/posttooluse-dispatcher.js, scripts/hooks/pre-bash-dispatcher.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dc46db67481f988b881e41fa21207a770ce4fa3244bde1ba82899a360120a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.ECC_MCP_HEALTH_FAIL_OPEN || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/mcp-health-check.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ddc03689cce353a65dde185d509d64a79d62b13228587530c421e8b54b8b41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GATEGUARD_STATE_DIR || path.join(process.env.HOME || process.env.USERPROFILE || \u0027/tmp\u0027, \u0027.gateguard\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/gateguard-report.js, scripts/hooks/gateguard-fact-force.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gateguard-report.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d797c27f1657fc54c11c87c22826279d1a6c9f95bbc2cc829374d429db8eda4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.HOME || process.env.USERPROFILE\u0060 appears character-identically in 2 files \u2014 scripts/lib/agent-data-home.js, scripts/lib/utils.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/agent-data-home.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bdeaf525a3c5a129a7b491160d6e6dffdb67f6fbb737e804701d580f15b8af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PORT || process.argv[2] || 8080\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/index.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/index.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"938f8053775b89e40b2bd3f2159b60f26cb83b80c120797dd959a3c3cccda6ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.USERPROFILE || process.env.HOME || os.homedir()\u0060 appears character-identically in 2 files \u2014 .codebuddy/install.js, .codebuddy/uninstall.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codebuddy/install.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df395af6f5770e8b0bb6e83f38905d6960016217793d532366d2fb7ba5ee47c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.getuid \u0026\u0026 stat.uid !== process.getuid()\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-native.js, scripts/lib/context-profile-store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-native.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"841338e73df7150767a110ed698338067dbd42b22f0e51d60eb76103addec892"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0027win32\u0027 \u0026\u0026 process.env.SystemRoot\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-launch.js, scripts/lib/context-profile-native.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-launch.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd77674db6e63cca6d22bf40968c5424e0421daddefd49fceb4c987417d8bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0027win32\u0027 \u0026\u0026 resolved.bin.endsWith(\u0027.cmd\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/post-edit-format.js, scripts/hooks/stop-format-typecheck.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-format.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b23e74d8e409f6e6e0a1b1745b832ac4c000ce26b40093d9a06ba26fb27bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prototype === Object.prototype || prototype === null\u0060 appears character-identically in 3 files \u2014 scripts/hooks/hookify-runtime.js, scripts/lib/eval-harness/envelope.js, scripts/lib/install/claude-settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hookify-runtime.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35859775ba0655a5f9b8c622de44320934c3e35ea4253273c7b15107fb41221"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawSessionId || crypto.createHash(\u0027sha1\u0027).update(process.cwd()).digest(\u0027hex\u0027).slice(0, 12)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/post-edit-accumulator.js, scripts/hooks/stop-format-typecheck.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/post-edit-accumulator.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a8f873af887e8e243d38eee82dec67755f8055ccbd0f5eeda3d96e812703ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.error || \u0027No valid install-state available\u0027\u0060 appears character-identically in 2 files \u2014 scripts/auto-update.js, scripts/lib/install-lifecycle.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a68eb6953303eb0aed6156abd45b074da6a60c941cc4e2755db9735fe6ba26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.outcome \u0026\u0026 record.outcome.success\u0060 appears character-identically in 2 files \u2014 scripts/lib/skill-improvement/evaluate.js, scripts/lib/skill-improvement/health.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-improvement/evaluate.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a09fa42a384289555b1154158615099ca190f54e5c7d758b543cb7b85f61c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060redirect.status === 302 \u0026\u0026 redirect.headers.get(\u0027location\u0027) === \u0027https://example.com/landing\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e472e965400431b453ee199faaeeaac023d51655137e5628d8f6f351f0d77b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relativePath === \u0027\u0027 || relativePath.startsWith(\u0027..\u0027) || path.isAbsolute(relativePath)\u0060 appears character-identically in 2 files \u2014 scripts/lib/codex-legacy-sync.js, scripts/lib/install/claude-skill-migration.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"534f329451ff48509286c8df0a2ba8662c09d250916da3c33a30d1105655aa62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027GET\u0027 \u0026\u0026 url.pathname === \u0027/admin/stats\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js, docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6891ab9375ccaf75068b55f344681820c80cfa4677920d0e6b0f106ead90de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027GET\u0027 \u0026\u0026 url.pathname === \u0027/files\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js, docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b8ba89734a1dfde3756fff5a7aa6934814f093282484dd2ca36059bdd7317f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027GET\u0027 \u0026\u0026 url.pathname === \u0027/health\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/production-ready/src/app.js, docker/context-profiles/complex-eval/reference4/production-ready/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/production-ready/src/app.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"122aae3f1f333038c40335ef10fed0dd15a8a71b8e7d14322f2b4200d85eeb6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027GET\u0027 \u0026\u0026 url.pathname === \u0027/notes\u0027\u0060 appears character-identically in 4 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js, docker/context-profiles/complex-eval/cases4/production-ready/files/src/app.js, docker/context-profiles/complex-eval/reference3/production-ready/src/app.js, docker/context-profiles/complex-eval/reference4/production-ready/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"99147276926e66e007282b8b7a0801051915199a05ef13ae100cdc8dfbcc7583"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027GET\u0027 \u0026\u0026 url.pathname === \u0027/stats\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/app.js, docker/context-profiles/complex-eval/reference2/event-stats-api/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/files/src/app.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"631b507fab9b26abc63e4dc7ded3bfaac434b586015cebd258bd9819e8cc06b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027POST\u0027 \u0026\u0026 req.url === \u0027/deliveries\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases/webhook-relay/files/src/app.js, docker/context-profiles/complex-eval/reference/webhook-relay/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/files/src/app.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23862c1217342092eb2944edbc121fd9da6cd3ebc31ea8774f14a1f505ae78b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027POST\u0027 \u0026\u0026 url.pathname === \u0027/links\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/routes.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/routes.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/routes.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f423f9348b3fd1502d84f87a2937241bfc02036d2211e6a63346b47571cef8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027POST\u0027 \u0026\u0026 url.pathname === \u0027/notes\u0027\u0060 appears character-identically in 4 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js, docker/context-profiles/complex-eval/cases4/production-ready/files/src/app.js, docker/context-profiles/complex-eval/reference3/production-ready/src/app.js, docker/context-profiles/complex-eval/reference4/production-ready/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/files/src/app.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5ea58717659557e8a1354f618a43bc1b61e7fbce163161f86165cdf0eac99c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027POST\u0027 \u0026\u0026 url.pathname === \u0027/pastes\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js, docker/context-profiles/complex-eval/reference/sentinel-api/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe06bba88587625ac6b76ec311a1604ca9aa585feccd2f729aba7f782f4af36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0027POST\u0027 \u0026\u0026 url.pathname === \u0027/webhooks/payments\u0027\u0060 appears character-identically in 4 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files/src/app.js, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/files/src/app.js, docker/context-profiles/complex-eval/reference3/idempotent-webhooks/src/app.js, docker/context-profiles/complex-eval/reference4/idempotent-webhooks/src/app.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/files/src/app.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e212845d4119941a228d34ee2026baf7e13c221ddfc0b021c8a6e17806afa1f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedTarget !== resolvedRoot \u0026\u0026 !resolvedTarget.startsWith(resolvedRoot \u002B path.sep)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/observe-runner.js, scripts/hooks/plugin-hook-bootstrap.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/observe-runner.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d000d5c2ecd945ade197e1876c23cf67f0246a421ce10dc06ac84df2b8a3e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 Number.isFinite(result.duration_ms)\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/lib.js, docker/gateguard-effectiveness/session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfae926b5b63ac258c23c2ebea5ffcc01f8fe9e9b3a9016f0d98f711313d64b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 Number.isFinite(result.num_turns)\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/lib.js, docker/gateguard-effectiveness/session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf04918105da9f9451d9955189848ca58dff0f88163ed152e16160e245d4c402"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 Number.isFinite(result.total_cost_usd)\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/lib.js, docker/gateguard-effectiveness/session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c3c00cfed83911a32a692659636083e04037757785bc57f4e8c9fb597914ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.block \u0026\u0026 !existing.body.includes(escalation)\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1672417641689e625192bf089964d9c1cc6d929e7a6d46f9c4e052923a8f4e50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.error || result.signal || result.status === null\u0060 appears character-identically in 4 files \u2014 .cursor/hooks/adapter.js, scripts/hooks/observe-runner.js, scripts/hooks/plugin-hook-bootstrap.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/adapter.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3edc3d5bffa8408c8a24c2a8166bc47a391c5b77cbeee54521a370fff5f5e07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.error || result.status === null || result.signal\u0060 appears character-identically in 2 files \u2014 scripts/hooks/lifecycle-hook-bootstrap.js, scripts/hooks/session-start-bootstrap.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/lifecycle-hook-bootstrap.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d2bcd83ea46ecfe316f422bbd0cb40cabac1ed68ee36172184b5cea55c4ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.errors?.length || /^(Failed|Unavailable):/.test(result.blockStatus || \u0027\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/ci/issue-submission-guard.js, scripts/ci/pr-burst-guard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/issue-submission-guard.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"699da85309fe52f0ee2653d235d0b3318202fabc5a5982d595bd16ea04e3461d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retry.status === 200 \u0026\u0026 retryBody \u0026\u0026 retryBody.status === \u0027duplicate\u0027 \u0026\u0026 logsFor(\u0027o1\u0027) === 1\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8d5bd02a2c68ca1602d5dd56cc149f59fbf962f197e90e84e4e33687d9b9bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.providerError \u0026\u0026 isAuthenticationFailure(row.providerMessage)\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/run-intent.js, docker/gateguard-effectiveness/run.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/run-intent.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"be126e842f8a4c842a3cea405e7636e7380b3f65c51141a0cc6b52c75a8dca38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sanitizeSessionId(input.session_id) || sanitizeSessionId(process.env.ECC_SESSION_ID) || sanitizeSessionId(process.env.CLAUDE_SESSION_ID)\u0060 appears character-identically in 2 files \u2014 scripts/hooks/ecc-context-monitor.js, scripts/hooks/ecc-metrics-bridge.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce4251b51b2082ae3433a406ddf90345c34771275733845c6abb2569a4c3115"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scope === ctx.targetKey || isInsideDir(ctx.targetKey, scope)\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-search-evidence.js, scripts/lib/gateguard-search-filters.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7251045c0f73bcc8a7b472b524081edaa1e5eb3f7217672f15fb80787964b18b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060second.status === 200 \u0026\u0026 secondBody \u0026\u0026 secondBody.status === \u0027already_paid\u0027 \u0026\u0026 logsFor(\u0027o2\u0027) === 1\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"259491bf620b73320d992a7292472eb75ed6a9ad39c7b289698b1ca3768ed250"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seen.has(arg) \u0026\u0026 ![\u0027--include\u0027, \u0027--exclude\u0027].includes(arg)\u0060 appears character-identically in 2 files \u2014 scripts/lib/context-profile-commands.js, scripts/profile.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/context-profile-commands.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef6e8d251598afa19887fc8020981b973fd7fb99567ed36c98b23adfae388fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionProject \u0026\u0026 sessionProject === currentProject\u0060 appears character-identically in 2 files \u2014 scripts/hooks/pre-compact.js, scripts/hooks/session-start.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e52d2a3e6d7e2e0d5651e90d2b71e0914bafca44d9cb9ada825f81bf0a3a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionWorktree \u0026\u0026 normalizePath(sessionWorktree) === normalizedCwd\u0060 appears character-identically in 2 files \u2014 scripts/hooks/pre-compact.js, scripts/hooks/session-start.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/pre-compact.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce031240544e55ed1a22e55e498c89cb2f64672ade418fb3abf3d9ebd38566e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060single.status === 200 \u0026\u0026 singleBody \u0026\u0026 singleBody.status === \u0027processed\u0027 \u0026\u0026 singleBody.orderId === \u0027o1\u0027 \u0026\u0026 logsFor(\u0027o1\u0027) === 1\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9bef93b6d13572eef3dedc0954e412179387ae12330628af7a4d072a5cbee3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stat.isSymbolicLink() || !stat.isDirectory()\u0060 appears character-identically in 2 files \u2014 scripts/lib/codex-legacy-sync.js, scripts/lib/install/opencode-script-boundary.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e909fcb50d904c92d5ea3fe31c874655a203948925e343304d094ddeb0229f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.schemaVersion || policy.schemaVersion || DEFAULT_SCHEMA_VERSION\u0060 appears character-identically in 2 files \u2014 scripts/lib/github-coordination/parsing.js, scripts/lib/github-coordination/state.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/github-coordination/parsing.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab729e7db34b2f1bd9a9c2817b2c44ab62ce72547660a03add1e18a91a7420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stats.status === 200 \u0026\u0026 statsBody \u0026\u0026 statsBody.hits === 3\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs, docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d75a4c2204b786504c1cec31464635e1b025a93df542d7688e42e6212a3dd21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stem.endsWith(\u0027.test\u0027) || stem.endsWith(\u0027.spec\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-search-evidence.js, scripts/lib/gateguard-turn-scan.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-search-evidence.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff0973a3b224bd7967386471d9466eb8acbd84b0b4f4b994c75949efb2275b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060successRate7d === null || successRate30d === null\u0060 appears character-identically in 2 files \u2014 scripts/lib/skill-evolution/dashboard.js, scripts/lib/skill-evolution/health.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/skill-evolution/dashboard.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa013bfb64b9a18b248463d1024faccddee4eb0ed062cd2e2aaf6153e19bd20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060testCount \u003E= 4 \u0026\u0026 /400|404|413|invalid|error/i.test(tests)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"415f367a2529386f408ec219728cefa17abde75970c14086788d31215ddeea85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text[end] === \u0027\\r\u0027 \u0026\u0026 text[end \u002B 1] === \u0027\\n\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-change-profile.js, scripts/lib/gateguard-file-context.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c10111b0d65c9af3bb593bf4032a32b3cadafc3e7bef62b87cdb2085b554b6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolName === \u0027Bash\u0027 || toolName === \u0027PowerShell\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/gateguard-fact-force.js, scripts/hooks/governance-capture.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/gateguard-fact-force.js"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9741bc453c9bed23faaa4ba0c4ffdb836b52be77959afca1e30b36851c3b3da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0027~/\u0027) || trimmed.startsWith(\u0027~\\\\\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-targets/claude-home.js, scripts/lib/install/inventory.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26c9f9ff46b7af82d396a053eff2c8785fc80841f191332e14278659af7f514"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ttlSeconds === undefined || ttlSeconds === null\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js, docker/context-profiles/complex-eval/reference4/chained-tickets/src/service.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/service.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f75fd3b06249e4873d7b4f2890b1558fc4d6c39ded377e016a06ae5e4893b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof configured === \u0027string\u0027 \u0026\u0026 configured.trim() !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/install-targets/claude-home.js, scripts/lib/install/inventory.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install-targets/claude-home.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"784cbdfa9d87a30228addcc17024139b44adb0646cfa2f63105ccbcf71b188d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof createApp === \u0027function\u0027 \u0026\u0026 store \u0026\u0026 Array.isArray(store.paymentLog)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs, docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8f4f2ddb11778849c33ebb362f9e92da4c13f0ada89fb2237c8853ce0d465b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof cwd !== \u0027string\u0027 || cwd.length === 0 || !fs.existsSync(cwd)\u0060 appears character-identically in 2 files \u2014 scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/codex-worktree.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc67c892a7f1b89b7e0b0f8e8ffaf3e57f2b56dea89eb6cbf9043b7eaf983a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.id !== \u0027string\u0027 || entry.id.trim() === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/hooks-config.js, scripts/lib/install/claude-settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/hooks-config.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be3e97dd906dfac15a834306ae420ca6f5d16f9296c640684ff31ca940cf08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof explicit === \u0027string\u0027 \u0026\u0026 explicit.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/codex-worktree.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"172d338dea37c45b46a6f58621924db0bb5e4aff7fac399b3e62e2650fa27665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof filePath !== \u0027string\u0027 || !filePath\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-change-profile.js, scripts/lib/gateguard-target-class.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-change-profile.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d856ede22361b6e17277fc2276e23258ecfaa3c20b55568a24b6169a1c010ede"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof options.release === \u0027string\u0027 \u0026\u0026 options.release.trim()\u0060 appears character-identically in 2 files \u2014 scripts/release-approval-gate.js, scripts/release-video-suite.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a6e2c5f9ef2a76a2965d373485a30795eee379cf8a454adc0324b9ef86e0a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof output === \u0027string\u0027 || Buffer.isBuffer(output)\u0060 appears character-identically in 3 files \u2014 scripts/hooks/bash-hook-dispatcher.js, scripts/hooks/posttooluse-dispatcher.js, scripts/hooks/run-with-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/bash-hook-dispatcher.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"343881b0d3b9baf67a533739f824255111bf19db1e688508ed3808459ddbf378"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof result.status === \u0027number\u0027 \u0026\u0026 result.status !== 0\u0060 appears character-identically in 2 files \u2014 scripts/auto-update.js, scripts/hooks/post-edit-format.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/auto-update.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c9f2302f3c899ca0f8e1b5792b7f4e78e86fd3dc3a3835fd65feda7a938e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof root !== \u0027string\u0027 || !path.isAbsolute(root)\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/opencode-install-lock.js, scripts/lib/observer-sessions.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/opencode-install-lock.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342a296cdb8c50d08864de4f1a8315ac9843ddedee04c53455f3e207002bdea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof spec[key] !== \u0027string\u0027 || !spec[key]\u0060 appears character-identically in 2 files \u2014 docker/gateguard-effectiveness/intent-eval.js, docker/gateguard-effectiveness/lib.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/intent-eval.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b70601591807312eea2048a0645e0ab7d4f44d89eb0f58db26af1005bea5eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof target !== \u0027string\u0027 || target.length === 0\u0060 appears character-identically in 4 files \u2014 scripts/lib/session-adapters/claude-history.js, scripts/lib/session-adapters/codex-worktree.js, scripts/lib/session-adapters/dmux-tmux.js, scripts/lib/session-adapters/opencode.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/claude-history.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fe8b13f19c70c166ae940c8bd11e5991a87abe23a2b3a82eb176191b1e9aca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof transcriptPath !== \u0027string\u0027 || !transcriptPath\u0060 appears character-identically in 2 files \u2014 scripts/lib/gateguard-turn-scan.js, scripts/lib/transcript-context.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/gateguard-turn-scan.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f91fafb3fa4f1aeacc70af8a49fb959433f5b17a52be3ba27814b4492e0fd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || !value.trim()\u0060 appears character-identically in 2 files \u2014 scripts/hooks/session-activity-tracker.js, scripts/lib/harness-adapter-compliance.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c8ca0d521d4a8e494d9b4435f765d68385dba27a2f903de2a144004f818af5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.length === 0\u0060 appears character-identically in 2 files \u2014 scripts/lib/codex-plugin-setup.js, scripts/lib/session-adapters/canonical-session.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-plugin-setup.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"377970c21a4260f12b75fa2a55e1dcd50725bcc42bad1c3b566276acd8b2c82c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim() === \u0027\u0027\u0060 appears character-identically in 3 files \u2014 scripts/lib/control-pane/state.js, scripts/lib/harness-capabilities.js, scripts/lib/install/copilot-agent.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/state.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4b6b3abd03ab60d6b15193a98dea6b5428d89d2641148919251b0a13c7db7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim().length === 0\u0060 appears character-identically in 4 files \u2014 scripts/lib/memory-vault-format.js, scripts/lib/session-adapters/registry.js, scripts/lib/skill-evolution/provenance.js, scripts/lib/skill-improvement/observations.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/memory-vault-format.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5f728583651334c49a09c7da09d602f1b3a743d31bd1bd3899a13fc1eb0150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/ci/verify-release-gates.js, scripts/lib/install-state.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"361546501cb0ef5885ad4db20a656bbd106f39964767bcc549dd0a000f504461"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim()\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/before-read-file.js, .cursor/hooks/before-tab-file-read.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/before-read-file.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d58bfd8f18d390c3026e8befdf7966140a3512c995b9638525e7b9f6ee5dd20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim() !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/lib/install/claude-settings.js, scripts/lib/opencode-paths.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/install/claude-settings.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1daa6ad0744e92843f94e78fb27058325211f38a2380eedd87004b74cbd1ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 4 files \u2014 scripts/ci/validate-hooks.js, scripts/lib/hook-session.js, scripts/lib/mcp-inventory/canonical-mcp.js, skills/frontend-design-direction/scripts/check-evidence.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41ab785a9d1b3f91a57d69c2d4c6da3688a22dfe2363ad8d4e9447d9c82b079"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unknown.headers.get(\u0027content-type\u0027) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ac723b03e2698913ebaafecb985bed610bf274dfacba7736db8bc08607af15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unknown.status === 404 \u0026\u0026 hasEnvelope(unknownParsed)\u0060 appears character-identically in 2 files \u2014 docker/context-profiles/complex-eval/cases3/production-ready/check.cjs, docker/context-profiles/complex-eval/cases4/production-ready/check.cjs. 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":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebc9348cbc44842672a57d9e37f9ba4a57ed2537aeecbfb6fc99295aa91efd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 scripts/ci/verify-release-gates.js, scripts/memory-mcp.mjs, skills/frontend-design-direction/scripts/check-evidence.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/verify-release-gates.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"354f794dab85af6d4eb275e610be8e86376db12224e65689ee01d6241b1d4eff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 scripts/ci/validate-hooks.js, scripts/codex/merge-codex-config.js, scripts/lib/statusline-render.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/validate-hooks.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf7d247f16b5833bc6cb2cb998147a8d17b7c929d3c096dbe06f6b13683c2cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/ecc-metrics-bridge.js, scripts/lib/eval-harness/canonical.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda90f0b41332817f9f48f05210d05b3a1dc8af2c58412f0b17a158743b098cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value === null || String(value).trim() === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/hooks/ecc-context-monitor.js, scripts/lib/hook-flags.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-context-monitor.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c34bec8c7126acff52613064549b2d83b077e8b1ad4ad330fc07480e2ee405b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value.startsWith(\u0027--\u0027)\u0060 appears character-identically in 4 files \u2014 scripts/astra-review.js, scripts/dsh/generate-hooks-config.js, scripts/memory.js, skills/terminal-opener/scripts/open-terminal.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/astra-review.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de0ca3821c9e15242e3aa9855585c180d52661ee938abf53c5b96e7ec3b3f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022401\u0022 in msg or \u0022authentication\u0022 in msg.lower()\u0060 appears character-identically in 4 files \u2014 src/llm/providers/astraflow.py, src/llm/providers/atlas.py, src/llm/providers/claude.py, src/llm/providers/openai.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138f2ad41dcc2c8a45e626898795ecbd06592ade904e2a8732cad5e6786c53a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022429\u0022 in msg or \u0022rate_limit\u0022 in msg.lower()\u0060 appears character-identically in 4 files \u2014 src/llm/providers/astraflow.py, src/llm/providers/atlas.py, src/llm/providers/claude.py, src/llm/providers/openai.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3572d6f9bd09fe6c6603afc868a328038a115cf0362836f44e2209575263c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022context\u0022 in msg.lower() and \u0022length\u0022 in msg.lower()\u0060 appears character-identically in 4 files \u2014 src/llm/providers/astraflow.py, src/llm/providers/atlas.py, src/llm/providers/claude.py, src/llm/providers/openai.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da04032fde78d4abd072acc78e62e559984dc44a7ecfbf5e36887ce8492158d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022docs\u0022 in path.relative_to(root).parts and \u0022templates\u0022 not in path.relative_to(root).parts and path.name != \u0022README.md\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1eae9c7f3c3d7bb22e24f3f48a19881472f8322d83b822f64dba648649e193"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022timeout\u0022 in name or \u0022connection\u0022 in name\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76083f73a41ee86eb803289dd7ef0a0b7b411d3aeb64c06f05c1984fb63ab06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_read_file_or_text(args.output, required=True) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/agent-self-evaluation/scripts/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a477fbe78165e75ed9fec137953110dca0770add6de6b2be4673d63fe1a2958"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.get(\u0022hasVideo\u0022) == \u00221\u0022 and a.get(\u0022format\u0022) == \u0022r0\u0022\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/timeline.py, skills/taste-distillation/scripts/taste/timeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e21d1347b23d331f5d18de8906074a1c81deec58048a64cf6acc3652b450b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(na - 1.0) \u003C 5e-3 and abs(nb - 1.0) \u003C 5e-3\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/grade.py, skills/taste-distillation/scripts/taste/grade.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea10bad0a6aec0b4c673f5871c7bd1d4591eb46073fd1a10c95701368032143f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.module and args.scope not in (\u0022modules\u0022, \u0022full\u0022)\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a900442d4b735a2c4763ab0eb2acba301400057730f13c3171767e52143b07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.scope == \u0022modules\u0022 and not args.module\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"819f72260961894d33d885a3f8c5472c5e690ff0db56380038dda50e507ec4ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base_url or os.environ.get(self.base_url_env, self.default_base_url)\u0060 appears character-identically in 2 files \u2014 src/llm/providers/astraflow.py, src/llm/providers/atlas.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5840983bc6a955477feeefaa28cad058610449cb8b34ff1c71d0434eb8a0f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060best is None or len(hits) \u003C len(banned_hits(best[0]))\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/distill.py, skills/taste-distillation/scripts/distill.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4326e564c3e7cf7136c4c0872927b7e5777671cdad40afef8ed2688b4bea0bb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060check_adr_lifecycle(root, adr_dir, sources, report) and not missing\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d0641439d39b6d5a31f2e5cd660020e6781f07454f1fe2e65ce1541f76a44a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coverage \u003E _MAX_COVERAGE or coverage \u003C 0.001\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/plates.py, skills/taste-distillation/scripts/taste/plates.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/plates.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0630b7ded0e55535c13d7dcc9ab64d378f8e3e58ab6469a2b6e904d48ffc1973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060destination.exists() or destination.is_symlink()\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/apply.py, skills/taste-application/scripts/pipeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/apply.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea95d9625ca584210945bd77ab05de5ccedbc193b9312a86fc37aa9a39aed023"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end_of_marker \u003C len(text) and text[end_of_marker] == \u0022\u0060\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/markdown_links.py, pi/core/skills/docs-governance/scripts/markdown_links.py, skills/docs-governance/scripts/markdown_links.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e8daa11fe5e1de71fe1ae92da647e20f077eb425957f63c3dae372861c7c5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.errno == errno.EINVAL and sys.platform == \u0022win32\u0022 and not required\u0060 appears character-identically in 2 files \u2014 pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/agent-self-evaluation/scripts/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"516dc625215a3a1be21c04ca6236c3a08c0d8081052fdb7a9064aea9c152d10d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.errno not in (errno.ENOENT, errno.ENAMETOOLONG) and not windows_inline_task\u0060 appears character-identically in 2 files \u2014 pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/agent-self-evaluation/scripts/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4888af72328400ae06711b49b37323439f4a540648d386743f73bace35b1b512"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected is not None and not 0 \u003C= expected \u003C= MAX_DOWNLOAD_BYTES\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94d9cf8924132018110e4ba801ed31c47a0d6aea572e2a7c87d14e33d0c39f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected is not None and total != expected\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab011e1554c326ba9abd6eea49c0df715184c2e168d9492b35a3623e7bcb743"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060float(cap.get(cv2.CAP_PROP_FPS)) or 24.0\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/frames.py, skills/taste-distillation/scripts/taste/frames.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"94540d1e411e7416bc5ec56e410343f65053ff57ef6a31676e4cb361b7e071c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060float(np.linalg.norm(mesh.vertices, axis=1).max()) or 1.0\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/render3d.py, skills/taste-distillation/scripts/taste/render3d.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/render3d.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fd46dd699452097b42bcaeb683803126f0a76a0a6a7680a40ce073a40308fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hit and (is_dry_run() == hit.startswith(DRY_RUN_HOST \u002B \u0022/\u0022))\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3232604a02510f75f01d883c25262f2717263f274f2506392ef495abefb38e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022fal.media\u0022 or host.endswith(\u0022.fal.media\u0022)\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d4813acc97ada76b8e08fa95d22dd7c5e47f1e98fd25e4e1d6bda5d9cfec49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_dry_run() and isinstance(schema_hint, dict)\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"235528e48cbb51b688711a25f05711c25d6f24e9908e0b44a7c7317551d7e228"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(msg, dict) and isinstance(msg.get(\u0022content\u0022), str)\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7b22d4bf8fcf57fbc60a0112ce385c5e037a37267525a438cfe83488034b67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, (int, float)) and not isinstance(value, bool) and math.isfinite(value)\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/tasteforge/contract.py, skills/taste-application/scripts/tasteforge/workflow.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/contract.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25770f1d6c69c5e0323ae8e143f177c01363536f0bff60fced442c918a53dc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mapping_path.exists() or mapping_path.is_symlink()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd7f704f9cb313e1e7486a73952f53cd7cff53d0601084c234491a8c6058eb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mapping_source is None or not mapping_source.is_file()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1e68d7b17a7a35d75f2899370bee43f1f797cdb4b8509a236610e78e7b5ebe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not candidate.exists() and not candidate.is_symlink()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/module_audit.py, pi/core/skills/docs-governance/scripts/module_audit.py, skills/docs-governance/scripts/module_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bf8340990a0c43f477e28fda3fedd28b008027c8b49b8812854faf77e47220"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not has_early_summary and count_words(text) \u003E SUMMARY_CHECK_WORDS\u0060 appears character-identically in 2 files \u2014 pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/agent-self-evaluation/scripts/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"408bb433971462ef3b30aabfa3afee5c7debf216987c7436f68be57656673d0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/tasteforge/assets.py, skills/taste-application/scripts/tasteforge/integration.py, skills/taste-application/scripts/workflow_graphs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/assets.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b5d02c756ae4ab7b98ddb685cf71ddaf21f6e71fe40f8dcedf3d8e9612794c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not math.isfinite(number) or number \u003C= 0\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/tasteforge/apply.py, skills/taste-application/scripts/tasteforge/resolve.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/apply.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded713d2e24204db5676dae9cdbf6a9af7a1c466fd50ef54e7394ce1b4c57b29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not response.choices or response.choices[0].message is None\u0060 appears character-identically in 3 files \u2014 src/llm/providers/astraflow.py, src/llm/providers/atlas.py, src/llm/providers/openai.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/llm/providers/astraflow.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c74d858042bd7ee7b0422434cf30c23add54e83411a19eaf1903cb1577f804"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not saw_closing or index \u003E= len(matches)\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/markdown_links.py, pi/core/skills/docs-governance/scripts/markdown_links.py, skills/docs-governance/scripts/markdown_links.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a2f80a9227e8ccc63fc0a35b0df7aa4e0485b326becf405cab94289384b878"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not target or (target.startswith(\u0022//\u0022) and not is_unc_path)\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/markdown_links.py, pi/core/skills/docs-governance/scripts/markdown_links.py, skills/docs-governance/scripts/markdown_links.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0665296b3ce78564100092874346fd9696062ceaa1d0bbe63f4d5b9b1ba53097"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pixels.ndim != 2 or pixels.shape[1] != 3\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/grade.py, skills/taste-distillation/scripts/taste/grade.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f9b233a538b2d00b0a74f23fec6df8d8c5006c20bd72e61bd5cb43c29cfff8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proc.returncode == 0 and outfile.exists()\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/frames.py, skills/taste-distillation/scripts/taste/frames.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/frames.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc996cbefbffc0e93a64b5d545357dfddb233fbdc3c9b09a483f868cb75d60ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relative in text or candidate.name in text\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0d9257018438e5e1f101fdc08c45a6414cdf0ede26f82c0b61ea8cfd7de4b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requested.is_absolute() or module is None or not module.is_dir()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/module_audit.py, pi/core/skills/docs-governance/scripts/module_audit.py, skills/docs-governance/scripts/module_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/module_audit.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0ac2ac35cbf63e06b098a17c008af248203817ffa1f7b331724d6b691f22a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved == index_resolved or path.name.lower() == \u0022template.md\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f86dc507e39b9db89eb71a5060f0d43be49bdec5bcc7189fd5f2f00157a485"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved is None or not resolved.exists()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d58c647ddcf67c4ace924dc5620ee801390a1eb9ebed066dc01e542a8e7d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved is None or not resolved.is_file()\u0060 appears character-identically in 6 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, .agents/skills/docs-governance/scripts/module_audit.py, pi/core/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/module_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c7d7ef4034d822cc977aebe0c5500800c64a1719b8d7a109f6a2d3fb85f269"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved is not None and resolved.exists()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cc670c4420d1f7e98a222417f4050104f38d90baac09f8d81e8ed757656981"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved is not None and resolved.suffix.lower() == \u0022.md\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a904585f504f5b843548fe4ea5b34a8d9d810713967e4552dca12db332a81a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved.exists() and role != \u0022adr_dir\u0022 and not resolved.is_file()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb11b9fa45a786a7f945e14f2c4ff6b2655b37fd745beb74b23d2a46f923178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved.exists() and role == \u0022adr_dir\u0022 and not resolved.is_dir()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f93905a966a42a07dc0fcbac402f7fc80a83d93ae9e3fb23e674dce155e58e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022parts\u0022) or result.get(\u0022meshes\u0022) or []\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f15d69d2054bca1998975be9e9454c309b1a6353d1e92e746dd5ddad902280c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role not in roles or not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cace2bad092eff5cc600ec0be42bc6f24923f2fe91b088e1fa0dffe2f746a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060roles[\u0022adr_dir\u0022] != DEFAULT_ROLES[\u0022adr_dir\u0022] or roles[\u0022adr_index\u0022] != DEFAULT_ROLES[\u0022adr_index\u0022]\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef27d894d2cb19bf83cfb914062208f5d8791b46488cac730b2b91221c7dbd7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root == candidate or root in candidate.parents\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a5c74b7f6889c1e7bb6ea08595e61ab6f3e3791749868baf5a42aa7669037"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.tag == \u0022fcpxml\u0022 and root.get(\u0022version\u0022) == \u00221.9\u0022\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/timeline.py, skills/taste-distillation/scripts/taste/timeline.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/timeline.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43520fc86ae336b698eabaad57e323118e4851aa457628a12ae619bce7bc6d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.improvement or \u0022No improvement suggested\u0022\u0060 appears character-identically in 2 files \u2014 pi/core/skills/agent-self-evaluation/scripts/evaluate.py, skills/agent-self-evaluation/scripts/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pi/core/skills/agent-self-evaluation/scripts/evaluate.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ebd2b2d6993b6bb4a3b819d212410147aba16a1b21d30d466309c921a49b0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skip_templates and \u0022templates\u0022 in source.relative_to(root).parts\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3c75ec41c975f5e2487847233a58c6c11a67cc72a719f371e9946f55715c87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003C len(text) and text[start] == \u0022\u003C\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/markdown_links.py, pi/core/skills/docs-governance/scripts/markdown_links.py, skills/docs-governance/scripts/markdown_links.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/markdown_links.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5732b1ee1403e0d9f5960013d152fa6da4c1a141b2d1a03476bc582545fae5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == \u0022superseded\u0022 and successor is None\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9941b78f04931c2c4ce42ca35034003fc1068e5d321be33b48f00e03368019b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tone_mode == \u0022cdf\u0022 and target.l_cdf and source.l_cdf\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/taste/grade.py, skills/taste-distillation/scripts/taste/grade.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/grade.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c4eca49b9a2bda88ed87f658eedc5cf9e8b534ac1388ffea645c55460ed585"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tracked is not None and tracked.returncode == 0\u0060 appears character-identically in 3 files \u2014 .agents/skills/docs-governance/scripts/audit-docs.py, pi/core/skills/docs-governance/scripts/audit-docs.py, skills/docs-governance/scripts/audit-docs.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/docs-governance/scripts/audit-docs.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c49256d06b9ee0a7f4326d03c056dd9a233c6e9ca87ad938dea94fd5c742c59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060urls or [first_url(result, ENDPOINTS[\u0022part_split\u0022])]\u0060 appears character-identically in 3 files \u2014 skills/taste-application/scripts/falapi.py, skills/taste-application/scripts/taste/falapi.py, skills/taste-distillation/scripts/taste/falapi.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d9bcc13c16fbada356f3b3ec9492c0062de6724c1c62195ab6bfedcce48592"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060val is None or (isinstance(val, str) and not val.strip())\u0060 appears character-identically in 2 files \u2014 skills/taste-application/scripts/distill.py, skills/taste-distillation/scripts/distill.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/distill.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70bd90978800c5d7489f3913090a5f43aba6242f0d0dfae1c5c281886c4c72"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parse_urls\u0060 is public, takes a document from its caller (line 339) and hands it to \u0060walk\u0060, which calls itself at line 357 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 360) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-distillation/scripts/taste/falapi.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9468548b25f4b0619a52174ba948d299c3803e380995d0457276202efdfe5c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parse_urls\u0060 is public, takes a document from its caller (line 339) and hands it to \u0060walk\u0060, which calls itself at line 357 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 360) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/falapi.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7895b1ad3e1add1d418a9f0a0833328884bdcc767051f0b9589ab3c00bf2f4e9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate\u0060 is public and takes \u0060instance: Any\u0060 from its caller, and it calls itself at line 75 (\u0060validate\u0060) with a piece of \u0060instance\u0060 (and at line 79, line 90) \u2014 and nowhere in \u0060validate\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060validate\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/tasteforge/schema.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec0367729f41dd91851101cd37f1ddcfc701491255bafd3c91a376d4aeca41a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parse_urls\u0060 is public, takes a document from its caller (line 339) and hands it to \u0060walk\u0060, which calls itself at line 357 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 360) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/falapi.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e5c823aa3e72857c23fb5faa027df56688730aad73eeabc43babbec8b40232"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/5 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: measure: \u0060measure\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/calibrate-stats.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b90d78c5382d219a69082465cdd90caa1415dd476ee2ac4b4d2f3f87bde5371"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: query: \u0060query\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c438d73a08d7502565666cb0894924ef6a85c8677337cf9b919fa2b44d3025"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: waitForStatus: \u0060waitForStatus\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2432978bc42048386389e673aadcccd6cb2313d7f7dc45598eea348d1bd9b5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createPaste: \u0060createPaste\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bcd6730a296a4b5ce85580826865b618b53c60f54a78eb66df9bf0f30b3365"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060paste.content\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/files/src/app.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0bdfe973f8e6698bd9597635fe510b0423652d79ff4a4e933a5db0b82a3daf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-distillation/scripts/taste/cadence.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"84807dbeae201997944586277a8e98411b62ce6e31c3b56ac6c9f44c04584087"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/resolve_ingest.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90c7d44e782640a2c11fea11a482736b5d8a4e8d9c473306b352f791240689"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/resolve_ingest.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafaebf3044c5f0e8eb0ffda0c0d432fd00eac24c1d758b1afb0f57869008bd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/taste-application/scripts/taste/cadence.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"723a3f4d421c6fba4c8c065a11868ff8f2ef1cd28514f1f1fac337b04cb47a97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"931cd8bec477aee7c35fe98098b928b34a13adf0df03a8eb543f9cea48087804"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0935ea4b59a9d4c3c388fd3c053a8f3a9e9826c4aade383b42e29c35bc53bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/init.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acbd12e651960478d4d2b0c6c60597f0c4efe58c222524f80463ef91ed33f73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/migrate.mjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfd433f8fb39a6f44dba5c94928d7e9d94dd594f8922e805eb33c24633f7bb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec429e4257064227ae24e47c3b2d348fea4b6e66cfab82080301f5f5e1b9dfd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"629da4569598be6af1d5cf81dfe2bcffab7d4ae9688be89f8908951e8f19f37b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plan-canvas.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf8a56553f223fd6c2fce0ad321651c909c2b22f014d92a29e73ca37de5ef79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/lib.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40b5d75224c37e4522bf7580ae3d03a2559b7353532c8d74ff1e2d83e135d75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios-intent/retry-idempotency/grader.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06ebd040daac8b04f4084b6b77fe0d034fceab070260df75459ac5d7e2c8f92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/no-duplicate-slug/grader.cjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a84a0229700baf1fd1d5ff424cd0ce379c747c7434437eb9dcd993b47344b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/local-callers-normalize/grader.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c5bc5135ecaf1d034d7db2c6397e24780ce7e5631ebc14886d4e7e2647378"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/gateguard-effectiveness/scenarios/importers-date-shape/grader.cjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"605dad53e08dabc2017807faa617938c53ac16533809a874092ec5e9dc10ff66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f2e46ce65e9d4355fd51946ea706100135a101324dabe549a2a39ec13eaea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/ai-eval-lib.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e8004d176b6b1e303f57788436029e43b65a544511ae61a504144d029e6aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference4/chained-tickets/src/store.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a89710d7dc7217a12494836fc710d86f06703cbc5caeddad274427a9ace1759"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/reference3/chained-tickets/src/store.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6c379631144d48e370d188f8880c234b53122ff0db48c0f38fb3dc4f068c63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e0f44ad4c074c9e104d66cb19762971fde254b62c0260dc2e12764a72005d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fe53ce726cc1643cd2348fd13268faa2bf081ee8aabb9fd7c3d62b95dc741c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/03-handoff/check.cjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"096fdb2b2457e432077a087f6dd7e3c14ffc7bceec4e93de7959ffdfe1978032"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a8307b3a47d6a0e34b5067b834e37f251c7d9c929f66927ab234728207c5ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a27234a6f7ad7523a007195b01786a6240864dbe5e375df2201459f8f6d1258"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26dff42d482bf04e8364100fd172033165fc35f211970c044f19b0a02be754f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00b7f33b9a74332391d453d89852ff937e94b0ab9cc360b4cbe74f5fcfe480b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"45001ec972aa0cbf8215dba402b7bd1c03773167a7485dd7495e38192b63ddd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e329f78bec69d63356a751353da03efcbe3baa684c3279b20a5e7b0423772"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6480ae92934261ef4ed9bce12401ceb9683fa8812cb5a771e43719ca95985113"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ebcc59fe6939942a3fb879631107bc2d0b33a97f382754f99f89d31f646179"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e04c0b04714da6c8303db3e0214cf0bd97200a4511dd3d6993c6008c7db07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0691b48535398a84b1ddf9d3d3bf5fe688c956dfef61e4d389be4868f3c340f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ee3a491f0bc033fab0df41b72f488503a779a47a8e5f2af421296e50c04325"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"da005cb44d6d77ab51b5bd34e7bca4b80f07b55e760add036652575d796866ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"66afa160377372822de18f8feda7c9be6550e61640e833b1609ad778468f73f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3c4d6dfae22bf368443ba1d36204449d2fd922f8d2cfc11aee4baed433d2c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b368b525567c738e5bfc759e57f7d24f251064a606646236ca6cc13e49a3e8fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67cfd85e5ea6c00dbe32d2e90d2825730185cba207cf242950f219f625b0c52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88efd999db95ce925a7f505733ebf4ab406cf023e81956512be32bc172a90f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"620455fd56196b89e04a49e5f6d3806b108ef89c1a983abe14010a23850cb4ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f71fab3a61b1f4d8b56f3fca4f7db058e7e91da825fb557d1e3bbedec13d236"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"20344a6c6f4a2c7e2934fa5d5af5f83010adbb1b748a4f55a91ccba2481efba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"25da57022dce4d5167c86fccb8d04f0457ad6b2612d1f7b03f899a94513f9eab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"85809f1e21a4dac472232ddf9bdcd635be9a6cfe6154c61bcc3b9a08bc562974"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/production-ready/check.cjs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"440b298ecbc0e68e0a41cbd7194b04db16c74a25947b86312043f963934ad58f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba4f88cf134c9d91028479091db13030b1839a9b1e091410db9ce3e28ca47f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"94134ac8bf0e196110e4d1bab0fa4336f3bb5d071d3b57b68412d12deeecfdde"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a538627a8492cd1fce6427d3b5f293102e500144beab72b7ac8b2ced3f8fb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/idempotent-webhooks/check.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"306edc5dfd3d46c24b35bac94865508aab12131a8bf79651b7d430bcae495e19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae100942bcea8b6158c251152ea02b2d8cedd8f5747b568a75ca34a4d4cbae5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b01c0f96221074fdffd1c034c4f92d0ff288a61283abb4dcf74b90a9cd97e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c9312ce3ef88bcfcf99dc9184fe3723fbd7000d7233bba77ae453f69cbd646"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"706cf3f41c62cc892a6bb5f00c16c02017a75ce824c8099427a12d1ca8cdd4fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a503f71fdea31c95d4ce8b34e59ccaaf62ea0f46a896e285053e29353d3a7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f915258b02c7cfea142d50c5bfdf4767cf987742760ef4ca8454110f3ab024e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90844cc762fb7a7f2d562d179337efb1e48926be188f7590a260f262d2b27ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b02e3b85428b0237a91fe0330f344885aae47c7a17bf3d0f40d022c028f056d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"839cccbe3fd7acc4f1ff1a7df75377fd5650d5bfb2f6a58fd94ad75c116c9397"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a603b8d84cff4f5610f3cf329c10461c8a3308d45af22ca243fb21590765b78f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"90476717cd32178510b092ffcf0cb0012a086a50e3cae5632205548344f799b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67204d79ef4f79d96f579edb1c6f2a8a1c69de0ebb7ceaabc211b06d160ea4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4902743147920ce191cf6f35c8bc741e17d1671096cb6ae6258b3ac204ac39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d2b4ff8436614725d2f0de7f646b8ebca2873fbd0326899f5f2361be829b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"487b44f441551e4ff6e638d4fe762b8378fd0a19e628a32ecdaf488fed9d9205"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce6a49b71a5984a77535e53d84d16666b9ff5c685fb8dd12eafe0c84b057696"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0968106dcc0764a472d2b8fa55e6770786f41c5b7835ce3a67aa7cd6603497f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f839db3c23e4a845accbaa2d64ad41724991e0879a1a1b3304254869bc74f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e861be000626fd826c32397f63cdf3c55751bba82a5cf309ee9b649b0feb62f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"383018709ded189fa6fdc79f6bb1e22c7140302f10507f41346946d5d4eb92c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9e2e2206760446d72da2bfd00ca852735e83ec1522f9ac446f0bd9db7ff25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/production-ready/check.cjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9ff03c9f25a122b61371e608fb0e5bf9d8e62a8e78298ca1d252c69d544d3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"47800e84a66ae4e052cd0d03113e961bab18fa80bfc7d66be1956076b3a2ef5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0842e3657ce58155e2406680ef8d68b5a6493ee626ba4c5a19480692df13b85b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa8f4a693f51dfc398ea8715cee7e36415f79a719a118a476e3c4c7a069634"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/idempotent-webhooks/check.cjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a62d35a0d0da614026b48ee2d5cc2805591e0ddffba01fc2692c826e6aebee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafb4a704714fd6c915a0abd9c9306e599fc82e369cfbfaad7d6b0898153859f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a207045fb481bf00547c64db8dd6c42ac05fb90a401caa07174adf10c1344d3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a234be7a1889e464be44568f99835773aac41aae408ea9175fe54cfcac76dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/04-analytics/check.cjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48e40fdcdaf92aed131b4d35e49f852103f0ca0f5b5fca67b644ac04aa2422"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b213289b9c4e0bcd4aaf03b8646f8f5b4c64c8d6513004c3fa0290b04d4e20a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083f453fc3ac14a01154efbc049b2f26a2330a413a67405bfc83cf1430e40c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a012fb495bcc0ef2e44e473dbe94cefb95410e052fde237182e86866de3b9c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/03-abuse/check.cjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"921d7743ac75b5c964a25e737a4eec7ef7863d8d917df5bdb3ef19382cfab46b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee51acae993c283dd57deafea2069407b1c601da050bf78579bbc78ed02dd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c556f108cc82f8467bfa3c4cf477959f68c6b31e8d654c30140f8f18f1556a80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda25d38f0175596b504124abac3f0bca5f4be44469df4f97d394bcca8ce17d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/02-persistence/check.cjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbd43c05d788f45356b48e5a3f15731ff7acdb292fd8e668636b05cea7bc946"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d27968a30f72043e6cd97eacdbfeeb857a6fa61a90453bf644e9b71f1412e33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b004df8009cb4404c7dc3216bf84732a4a03d1f73a85bc2aa83daf09e4eb6a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b463d5bc4c08a1930ffeeb78fafcb696d3d9445e5fab8ecc01d22850c6b26121"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases3/chained-tickets/steps/01-core/check.cjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"73289bb2604fb60db08a16a91ba57de58d9cf85fcc5c6aa39f37e46c03e1cd65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea7c7ef340e7b08246f6d0922d838ac8f7c98ba3a00b471a72ef76d332e2ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0aee1cd9d9b9a1cc6189bf7a3ca055642e94849d44f9668711ba3cade10e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/keccak-selector/check.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37666daea5b306e3dea310b65743126c66cf6bd5d7e4ba6eb2ddc66d96f126d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e97024438cf8c258e98d019866da342880b3134dee63832fb95a5a6957e45a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/forge-cli/check.cjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0671eada216a86d702a023977666e652bfe0a70e21f31530892b3e301893c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases2/event-stats-api/check.cjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784919f2dd1782e1eb94eb65e6a92f5ee543ba6f1a5b5c1d2af3bbb5a307a8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab95bb8e46c0ef36c2d85f48c9f9b00bc6ed5c58b86e233e551df8e61691d9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/webhook-relay/check.cjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"17873d729468601f0c2da2046be5560776515f4e6ca76790a9bc89cfa43f60f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/sentinel-api/check.cjs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"531503de08186eb81fbcbd86282bf02ecf556db048ac69001a9970fba7ceeda6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aa5edf562103430eafec48f75d59a6a0a4a94bbea13b5d9022ca894b5f7ce3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb4453778e1351ad46c21d2608e3532caede12647b65fe83825cfc0d16f343d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"117cf7e52d55b6915e402db0c645537e4e5140e289552e9bc2ba931aeaebee6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases/incident-triage/check.cjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bb3a076e5a7e1a49989e0f3236d6fd7e368754ebaef4fa0348e8a3373fa49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/delivery-gate/hooks/quality-gate.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f124df2e25d1af1971a0ae9925708c6807cf69e7a29277bea87e630ecaf22a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4048 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":4048}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fcb4078d7cd142bfd45286c9109d856c027b5658dd84062af074dbb003882"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 268 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/notifications.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"086042d3f4329b66aad08c38a1b9566373ad387a297496deed6b419b0c43c815"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 305 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/notifications.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77f51fc1c717e023892555b702213492d89abcb92bcfd2642e94dc85522775"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/notifications.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc998b6af4c1aa7f35e5a59126733f7d4f60a8e7918e45c5a155aa313f43fb49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf86a3fa348c7771d8c9c463fcda0eab0752a9de67eaed6ea29798d2d91c36e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 142 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1277a1468767870ad893f0a385bf74c255bf3fc80389cc53c49d5bafc80fef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ba95574be00fb9d0d198056176c382140a305520eb4645f00544646e7c2fec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 188 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bb58d44f1b276f0f8c5fc0bae9bad5ee8056a71058fe15700100ec76958ae9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 207 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9e364e6197fc14c590dd392abe5285ec106d4d8865d30de2bc0ddc205e151c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c92ede87e1dd1b94cdf2cb48a6daf286031090ea33869bf0c81f754f6b9447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c139c35e1bea6023bcce0d19bf7ffa16b4c46d35e1bc6a1dd8fd95466c6de28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 987 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9262cba5271f38ee64239b6a067e2552c99b4fd450ca03f5a665e089d6230"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1017 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba69f7509cd7d8c7986a08b4e12fd34b2f0cb5738d2bff3cfe26914f61f02d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1042 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ae77ccb001baae2cfbdef5e516bfb57790476ef4c802707940f5304b814092"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ff2b114a3be8b16d9687fcdccc34f5608daae473a29d3b416e77ef5517f9df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1452 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a3295ac5879a2670a1c7e91e68794fc96fe392f9b92ec90b23fb94f0ae5d68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2183 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c699f29536ee77ebb10a93ea060a60ded7d62cf8ac81e0c76e88c5c5b75806"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2217 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52ff3514de3fcf22c3c4981c5b66bc61d1442996b689a39292d29c03e01cc8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"91296ee89f06515d13edd2a1aed6f79629681ddea4b1fe9e5bca3c8d058c84d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac3c4cc68623825156fbc735712ff055412a82d93b8c95e07179309c855e52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2414 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2414}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a6891d9795ded9c6d672a6cfcb525d2472889d2b04b5906b859ba328158424"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2445 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac01c4f19ad6646fd596714d8f739e9aa057b02ee0d724fa614044ed8e3ab6fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2521 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e76fa7eb5d06e35c3d64754dc82591615ac42870c52c3168e0f3636f772ff4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2540 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"18825160a2c3c07c6f121cfded3e35156f292000f075aea6de1dc42fa1edcd43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2559 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c53cfa562c0f043adb98671fde4d12371f07580d910169ef0971fb98f53514"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2693 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc36e71373923600aa939a786f2d155e032f79f6c85a8fd7e564ccc868327c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2736 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ee4456a61fab8fbb29f819a01942390e468697367a204d208fbb8dd3097f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2790 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678aa87f8c06d19b110b624f689cc7a606f339ef9864022c9c787a41982eb90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2839 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"16704025721992ca4306049a022168a89c7dd128ca248d4317c217863ea0e1e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2898 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c2e85fed7bdfba2024ebc86ad421bb990eb69f439d32ff00a350c95d3d9ff8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2944 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4da2e49871b1162d0258fe4f31965e8fad21c11fe48f06a9f1462c3b3f93f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3011 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d30238ffab4c46e4a228eca5455220f0b04096640c7e8f5d3d7c0501ce22b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3033 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"986257762146cf6e2666874621f017698ab2273ee07dc340aaa9cc8147744a88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3059 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa1c966f792dd1c12982c1f869a353109561ccdb47da23257f7b05f9b8db81c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3088 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"06540758bda69d2193c278459ffc9cbdbb850f4a8ea5ea35b5de1e313a7477ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e5f509a0c9cec91d71fd135f48a865478b6f20098ac0d497793475dd4f0a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c15d4d3727f1d2a41a73da769690b8973865716eaccb0b5cdbc71fd1d15abe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3221 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3221}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f7936a23b85f0eb199d431482709a6541a9ced534c720e48d948d700b1114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3732 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3732}}}],"partialFingerprints":{"codehealthFindingId/v1":"304fa284889e999f101e5a927dd79e42eaabe728f7ea86655657e7c17d681f02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4020 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c657a5cd269df00d523255f445f19e61326259961013238c41bd435c00778150"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4034 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4034}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad60ea1fe3bacc2ba0f47500fa46e9e17345169fe3282d3f2b19adc3953d3fbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4043 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"904481557a5a8f7d2d002ab519985d28ffc862cbaef6827a1801dd918add9ce8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4054 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ad4a3ad3c12a2ded8d0cab7a4bc9e54b747b951bf1acf1714e0e03965b257b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4062 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4062}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19482346adb1ced1667ae7b0be6b3ae705ef43881e5206319a22b045578e647"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4070 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cde7fddf0f97b58279796a6f76a14dc7e5e63f800ae5bffe8e1cf6b096360f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4078 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4078}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a73961536845cc8b5197ca165fd3e1495e1e792df48eba1066695ac0b821b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c445192da46720535a7002509827fffcdd1cb5a5105e87d367cbc3c72bf9eab8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e1a593531a04f176f82f5a732a67c7ac1bf44afaf0cd542d97f738403dc031"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe743717009562baff90dbbed75a07110fc21ed899c7150654219ed3f1c89dab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4353 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb36490835b8cd13449f1277218f13ec25b6b002846cf4139bbfaebe0e4cce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4412 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e002ba77a418d62a83fccc3c82c5f816e848ff594a7662dda77b869f45a9d48f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4422}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d1818dbbe42795c70af2dc41dc44ba1746b26b4c0a740c9fdb69b08551e7ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4432 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c611e064f0df02ec7f31526d9028dc6b31c94535b17b0b5468a458f32abb5128"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4527 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4527}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabde2d6dc028abea8e40ddce155bbc446e85e0a2be1812f40dd030673f6e8e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4610 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9ee5cc6093e916bc20baca5f2c2e4a838a03e0aa425594ed4f47de2881c7c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4621 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51e37e562b99c1d2a0b2447c17f2b2a0b836959eea8c6c2ff4368fbf01d4506"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4628 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3825eecc16ac150db12c0a376e4de1ced61c110f96a4493b768181f815ef6093"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4642}}}],"partialFingerprints":{"codehealthFindingId/v1":"34583607c27e4e1e41be2fdcd20e25ca36289dbec1e36ea2161e539c14492dfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4651 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f06d1879d1c69fed34e6b2af522e9c9401ae2869fec6daff57f7e6a9e70932"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4670 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4670}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e30214965354946498d50584c92e2f8eaaae8b28009b06fff57ebf23a76fe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4683 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4683}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b6745f836089214cf90830782272bfd4ecfa5675360cd2a4a9602a5870fd5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4931 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4931}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce17fb39e49a718ca09b3581e23322d940c7acb5a8a9ee10561db2fe009e444c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4942 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4942}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03b6bd53cde37c9fca792d02f167659f3c8e22d254287eda1f008bc839dd02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4963 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4963}}}],"partialFingerprints":{"codehealthFindingId/v1":"07476b8d3f9a0403633597a618842371290da622fdaf0831b2337a6435de121a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4987 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4987}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5211fc7b0fadf033babc61dc89e0eaad2d0af69d934f5a691feeb3686f4410"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5056 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5056}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d1414853101a79c44d3c12b5a49d2ff1a74d4d072f9b56d63f74cad6e7b6d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5086 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5086}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcc47861893c9319ffd122cd53c1095655d14acb5e7f19f089e4ea571e12412"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6099 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6099}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b1f0805e829bc17ac396a83ef4155a2cfc7cb15223bba7e3e7a665087e0c00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 27 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b4cc7a3e5d720a57468a0ec8d6579ff078cf6d2a76e9162c28b85d3ae84d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7263d21214807e7bfda18007ff8782972aae161c04dcb88c7d98d9984f9f303e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 35 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cc2a035ee886c8711fd2529a79db6f9bca26e25c301a508bcc39a826d5ecff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"981cc100d444ff1da320446de66d173a374e4de1c9bd35c48dd178c8d69092d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01cbe3e66c4ea9c532c32f9f463f01a562f63b1959bd74da10afe7499ac0497"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 47 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"705be459defd544cca3817302314080bdf7013bbd9630551d8a714d949a7068a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 51 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b402470e8876e846ab92c72f65db4508c29342298e1fa64287eef237dc10d736"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a179d46e18a886465cfc383cfecde0c374dfe446cb691332c9a99fbc56be8d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49d5e6aedaf1a29401ba1bde463b2452d18de70a4a5be94be86b2f948bb627e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd56777575c748ce4b92ac9dcfd0cfbbff83a81340cb1b9ced1355404f17225"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f8e3ba7e62b64fd352c36abb38eed5b05cb3d35a0ffc59cb80d8e0a3c050cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a78a5a4804029940064151c61e44dd0f83d761e7fb5fe71daa99a0be48e80ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 235 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde7404f6db4eaf232287b42024f2417a5fb68fcd97c1f7d9dc50bae794a35b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e481fe701c997c99c62c8fa8b571ed1e5246031a1b6f5aaf20a5e7c5fcdaa69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 305 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d88f0ba02e4f14b33253fa7a1328519248b081748783b5f1730fb8d21d4fd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f12dd9224fc79d15af201eb7c73305a9c8a4c4d21814b415e26f2d9bdf54f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5002c91ff5051b25eb0d046edb7bd0f7bc8a7e4c4c89c29799b1a60c101803a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 413 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"eead960a5f2348d9181e311f7449979c2ab2ad6bce61b09f746bb1a06c1cbe91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 419 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4964ac1299de3aed710fce46e1a6f559e7b517640b7891ed94e914722746e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d059b543eaba48c1932c63c5b2cb8e02ea637608f521e68aa81872b02dd5db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 425 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b59d5e56ffe1402cd39b0cac2ba5420ca286a0c79544443b52a2e39a675a7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ab627f6a42e3080fe31a03009f0f37ed5e8f40c467927d764ffb82fbad8eb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"689df3be6e84d88310bfce2a86beb75133f065fd821ba05dd00ea7ce73c4140d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 469 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/daemon.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6f1f03f4a1e332382905f26459d2757a36780ef7335c5f31b38828be405ca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d343d6482623ce6ce3470949433add398921ef52a306867c8aecf2ea879e812b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"522da8a1ecc4142c583fd9996bccebacc0ef668171299488e9cab9f9deb5dbea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2462 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70a9939d223f7e911585c82dca4534a0d07080f7f994527c15a907ab15f7d9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2511 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ded261baabe1e88b8f769f0f1434f80889a3a54d1c56c8f6f95249fc7ea5e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2542 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"74936e001385ffbafa42f7908577242f0b9c13060af01f0aa3c8fc25848e75a2"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/delivery-gate/hooks/quality-gate.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5569e85ef01442f28601a1afb2229707fb7c8a0877b7711c390e91190b2b1b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060load_registry\u0060 returns \u0060{}\u0060 when \u0060(FileNotFoundError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b0a22b898ed3da9f17f6d3d5267135c175371aefc0ea0802143bfffccdfe1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_append_observations\u0060 returns \u00600\u0060 when \u0060(OSError, UnicodeDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"skills/continuous-learning-v2/scripts/instinct-cli.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e31274b86e12dcbd2509bf32678d3d8d3229a03caf351c443e40b13c09e8e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_graph_metrics_lines\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f299d20abce73f62039135e295f26c238620eb234bacf011173f8135cf29aed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_graph_recall_lines\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5454}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f817fabc18d1be0f6011881bb603675bd0140193e255c09b671e8a3cf937d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060graph_context_matched_terms\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff64dd76f4308836c8d2086805991dcc0c5136eeb42d37e39404aa735c1d4d8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060extract_tool_command\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8869}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac27e22119cb6fd754db423d683164712ad69ed881679e6b674bc06b7644d76"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLedger\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/files/src/charge.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7f264c8d904b12e90499e83c1780afeea25e539a9b5fe55fa31aaa49aed08c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/files/src/store.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700b3f5903dbfa138640eb7898ea79e181b7b1f85d4efc06f579a818b8164c5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLedger\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/01-refund-retry/check.cjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f099bc90239979ec0a3a36f307ad8b01e2147b5e309cb4e247680f04d1031b85"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLedger\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/context-profiles/complex-eval/cases4/recurring-incident/steps/02-payout-storm/check.cjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"96961d7cb79aa569087e5f1acac629f32e14faa4c25426b76970695359bbf07a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveSandboxCli\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":"docker/context-profiles/run-sandbox.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"468cd67d04ddf11682101847e1bb9cd6cdafe904238a10156344a2ee34cd1212"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060projectionMatches\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":"scripts/lib/eval-harness/receipt.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aadc72e31ff98d3af98d4d65b8bc09b55b6636236808ef0f7f53d9a8c0683f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getManifestVersion\u0060 swallows every exception into \u0060return 1\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":"scripts/lib/install/plan.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ed34b5550114d06b5f0a2ecf71c627b040e8e4caafa1fdd7bf1165252a43dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4eeecc3c4e0e91803509238cfd415f3bb5c10069a5ef16cfd7d217aee301d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sha256File\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"1880fe03ffb4870f1357a7c72f4b3c23aeafb21d50153f5c2e5a4c07365d69fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060claudePermissionDenyRanges\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/scan-supply-chain-iocs.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"77edbdc62fbcd68a7bef477ad345c96474721b4ff27b4354b920020166dbadf8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadHistory\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/claw.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e6044e29ae4cb423495d7436c582f803638dae93a7ccc91091eb89a48c955"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060buildTree\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemaps/generate.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"747d299b3bba50080391dfc4e662262d574a0bff53afb2b7ec16716e560727f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listInstalledVersions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex/check-plugin-cache.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5163af6b9489cce93b3fe1d46ca3494e55edf1e7173cdbeb6d0f648d2839cfd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pathExists\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":"scripts/codex/check-plugin-cache.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e6bcc0e83fada0dd331e64622f98cce162cff3c2550f385427b35b20b0c49d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultGetHooksPath\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/codex-legacy-sync.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a958d7a5714b0b1ebca7f307d143057caedb59aece3c160d6c71afffc060985"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060untrackedFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd3a902d97ef197028c27f3c75063403f2ac759500de1a163641da74e425579"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultChangedFilesFor\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/control-pane/proximity.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"291e99bb8d29d00638f1bd6707621d61f165dd242ee175004b934089bf130e84"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readFrontmatter\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e13223b62a3a2e2d4da6d20cf0c93b4602e34a533f4ff021c6f08d9523fe5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadSkills\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":"scripts/dashboard-web.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a7a9313a4772010c159a8c7724c5b273e56e30e8af116e0cf0ba8756c8140a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRules\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":"scripts/dashboard-web.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"546f2349e1f427b095e9283385a21d1655e32e00678f415c4ab6adc3cdcfb0d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadActivity\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dashboard-web.js"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c8e9d5e9300b6cac70f5b875f9ab43abe3656e0bc16cd0348eb2ae07f7575a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadMetrics.files\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":"scripts/gateguard-report.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fbcb4bd06c559d02a9b6331dc8a55cfc3246ed08a9eca804276804268d2eb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeRead\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"068d8769a56b852ea21e685b8a935dbbd53c08e2621e16e1161e78e10ea06a6a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060visit\u0060 (in \u0060walkFiles\u0060) swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a16db65cf8185a0ffde8fc1d62adff34f0b23844dc1d5459f7e7b12f85667d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060walkFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"866570cafbfdfae8f9608a63aaa191a1cb47932ad05d5b5827dd6db59371142c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060matchesGlobPath\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":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2f77af24185faedb14ba510e8d0e06af2d4b761220ba32fa713aa77d6ea8af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060globMatchesAnyPath\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":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e13ca7a71d75b7f0a1d13565fd0b8b7ae91437a6f85c5b1c67adeedaf998a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060visit\u0060 (in \u0060globMatchesAnyPath\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":"scripts/lib/harness-audit-consumer.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d642db97101d1869307c1c5f146be91767f2fb15b5bd441a30d6f3511065b0fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeRead\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/harness-audit.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76040fd879c3ce7e53a2c6534465ca592ca7ade49480cbc29f68970064fac3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createReadOnlyShell.isReadOnlyShellCommand\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":"scripts/lib/gateguard-readonly-shell.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7c6240726d1ade8a1d5339b8bcb407fb3d392c384e0a49aedb86de7f9d6a97"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseInput\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/config-protection.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c4320a34fd6b992ff78cc14c8868b04f475a712846717266e86ff6a8ca1572"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readContent\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/design-quality-check.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d362a440bae4dc289ba73f64169a4a874420a7643aed52a1f51b9673a4d449"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCostWarningCache\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-metrics-bridge.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3309cf6c28262a24b46647a3d8e047e16a0d340e242085fefc56a06383282e73"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readInstalledPlugins\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/statusline-render.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd202f47043998c32888092857385176b6b610d002a30f5fa0bff94e772da71e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCurrentTask\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff71ea44d8f9950ab5d3cc69e799154f8bf89b59b23d6420c95b05c41620e8e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getEccVersion\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/ecc-statusline.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63486b826ef174b2a60e70c6cb50c91f4037db841d982ab72d5628d4d0ee916"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeJsonString\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/hook-input-limits.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8278f0f02aad1c19e80e8e08ebc2283b77945aaafdd35cab743f328989f8daf3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeParse\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/mcp-health-check.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a7bba1777d1f2df095932e63451fe3b4574dd914806a2cc61b22d090c0f2f7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060openSessions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/plan-canvas-sessions.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6687185bce62b9c3b67ab1014d68f818c5d6a9094d16ecb5f4542999823f9387"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sanitizeInputParams\u0060 swallows every exception into \u0060return \u0027{}\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/session-activity-tracker.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ba34472b477e33ed1a35a30ccb7e7c6234aaf6bd4bb2ceca7c046b962b324"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractToolName\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/posttooluse-dispatcher.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a462d793cd54ad8cf8431fead68254b70918b77a24a62a7bbbc93bf09813bf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readUpstreamHookContext\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/hooks/run-with-flags.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd15b950550d5520df67f362a187848584a5d40d2da9fad939b001b910f0c2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProjectRegistry\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/observer-sessions.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"28462fcb7543aa85c4271f5ea9832f34dc59587a761f1a9760ad28833eec7dc3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060canonicalProjectRoot\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/observer-sessions.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4d95e1b661fb9b717aad6908560eb834e8a4a73de77ee99ea357bdb635cc6b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPackageJsonDeps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca92ffb2000bccf78c5ec41346cc4c2860fa3c577e07b943ae21691d141794"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getGoDeps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"83399e7f6d96b1938bbe06033776d81a59ed8c067040475a242eb131fbe229d5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getRustDeps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"da42b3da11d2a3279900a111c40b58db894cd8f5bd774c5160bc77916c2d60e3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getComposerDeps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b7b3074eb261c18aa5d65aa85aac58753f816451677aa80edbb806e2bd8f7b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getElixirDeps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/project-detect.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b2385c6f0e63820876c0a515c7959687f405cfae3bcbd858405163a712907"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLastContextBucket\u0060 swallows every exception into \u0060return -1\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":"scripts/hooks/suggest-compact.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1524a96a86fa878ee13fbc2418ed8cdeba5857bdcfd242b9dff7d79b35cecaa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readMcpServersBlock\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/claude-code.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444b5f24d084663075ac22a3ac1b61e149b4a0749db492b7086ffbe499d6f69"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCodexMcp\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/codex.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8588306f90bcd86fdffc6d8d7148bbbcda91b4ce44e8559f8e1cdeae4270900e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readOpencodeMcp\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/mcp-inventory/readers/opencode.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a9051b07572e8f4551d68ab969c3aeb09968a8a07d1bbd0bb57c02f0a18d16"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSessionSize\u0060 swallows every exception into \u0060return \u00270 B\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-manager.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d420fc32a26f001e7b1892b726ce19060c3edb04e11be55ad18fb64d17e2cda5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readSessionUpdatedMs\u0060 swallows every exception into \u0060return 0\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":"scripts/lib/session-adapters/opencode.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85207d22b7a1202589c87c2132da3a1e227936e536c52ccf026b10a72646dae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readMessageFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/session-adapters/opencode.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"89edb47d797731c9342ff736478503c2108a8dcd7eba154785af0c37ecc71025"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/observability-readiness.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8bcb808ea6858fa29ac498d6485b145f70e790d45835e1fb557abcc1e93619"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/platform-audit.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4093258042ead04446e8a9237836b28e6a495c289155a4394e020fb8dd6431"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf078bce4c6ce360fdf8d5bef973a486c9f302dde35b339ca9fdf2b7b3b2a33"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPackage\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/operator-readiness-dashboard.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e28a2ba6865b18137b56788872ca77d997dd8f0e6b407129a76ea247e2cf621"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/preview-pack-smoke.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"745dab7c5e47b419b66455a967f1f1df3085f785cad6edb6ff79b5e309f19f33"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-approval-gate.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd394f3db2ce7049151739c9f6ac75b42f58612cfe4a330da705297e2ac59aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-video-suite.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"485bd6b8457a9affd309136378e77a2ae7fc6e1f0d488524f4a1eedd3e8cea5f"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-117","guid":"1cfadbc2-a979-485e-b768-c70fc922201e","name":"Improper Output Neutralization for Logs","shortDescription":{"text":"Improper Output Neutralization for Logs"},"helpUri":"https://cwe.mitre.org/data/definitions/117.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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":"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":83,"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."]}]}