{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"useChat.useChat (cyclomatic 170): useChat.useChat has cyclomatic complexity 170 (threshold 15). Most of this is not in the body itself: 5 of the 170 points are its own statements and the rest belongs to 38 function literals inside it that branch (lines 539, 916, 1063, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b919d2380daf3b96d27f1a034a87297befcf2c6dcec272b70ecf5e9b51f6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-input.ChatInput (cyclomatic 119): chat-input.ChatInput has cyclomatic complexity 119 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 84 belong to 21 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea70eb812dfefc4c2f5866479973c9525e9f7cdb717f16b19042a9715e0ed8"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatEvents.applyProjectionItems (cyclomatic 113): useChatEvents.applyProjectionItems has cyclomatic complexity 113 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 42 belong to 9 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b00f253ff6eb2611863d47244d7e7c4531583fcbc5e342a3ba54399bc2caf9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_stress::validate_args (cyclomatic 106): ironclaw_stress::validate_args has cyclomatic complexity 106 (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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a4ed7213a67312db9021175e41f2099b93e2a113f8beb30f13bb2b46a841eb"}},{"ruleId":"D1","level":"warning","message":{"text":"useChannelOnboarding.useChannelOnboarding (cyclomatic 104): useChannelOnboarding.useChannelOnboarding has cyclomatic complexity 104 (threshold 15). Most of this is not in the body itself: 1 of the 104 points is its own statement and the rest belongs to 22 function literals inside it that branch (lines 511, 353, 281, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9a3e76f83e06e5b04dcb7494b48cde5ea2b9b22be43a559c9d3ef769e809fc"}},{"ruleId":"D1","level":"warning","message":{"text":"message-bubble.MessageBubbleImpl (cyclomatic 98): message-bubble.MessageBubbleImpl has cyclomatic complexity 98 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 15 belong to 5 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5fa45c0d9e79e529d0841e291cf99356fa0b84105f0f28c2ce481cbe5033bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_stress::apply_preset (cyclomatic 91): ironclaw_stress::apply_preset has cyclomatic complexity 91 (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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed07229410b6cd7e0f28fc7ebc21b935bb4522c63a53c3b675a048f7b641a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.Chat (cyclomatic 82): chat.Chat has cyclomatic complexity 82 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 33 belong to 11 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d55692ee877254d6d3e0723b9c098924d5368b146e3d22e9d8bd2d3abca07d"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityStage::process (cyclomatic 80): CapabilityStage::process has cyclomatic complexity 80 (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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc43d20e2ecbc635467a289552fdb6907c32325028121fbda30774bcb648829"}},{"ruleId":"D1","level":"warning","message":{"text":"useSSE.useSSE (cyclomatic 75): useSSE.useSSE has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 1 of the 75 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 131, 227, 255, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbcdce96913ceab9295a62d6c0503bb6640bc0039b30d8914c7e7a1c0d45458"}},{"ruleId":"D1","level":"warning","message":{"text":"configure-modal.ConfigureModal (cyclomatic 75): configure-modal.ConfigureModal has cyclomatic complexity 75 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 30 belong to 11 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b82ee2c4ec1fbe456e7949d1b49d127cf5b452fc21b4b2558c78a0c3d5b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"select-menu.SelectMenu (cyclomatic 66): select-menu.SelectMenu has cyclomatic complexity 66 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 42 belong to 11 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":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb80cfd35f17a6a1f3926d87282cb1fbcee0abdf2c0fb3ddd206d263f4726e5b"}},{"ruleId":"D1","level":"warning","message":{"text":"RebornConfigFile::validate (cyclomatic 63): RebornConfigFile::validate has cyclomatic complexity 63 (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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4b6ba3ab0f04a2aef54cad3c150d2b7016d933b7aab30f7ef6f8a5c84c3b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"useInspector.useInspector (cyclomatic 63): useInspector.useInspector has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 249, 194, 227, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cac9d3a6f14e011c9b40a9eba51cdb4ece3cccbac45788ebd877493cd03d34"}},{"ruleId":"D1","level":"warning","message":{"text":"useHistory.useHistory (cyclomatic 60): useHistory.useHistory has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 15 of the 60 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 123, 322, 218, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd9e75500488af38a246be70aacbe263b4ebe3f4264752111fed109234eed9"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiOauthProvider::to_gemini_request (cyclomatic 59): GeminiOauthProvider::to_gemini_request has cyclomatic complexity 59 (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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a109088d19dbc96cb7c654034f0247bc756eef815d735e4f56890ce2eb635d43"}},{"ruleId":"D1","level":"warning","message":{"text":"check-regression-promotions.validate (cyclomatic 58): check-regression-promotions.validate 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":"scripts/ci/check-regression-promotions.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f32a826f5bdd993f078b751538ad23b2fa05063854d0b668cc8e709b68dbbd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ws12_workflow_contracts.validate_libsql_scripted_memory_job (cyclomatic 57): ws12_workflow_contracts.validate_libsql_scripted_memory_job has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3222ad78042d47bc2eb7227c0936b63bb46d3a7a8ffdffac114be5a42123b8"}},{"ruleId":"D1","level":"warning","message":{"text":"device-link-panel.DeviceLinkPanel (cyclomatic 57): device-link-panel.DeviceLinkPanel has cyclomatic complexity 57 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 34 belong to 10 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"965cb80491498cd9e6f0505b23ca6148a0e1c8d2e2bf77013635f9b39b050983"}},{"ruleId":"D1","level":"warning","message":{"text":"model-selection-policy-editor.ModelSelectionPolicyEditor (cyclomatic 57): model-selection-policy-editor.ModelSelectionPolicyEditor has cyclomatic complexity 57 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 38 belong to 10 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4344a85ab4e3d9ad8f000546e99800ef13e02ed493301eb7e80ef7e6bdef83"}},{"ruleId":"D1","level":"warning","message":{"text":"useExtensions.useOauthSetup (cyclomatic 55): useExtensions.useOauthSetup has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 1 of the 55 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 514, 681, 621, \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceac46d0e322c1c53317b501269f24c4c52d984056e9e48e630d5db823015d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_composition::runtime::build_runtime_with_resource_governor (cyclomatic 54): ironclaw_composition::runtime::build_runtime_with_resource_governor has cyclomatic complexity 54 (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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d00ae36fa75407d258068bb933a806b6e90105cd4346a80d41ea5b87e39726"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::run_delivery::triggered::notify_background_run (cyclomatic 53): ironclaw_assistant::run_delivery::triggered::notify_background_run has cyclomatic complexity 53 (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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b6cf350629b65107c20078375c60f81148f97a963527790c253ca9d3c62edb"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_changed_coverage.main (cyclomatic 53): reborn_changed_coverage.main has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdedbe87602e5c545fa724e6c4b6c64486a057aeadb13179d4e578eb5374b40d"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list.MessageList (cyclomatic 51): message-list.MessageList has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 5 of the 51 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 211, 270, 185, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab38793a90411679650c0a232b3996ead539463148ba70a11117a66cd74258d"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatEvents.useChatEvents (cyclomatic 51): useChatEvents.useChatEvents has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 2 of the 51 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 88, 148). 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f825805281d3e7f661d8e6fc0808bd904272121eeb272cf5ea2b11a3555ed0a"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-card.ProviderCard (cyclomatic 51): provider-card.ProviderCard has cyclomatic complexity 51 (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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deccd766ff10369a32d8da787523b17947f39bcc7225c8f3be1d4ff9ee5b6ac"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._slack_delivery_routine_case (cyclomatic 50): run_live_qa._slack_delivery_routine_case has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b40727e0184836b848f6a34545aa8849e7ec20f8adb5cbaf57d9eb4c90b9b9"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::projection::display_preview::input_summary (cyclomatic 49): ironclaw_assistant::projection::display_preview::input_summary has cyclomatic complexity 49 (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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a46778b8efed1228215be4a5d0c79fee3930ff08bc2e07b52c39201420cf7a"}},{"ruleId":"D1","level":"warning","message":{"text":"critical_mutation_gate.main (cyclomatic 49): critical_mutation_gate.main has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/critical_mutation_gate.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81d3fb073e411a70196db14234432a29fda8be5927029355f843329b626dc81"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa.run_cases (cyclomatic 48): run_live_qa.run_cases has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":9337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f996bc69706d39b9da09d05221bc14860268e870388b46f8a8a738865d532ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::reasoning::find_code_regions (cyclomatic 47): ironclaw_llm::reasoning::find_code_regions has cyclomatic complexity 47 (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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"23124a916f57e9e7610466ceb99aebff445a7340770e928ee1232dbe50723075"}},{"ruleId":"D1","level":"warning","message":{"text":"RunDeliveryObserver::deliver_final_reply (cyclomatic 46): RunDeliveryObserver::deliver_final_reply has cyclomatic complexity 46 (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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d3fc67a98f2476ae06daf8a352e461376ab76e0701cf2f27587744eb6cfdb6"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_registry::v3::parse_v3 (cyclomatic 45): ironclaw_extension_registry::v3::parse_v3 has cyclomatic complexity 45 (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":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd947edc8e3b7180b911df67444fd7a22f06371b1181285ddb7ec60a460822"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::worker::run_target (cyclomatic 43): ironclaw_assistant::delivery_coordinator::publication::worker::run_target has cyclomatic complexity 43 (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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e29046c64b8a9f6bc33d4e5621e3f433464fee5bb3a803575def9455267fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_changed_coverage.rust_lexical_structure (cyclomatic 43): reborn_changed_coverage.rust_lexical_structure has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b2880ba7e4d6e150b12728d7ae563db19d0fdc59f63f884b8164e75a0ab5a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::openai_codex_provider::parse_sse_response (cyclomatic 41): ironclaw_llm::openai_codex_provider::parse_sse_response has cyclomatic complexity 41 (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":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dbf82317d1ab07cd64b7e5ecd9639d691e75fe0cf3baf68305dea59e6aed29"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._current_turn_capability_evidence (cyclomatic 41): run_live_qa._current_turn_capability_evidence has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2672d3356fca692fa5419a9ad47d1de3ebf24fb433fc7da11baa1c5bdb1db9af"}},{"ruleId":"D1","level":"warning","message":{"text":"useExtensions.useExtensions (cyclomatic 40): useExtensions.useExtensions has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 225, 263, 277, \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c4286ccba5655c0059b27e0342c91d32b527b0b468520c85d1db9e735193a"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector-activity.reduceInspectorActivity (cyclomatic 40): inspector-activity.reduceInspectorActivity has cyclomatic complexity 40 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 21 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-activity.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec328b08c8ecf4cfbd0adeaed4bbf65ebf77c23576658d20b937ff84f7a965"}},{"ruleId":"D1","level":"warning","message":{"text":"user-detail.UserDetailView (cyclomatic 39): user-detail.UserDetailView has cyclomatic complexity 39 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 16 belong to 7 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfde48b89bf3b3c5984ff80898f0d85fd460326b5f827840ea986beea83cdeb"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-card.ExtensionCard (cyclomatic 38): extension-card.ExtensionCard has cyclomatic complexity 38 (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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8100a1a3df2aa09b29d7a991a591913d322c4e3cbf4099e11e28a79485a1a77f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiOauthProvider::aggregate_cloud_code_sse (cyclomatic 37): GeminiOauthProvider::aggregate_cloud_code_sse has cyclomatic complexity 37 (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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a009ea8738cc898b2c397a10226ecd194e933c40d30ed60f9b3d283f2e6c02"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.slack_payload (cyclomatic 37): notify_slack.slack_payload has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a28c1244403a00b0d3be1a42460f777edf0662d81c252d604211b4cae8b98f8"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._wait_for_assistant_reply (cyclomatic 37): run_live_qa._wait_for_assistant_reply has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeee6b96a6145e43d78b4216cf851208eac67a3ecc6f6153556b9119d0c1909"}},{"ruleId":"D1","level":"warning","message":{"text":"pairing-web-code-panel.PairingWebCodePanel (cyclomatic 37): pairing-web-code-panel.PairingWebCodePanel has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 12 of the 37 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 88, 152, 69, \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":"crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de209a9918a9c908957592d67a8d4c7206e7bae2e4a8fe1ca3baa565ae7bf4e"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-tree.WorkspaceTree (cyclomatic 37): workspace-tree.WorkspaceTree has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 375, 318, 327, \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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eadd81e84439f4d26edd5a5db368dcfcee579ee5b167f15223b371fece19a0"}},{"ruleId":"D1","level":"warning","message":{"text":"automations-presenters.scheduleLabel (cyclomatic 37): automations-presenters.scheduleLabel has cyclomatic complexity 37 (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":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef432a8cd9347ad05d8f18f8f8750a914e443dd87bf2b3b001d6ac24c5553b46"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_surface_inventory._api_keywords (cyclomatic 36): audit_surface_inventory._api_keywords has cyclomatic complexity 36 (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/reborn_qa_matrix/audit_surface_inventory.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89fa122e4c7d5ab7dfb0539456ba186994fc71aac3e4330f51cb3546b226798"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelDescriptor::validate (cyclomatic 35): ChannelDescriptor::validate has cyclomatic complexity 35 (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":"crates/contracts/ironclaw_extension_contracts/src/channel.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b134bfe0484d90e253c503c496ed8ed60a5565b892e7365b8c9311b5ab4b15"}},{"ruleId":"D1","level":"warning","message":{"text":"HostRuntimeLoopCapabilityPort::invoke_capability_dispatch (cyclomatic 35): HostRuntimeLoopCapabilityPort::invoke_capability_dispatch has cyclomatic complexity 35 (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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"198a8b3ba1f50b15e56db00b2824a74c6a8f3b1c73def7a9dd2de25ff39228f7"}},{"ruleId":"D1","level":"warning","message":{"text":"logs-page.LogsPage (cyclomatic 35): logs-page.LogsPage has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 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":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56cb8a3d54687dd3cd650d879a78d9d321cd4c3561bb252e9ccffac12ae35d"}},{"ruleId":"D1","level":"warning","message":{"text":"ServeCommand::execute (cyclomatic 34): ServeCommand::execute has cyclomatic complexity 34 (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":"crates/app/ironclaw_cli/src/commands/serve.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b68bdcb22374a96f78ef5d026d551f5a3c6aef862e5d356900f91f16080e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemAuthProductServices::sweep_all_accounts (cyclomatic 34): FilesystemAuthProductServices::sweep_all_accounts 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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"b955a54cb2d97be9b931b21607c3421c4a8f30895f27b172ad75dfc9e64e1431"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_processes::journal_store::rows::load (cyclomatic 34): ironclaw_processes::journal_store::rows::load has cyclomatic complexity 34 (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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484ade03b8febfc9b38328315ceeb256336b71baea680a2b6096f09b5a595a9"}},{"ruleId":"D1","level":"warning","message":{"text":"slack_helpers._slack_personal_auth_preflight (cyclomatic 33): slack_helpers._slack_personal_auth_preflight has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5f4229718c44b0c1e99a43e4b1b10509608ee087183dca4f15ba8e972f538"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-renderer.MarkdownRendererImpl (cyclomatic 33): markdown-renderer.MarkdownRendererImpl has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 186, 261, 209, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"229497815938070fbd1497d09f63d53327bac644fd21b9a83b0887264341d77c"}},{"ruleId":"D1","level":"warning","message":{"text":"users-tab.AdminUsersTabView (cyclomatic 33): users-tab.AdminUsersTabView has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 7 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec341325d78d86fee901e3f966ccdd090aa432170cf91ce170a0d02b896ac3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"RebornLoopDriverHostFactory::build_text_only_host_with_capabilities (cyclomatic 32): RebornLoopDriverHostFactory::build_text_only_host_with_capabilities 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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca77448ccbae609b4ff7f3dadce88b0d804dd6366e1b85277060f11fc9e3e2fd"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.main (cyclomatic 32): notify_slack.main has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d63fdce584eec19dfb26dab1528beb4f32cb75ada1c19896677fbe83cf727b8"}},{"ruleId":"D1","level":"warning","message":{"text":"google_auth_helpers._google_runtime_access_token (cyclomatic 32): google_auth_helpers._google_runtime_access_token has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2750e2d6ff0fffd6660f87911fb55931e3bc7fe1bdb3b0e5cc5b94debc0df586"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._wait_for_slack_delivery_marker (cyclomatic 32): run_live_qa._wait_for_slack_delivery_marker has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3efadc55ac120835302555773566f00c0268154ccb857358a561804c53dc487"}},{"ruleId":"D1","level":"warning","message":{"text":"useLlmProviders.useLlmProviders (cyclomatic 32): useLlmProviders.useLlmProviders has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 14 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 152, 120, 131). 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4100f9edd7794b30bd1eecfde80ef30aeafdd40d2d2839a9de4f6fc8a1884baf"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity-state.mergeToolActivity (cyclomatic 32): tool-activity-state.mergeToolActivity has cyclomatic complexity 32 (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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c321e7bd502cd14164254172bdedd0be1bd292b8162d3f6f6c69dd0facb964"}},{"ruleId":"D1","level":"warning","message":{"text":"useLogs.useLogs (cyclomatic 32): useLogs.useLogs has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 187, 154, 230, \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":"crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f25c32c9aa2c3e89486e090be18a984e8f096f426beffd3bc104364c18a255"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.parse_reborn_qa_case_reports (cyclomatic 31): notify_slack.parse_reborn_qa_case_reports has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"10297535bb2001ebf4447e1922f38ed34412267f26a99e9edbca670291b903e2"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa.prepare_reborn_home (cyclomatic 30): run_live_qa.prepare_reborn_home has cyclomatic complexity 30 (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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f3d12eaca719fb9f6eaa44475ccc1e438f14285c492245389962f82889d3c0"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-card.SkillCard (cyclomatic 30): skill-card.SkillCard has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 3 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-card.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa04c6eee4dd807d22d4301ecc4019ff1e16f0235209712e113fe2280f1e303e"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductAdapterError::from (cyclomatic 29): ProductAdapterError::from has cyclomatic complexity 29 (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":"crates/product/ironclaw_assistant/src/error.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f553bf379b72cbefd3a9d1d555973a2cfd5faccc7de82ea5dd0f0f42a3a399b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexChatGptProvider::handle_sse_event (cyclomatic 29): CodexChatGptProvider::handle_sse_event 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8dbc49a699bbac5e5fcad62cc7ad1fbe0060c63fb6b84457d16cbcdd9eb82f"}},{"ruleId":"D1","level":"warning","message":{"text":"NearAiChatProvider::send_streaming_request_inner (cyclomatic 29): NearAiChatProvider::send_streaming_request_inner 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3612d7c3b2e58cb2ec29f6f44c5aaea60c08affb76074312677d39f92a891550"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionLifecycleManager::remove (cyclomatic 29): ExtensionLifecycleManager::remove has cyclomatic complexity 29 (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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2600700224ad73511985b17badbfca2c7df8fc021dffefc725ec9bb173ed8c0"}},{"ruleId":"D1","level":"warning","message":{"text":"DeliveryCoordinator::drive_prepared (cyclomatic 29): DeliveryCoordinator::drive_prepared 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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb2dfc56ff91913555330aa6b3552b43d463a26360555016ee7f372f7c9d33c"}},{"ruleId":"D1","level":"warning","message":{"text":"critical_mutation_gate.load_manifest (cyclomatic 29): critical_mutation_gate.load_manifest 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":"scripts/ci/critical_mutation_gate.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e5e2c7b0542f5d9c1dc5f1918d1e941b9f9f9bb07b3e361efacc4603901e8"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._slack_correctness_chat_reply (cyclomatic 29): run_live_qa._slack_correctness_chat_reply 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac4b43cc166c99e71c293e5ab03ac1b7e10ed4152295d037a9b81b6a08fffd"}},{"ruleId":"D1","level":"warning","message":{"text":"automation-detail-panel.AutomationDetailPanel (cyclomatic 29): automation-detail-panel.AutomationDetailPanel has cyclomatic complexity 29 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 7 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"98df6fe7f07221a287eca2814d1bf3780935d15be70040df1b5a51b4a36712fe"}},{"ruleId":"D1","level":"warning","message":{"text":"useAdminUsers.useAdminUsers (cyclomatic 29): useAdminUsers.useAdminUsers has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 96, 119, 166, \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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b8c93b1fc1ffd489c6da0f38e11398bf27f6bab84b745718bb9ed416d6322c"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopRuntimeContext::render_model_content (cyclomatic 28): LoopRuntimeContext::render_model_content has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f046385caa7e2e1d1aa80475c236f13964f5fd3fcb97c86ef12ce3d7b658ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::rig_adapter::convert_messages (cyclomatic 28): ironclaw_llm::rig_adapter::convert_messages has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bac9c6e71034f19630d52eef65edd8f69c68f7b6fbc4ff0aaf778353c27eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::maintenance::trace_queue_telemetry_failure_kind (cyclomatic 28): ironclaw_trace_commons::contribution::maintenance::trace_queue_telemetry_failure_kind 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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c4785f7fd46fbeb7026e78d47095c06c88840dfbcffbe35ae38829c56f57fe"}},{"ruleId":"D1","level":"warning","message":{"text":"LibSqlTriggerRepository::run_migrations (cyclomatic 28): LibSqlTriggerRepository::run_migrations has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a418a983ac3859a4922073c52fd15580b2f237e1dfc1255beb313c4764e65bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityDeclV2::from_raw (cyclomatic 28): CapabilityDeclV2::from_raw has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"587a8061f60de89a3bb9f1ad1c99e9b8059e46778c586003d2a0f91e6c447e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::shell_core::detect_command_injection (cyclomatic 28): ironclaw_host_runtime::first_party_tools::shell_core::detect_command_injection has cyclomatic complexity 28 (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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad8a27134f8d0872296e03d147cbd083fbcaacdf02e7b31a06421c8964bc88f"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::xlsx::parse_cells (cyclomatic 28): ironclaw_documents::xlsx::parse_cells has cyclomatic complexity 28 (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":"crates/substrates/ironclaw_documents/src/xlsx.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c5dc886d6ed7fd0ba34a4eb1780217b31d5f29e2ab6511d2d0168a91125c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::xlsx::set_cell_formula (cyclomatic 28): ironclaw_documents::xlsx::set_cell_formula has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/xlsx.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7128f2f722dfd799a26f01b883bb6713aae31c4c0be8bc12d9e4120011511ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_changed_coverage.load_manifest (cyclomatic 28): reborn_changed_coverage.load_manifest has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5751826c9f5340ef7f1a21489040bcaf95a563c5b7862b819ad371609a865375"}},{"ruleId":"D1","level":"warning","message":{"text":"google_auth_helpers._google_product_auth_preflight (cyclomatic 28): google_auth_helpers._google_product_auth_preflight has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"641e7dcab70c551102f3f72aec125852aebfef247fec57bdf0a9ea9115275061"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._apply_extension_setup_api_after_start (cyclomatic 28): run_live_qa._apply_extension_setup_api_after_start has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b976cbf5718ce3a8a35fc63e79a9447afe4c8f74e5b9373730a3c38c7cacb575"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._slack_membership_view (cyclomatic 28): run_live_qa._slack_membership_view has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7169}}}],"partialFingerprints":{"codehealthFindingId/v1":"54777dd119a9aa8260c9527f56619290417d61847e9641b38f0ca431b8194fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::tool_schema::normalize_schema_recursive (cyclomatic 27): ironclaw_llm::tool_schema::normalize_schema_recursive 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":"crates/domains/ironclaw_llm/src/tool_schema.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ef21b805301899c63360da60f88e5e6a69e40c29760c98d69300b0ed3b142"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelStage::process (cyclomatic 27): ModelStage::process 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":"crates/loop/ironclaw_agent_loop/src/executor/model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd21f76dfdaae863bac57b39651b1ce028b61bcc50dcb58d3eb865f665523e2e"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultExecutorPipeline::execute (cyclomatic 27): DefaultExecutorPipeline::execute has cyclomatic complexity 27 (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":"crates/loop/ironclaw_agent_loop/src/executor/canonical.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e91a405c574d99034685a1c1db06df15b2302f6be677ccb85754bb6de588b"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::projection::reply::fold_milestone (cyclomatic 27): ironclaw_assistant::projection::reply::fold_milestone 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":"crates/product/ironclaw_assistant/src/projection/reply.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f093c84a5a432a17dda92b230b53ac88b105e3f01fcec21123383cc82286e0"}},{"ruleId":"D1","level":"warning","message":{"text":"product-activity-envelope.publishProductInspectorEnvelope (cyclomatic 27): product-activity-envelope.publishProductInspectorEnvelope 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/product-activity-envelope.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d3298d7cdb1aaf5e0d1e301a9b7bddb88cc6b98627454b7922179539692be2"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemAuthProductServices::cleanup_for_lifecycle (cyclomatic 26): FilesystemAuthProductServices::cleanup_for_lifecycle 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":"crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1477bab0f374448c5b4d1fc21bc95f8d6168890638a3cc1a3bc9fd1f1c3c239e"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityHost::resume_spawn_json (cyclomatic 26): CapabilityHost::resume_spawn_json 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":"crates/kernel/ironclaw_capabilities/src/host/spawn_resume.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd31d5dc3a7a7782389076a7c956106b9496b4a82b99e59e7e8e90c1eee209cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::html_pdf::parse_blocks (cyclomatic 26): ironclaw_documents::html_pdf::parse_blocks 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":"crates/substrates/ironclaw_documents/src/html_pdf.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c30be0ff778203b874d6eda10a3725aaf4e2d85d8caa66b03792c9f11055f6"}},{"ruleId":"D1","level":"warning","message":{"text":"LibSqlRootFilesystem::ensure_index (cyclomatic 26): LibSqlRootFilesystem::ensure_index 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"922132516a4e27e9cd1fbbb2f11c44bead23ceb468cc0c327bb67c2184cdcd8b"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._slack_personal_dm_counterpart_names (cyclomatic 26): run_live_qa._slack_personal_dm_counterpart_names 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffe3845eb5a462246c70005fbd652a76f1021515e3a85e058bbb3efad38065e"}},{"ruleId":"D1","level":"warning","message":{"text":"notification-panel.NotificationPanel (cyclomatic 26): notification-panel.NotificationPanel has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 belong to one function literal 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":"crates/product/ironclaw_webui/frontend/src/components/notification-panel.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2175808ca39e01d20c1bfd6441052897af623bd41b55a04580b87ab1a8006484"}},{"ruleId":"D1","level":"warning","message":{"text":"useProviderDialogForm.useProviderDialogForm (cyclomatic 26): useProviderDialogForm.useProviderDialogForm 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 6 function literals inside it that branch (lines 63, 105, 89, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d63645980a30a7c2a9c6b563484e166d1ef1174be7c846b5683d793795447d"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-mcp-registration-modal.CustomMcpRegistrationModal (cyclomatic 26): custom-mcp-registration-modal.CustomMcpRegistrationModal has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/custom-mcp-registration-modal.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab53997728ff2ebd153fd10d948bc44e523bfe5f1647869217a0699d8a47fb0c"}},{"ruleId":"D1","level":"warning","message":{"text":"settings-field.SettingsField (cyclomatic 26): settings-field.SettingsField has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"302cb188064d1890b6930fb73a7d1b6ea4eadfce95a1af610f581d68e70e96e8"}},{"ruleId":"D1","level":"warning","message":{"text":"trace-commons-tab.TraceCommonsTab (cyclomatic 26): trace-commons-tab.TraceCommonsTab has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4458eabb17a089977a6a3d454e554f3202980c99075555847d9a7951f0a31985"}},{"ruleId":"D1","level":"warning","message":{"text":"useThreadScrape.useThreadScrape (cyclomatic 26): useThreadScrape.useThreadScrape has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 177, 209, 133, \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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useThreadScrape.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fe4cd3a74c5a716e2f76f1d2793415355f16aeb8ac4b10b057062f6aff2e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionHostLifecycleProductService::execute_action (cyclomatic 25): ExtensionHostLifecycleProductService::execute_action has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb31e27090639504f2d4ca11616d3a20e200a69cacf8c7aa3863393038a333c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle (cyclomatic 25): ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/skills/url_install/zip_bundle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d5b5a894929fde4cdc71057224b2fa5b1f35e6e70320275695ca484cbfaf16"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadBackedLoopModelPort::resolve_model_messages (cyclomatic 25): ThreadBackedLoopModelPort::resolve_model_messages has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfda33c14321009df91f804fdc8b6a044f214d1ab5a3ac032a063d6b8558d5d"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::complete_model_request (cyclomatic 25): ironclaw_loop_host::model_gateway::complete_model_request has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2040adefaece5c140b2d3c3f1d7e002a3069310e1760bf3daa8027737a9eee"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa.parse_case_llm_trace_metrics (cyclomatic 25): run_live_qa.parse_case_llm_trace_metrics has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eec49689ed31aa65f06a40674c3234e7b62ebc650dd96655e435836123461b"}},{"ruleId":"D1","level":"warning","message":{"text":"history-messages.toolCardFromPreview (cyclomatic 25): history-messages.toolCardFromPreview 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b67284b505e390652f62fe10ff42049d0d852f160d53565d79bba7f64d16de"}},{"ruleId":"D1","level":"warning","message":{"text":"useHistory.mergeFullRefresh (cyclomatic 25): useHistory.mergeFullRefresh has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 535, 514). 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb4592cc6ef8a749c015b982e5052d8ac7ebf76f9b5d1814fe2f625379f78ef"}},{"ruleId":"D1","level":"warning","message":{"text":"attachment-preview.AttachmentPreviewModal (cyclomatic 25): attachment-preview.AttachmentPreviewModal has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 55, 118, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa34a6db9c7634b01cf542e2fe948fe19ee0beba067a2d58488b33931150469"}},{"ruleId":"D1","level":"warning","message":{"text":"link-payload-panel.LinkPayloadPanel (cyclomatic 25): link-payload-panel.LinkPayloadPanel has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 140, 126, 91, \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":"crates/product/ironclaw_webui/frontend/src/components/link-payload-panel.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"599dcbc59eb6fbb50a50ed0812948976e620303dde7f0ab8243647c7a54aa7b9"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-tab.SkillsTab (cyclomatic 25): skills-tab.SkillsTab has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 36, 54, 77, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008d7b55db40143c395200841970ba6bd67ba54cbbfb448458f035e0d6b69a1"}},{"ruleId":"D1","level":"warning","message":{"text":"thread-scraping-panel.ThreadScrapingPanel (cyclomatic 25): thread-scraping-panel.ThreadScrapingPanel has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/thread-scraping-panel.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cebfa77a4ef7026bdb95b047976a32ffc119b8976152af80cff0dfff4ccc10"}},{"ruleId":"D1","level":"warning","message":{"text":"index.render (cyclomatic 25): index.render has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 3 function literals 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":"docs/internal/archived-skills/portfolio/widget/index.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b6de682cf0dcbafae6f190c92832961c8909a3062968fba0b36afa362ca217"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryAuthProductServices::cleanup_for_lifecycle (cyclomatic 24): InMemoryAuthProductServices::cleanup_for_lifecycle 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde8df7afa56c93579073234036542c08b54eb7797057aa7a7b33595ff664b3a"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::agent_message::validate_agent_messages (cyclomatic 24): ironclaw_llm::agent_message::validate_agent_messages 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":"crates/domains/ironclaw_llm/src/agent_message.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b0df4d943599f6a11bb3bfca922b61c220ec758d90eaeb53a9b0640c65ad2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelConfigService::save (cyclomatic 24): ChannelConfigService::save 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":"crates/extensions/ironclaw_extension_host/src/channel_config.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1408799a717ffa7b87a81cbb9a6efaf694f24007b5c59aa12c606b5057a86fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionLifecycleManager::remove_locked (cyclomatic 24): ExtensionLifecycleManager::remove_locked 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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"01217edb4954a635386323d46736d565d3cc282cd779827626e702d87eefa1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_slack_extension::attachment_transfer::send_files (cyclomatic 24): ironclaw_slack_extension::attachment_transfer::send_files has cyclomatic complexity 24 (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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99eac4ce9f39a8f59785d566365c0d5702588455cfcf084b7d501e2a5944df9"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_sandbox::sandbox_process::user_container::sweep_idle_user_containers (cyclomatic 24): ironclaw_sandbox::sandbox_process::user_container::sweep_idle_user_containers 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e706bbddfc04b68d85719dc067112f8efaf9e0f457995409ad8b4627317f97"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityStage::handle_capability_error (cyclomatic 24): CapabilityStage::handle_capability_error 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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d56140e1c5da14ef223ee39333e4a2ad7dc78e20ea55613c19531241618b420"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::map_provider_error (cyclomatic 24): ironclaw_loop_host::model_gateway::map_provider_error has cyclomatic complexity 24 (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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c29fe33b76bd6fd4d16a7eacb16799052f0f4f37ff49cd8be1d09c711bb529"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_webui::webui_v2::handlers::build_sse_stream (cyclomatic 24): ironclaw_webui::webui_v2::handlers::build_sse_stream 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e510bc3bc92644080b290e5a66e547d3382c5ba373edd550b7dff3a42f42bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::docx::resolve_revisions (cyclomatic 24): ironclaw_documents::docx::resolve_revisions has cyclomatic complexity 24 (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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"640fcd5cd7b97e22819df2b855b375563592b31bb8368a3119f42d0afb146a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_filesystem::cas::cas_update_loop (cyclomatic 24): ironclaw_filesystem::cas::cas_update_loop 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":"crates/substrates/ironclaw_filesystem/src/cas.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6298c6a124a70c04a2a7545f5ec88054e52f7251c5da2e4b05237619120995"}},{"ruleId":"D1","level":"warning","message":{"text":"changed_workspace_packages.classify_clippy_scope (cyclomatic 24): changed_workspace_packages.classify_clippy_scope 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":"scripts/ci/changed_workspace_packages.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"524de79a37aa8e243473cee47a800ee16aafe9642cb5e25559e5cf74817bd49c"}},{"ruleId":"D1","level":"warning","message":{"text":"onboarding-pairing-card.OnboardingPairingCard (cyclomatic 24): onboarding-pairing-card.OnboardingPairingCard has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbc35439def5a587129a6d7e220621f038c3559ecb34ccaf10fd9b334b568e"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector-panel.InspectorPanelCore (cyclomatic 24): inspector-panel.InspectorPanelCore has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"343b3d9511676721c18d3eb896888946b34de24e6bfdc7545980a25ab0f1083d"}},{"ruleId":"D1","level":"warning","message":{"text":"jobs-page.JobsPage (cyclomatic 24): jobs-page.JobsPage has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/jobs/jobs-page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc4abf9bdb358317efc8f27832c3e7d9ca7048ce2754e77d6bc5e51e2c894db"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialManager::perform_oauth_login (cyclomatic 23): CredentialManager::perform_oauth_login 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a4ebb09db24b4473ad3f69114e99c086a61496b715633d4ad8a24ce34d0e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"HostRuntimeServices::validate_production_wiring (cyclomatic 23): HostRuntimeServices::validate_production_wiring has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/services/production_services.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe383977163a0c04e3b4468e66d682ac030d9b3dbbbe06331a9309d267e0af8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_command (cyclomatic 23): ProcessJournalMaterializedState::apply_command has cyclomatic complexity 23 (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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"417c8bdfe6a8bbfb3e73af22f7fe15cf625e0e8fa7bfb75b008eac0e8a4901ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::result_read::parse_result_read_input (cyclomatic 23): ironclaw_loop_host::result_read::parse_result_read_input has cyclomatic complexity 23 (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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"454009c6d669e0387440a81a62fe2f4c6edb957f2d799e276d83642b4b2c331a"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductRuntimeProjectionStream::forward_subscription (cyclomatic 23): ProductRuntimeProjectionStream::forward_subscription 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f211e391a0221ac375f32934aca33c508f0f4c9082433e173db8bad8c0df5aed"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_webui::webui_v2::handlers::ws_drain_loop (cyclomatic 23): ironclaw_webui::webui_v2::handlers::ws_drain_loop 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea8452b1ec046cb23949fd69dd27eb3bb51b79cdb8474135b1bd2e35d4f3ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::docx::replace_paragraph_text (cyclomatic 23): ironclaw_documents::docx::replace_paragraph_text 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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7cef8f1a849791cec8f354c7380df05841bf8c5ed6328e2af75c0a783a6de9"}},{"ruleId":"D1","level":"warning","message":{"text":"check-reborn-branch-coverage-flags.main (cyclomatic 23): check-reborn-branch-coverage-flags.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":"scripts/ci/check-reborn-branch-coverage-flags.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ce0e6a4a4b35a603ee09b7506b20743accc89bc86e64edb8e2f90a1866101e"}},{"ruleId":"D1","level":"warning","message":{"text":"history-messages.messagesFromTimeline (cyclomatic 23): history-messages.messagesFromTimeline 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b4f04bd50ff0bf6e03c4946a82c86ba3bb53df7ba141fdc2ce8f59ddc8ecdf"}},{"ruleId":"D1","level":"warning","message":{"text":"useHistory.hydrateFreshMessages (cyclomatic 23): useHistory.hydrateFreshMessages has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to one function literal 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcea28a42877fdec0321d50d025a8239a5fd6349f05ad8d1a461a33b7df9175"}},{"ruleId":"D1","level":"warning","message":{"text":"useHistory.insertPreservedAtOriginalPositions (cyclomatic 23): useHistory.insertPreservedAtOriginalPositions 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3e0b3e4d20beb07fabbc2dec1ec9a1b9f76bb8f59f0c9beb62aff25148fb6a"}},{"ruleId":"D1","level":"warning","message":{"text":"button.Button (cyclomatic 23): button.Button has cyclomatic complexity 23 (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":"crates/product/ironclaw_webui/frontend/src/design-system/button.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ad5353e0c9e54df2c8ded1ab32e84c276f92f4375225c07cbb463b6c74ec16"}},{"ruleId":"D1","level":"warning","message":{"text":"projects-page.ProjectsPage (cyclomatic 23): projects-page.ProjectsPage has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 6 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b769c31fb77e1e65a2c86ce9b39c71b4d00a561ecba0f128c744da4d7dcd04f"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemInboundBatchStore::stage (cyclomatic 22): FilesystemInboundBatchStore::stage 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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca6130b149cfe46e4158576118d26d3408a52a175d5d2ae2db249e6b2a2e6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_support::coding::grep_tool::grep (cyclomatic 22): ironclaw_extension_support::coding::grep_tool::grep 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":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7650fa555f2f1987b6a3e6518515aaec7929224a78a1d258ba26c1ea5b1d7f90"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_slack_extension::reply_sink::plan::plan_chunks (cyclomatic 22): ironclaw_slack_extension::reply_sink::plan::plan_chunks 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":"crates/extensions/packages/slack/src/reply_sink/plan.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35408746644ccc29ae25d45990fff716755a4183454a4a42819f746dfcd91c2"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityHost::auth_resume_json (cyclomatic 22): CapabilityHost::auth_resume_json 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":"crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"df682e14dd5f99c037c0ca0c3d69bb50b1875302e6b06eb464ca2601d9e07c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_host_runtime::egress::credential::apply_credential_injection (cyclomatic 22): ironclaw_host_runtime::egress::credential::apply_credential_injection 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":"crates/kernel/ironclaw_host_runtime/src/egress/credential.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0d790dc16e6725759aa19904a5f190473ff1e5d95d4aea51e821a51edecfbe"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_stress::sweep::build_cases (cyclomatic 22): ironclaw_stress::sweep::build_cases has cyclomatic complexity 22 (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":"tools/ironclaw_stress/src/sweep.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e6322cc4e6d60c1903427f3c3ae2bfba143c19bec43d85fcb1fa944c465c8e"}},{"ruleId":"D1","level":"warning","message":{"text":"check-target-tree.compare (cyclomatic 22): check-target-tree.compare 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":"scripts/ci/check-target-tree.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac28bbd62bbd1d7460e5719e19cc86bd6fa165f7763e590245dfdd3854987913"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.github_comment_body (cyclomatic 22): notify_slack.github_comment_body 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bbd8a0e5ff362c5affdbe6b1dc98b77c0f3105fe0c2882add448c60730d4fa"}},{"ruleId":"D1","level":"warning","message":{"text":"useNotifications.useNotifications (cyclomatic 22): useNotifications.useNotifications has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 5 function literals 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":"crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d63d442d7addba590cbd4309efcbe3857722cf7848a238fc90a6120b4f1660c"}},{"ruleId":"D1","level":"warning","message":{"text":"auth-oauth-card.AuthOauthCard (cyclomatic 22): auth-oauth-card.AuthOauthCard has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1687e1a5b3308fccdf146d699a937d79febc6b34e54f06b1bf808e164b8656b"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector-panel.PromptShell (cyclomatic 22): inspector-panel.PromptShell has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4c5ac1cd64b8bdeb5b93bbc82b330d92083c1dba1fe1bfab173c13febd5531"}},{"ruleId":"D1","level":"warning","message":{"text":"inference-tab.InferenceTab (cyclomatic 22): inference-tab.InferenceTab has cyclomatic complexity 22 (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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a973acfc6961745ab65d3dde693309b00f717fb7a574465b7f2ae6e6a31e12"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::anthropic_oauth::ingest_anthropic_event (cyclomatic 21): ironclaw_llm::anthropic_oauth::ingest_anthropic_event 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4a3df7bd19e71b067573b361a246956d8a8aab8f6cf4bd67b75fe099208824"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionLifecycleManager::install_registry_package (cyclomatic 21): ExtensionLifecycleManager::install_registry_package 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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ea25bd3dd256383a7af30ec3bd1aa0a0baf4584b1bf3ac0f70c4a0df608612"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_processes::journal_store::flusher::commit_pending (cyclomatic 21): ironclaw_processes::journal_store::flusher::commit_pending has cyclomatic complexity 21 (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":"crates/kernel/ironclaw_processes/src/journal_store/flusher.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"677333d4137df92cc8091b54add6856f13f03a7fbb984056eb45002113fb848a"}},{"ruleId":"D1","level":"warning","message":{"text":"CompactionTask::validate_range (cyclomatic 21): CompactionTask::validate_range has cyclomatic complexity 21 (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":"crates/loop/ironclaw_loop_host/src/compaction_task.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6531ab22ae7fd3de52c6012ce6ff04d9329c7594a3ea0a9aff3de1ef2984380"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorLogBuffer::query (cyclomatic 21): OperatorLogBuffer::query 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":"crates/product/ironclaw_operator/src/operator_logs.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7027a1eeeb46c892764d84191b9fcea49b1f7508f75beb2c536adc9be45b1133"}},{"ruleId":"D1","level":"warning","message":{"text":"check-target-tree.parse_tree (cyclomatic 21): check-target-tree.parse_tree has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-target-tree.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f3e3b37579a838b7620b1b773beb1858ea14e8dba7cba273e7160970c9f006"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_changed_coverage.parse_diff (cyclomatic 21): reborn_changed_coverage.parse_diff has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"836b260a0a8120d9d94eb612834b9b174c602e1259cdaf4ea24d75cbd000af29"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.parse_reborn_trace_tool_calls (cyclomatic 21): notify_slack.parse_reborn_trace_tool_calls has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2df4efb5b94fb09c61d10b06f00415a5a9efe6520ad6982069ebc319cddb34"}},{"ruleId":"D1","level":"warning","message":{"text":"notification-center.NotificationCenter (cyclomatic 21): notification-center.NotificationCenter has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9903638a5f3bb78443f4b1ab470e6e989eca4f2d8e3f521b5460a7ff472cb6a7"}},{"ruleId":"D1","level":"warning","message":{"text":"suggestions-api.decodeSuggestion (cyclomatic 21): suggestions-api.decodeSuggestion has cyclomatic complexity 21 (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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/suggestions-api.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a03cd41ed52efe8a6b72d279b75a4dc78e69d0d837c388d4dd3bd595ecfa604"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity.ToolDetailPanel (cyclomatic 21): tool-activity.ToolDetailPanel has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c7534b614566c02164e196f98913f561109c1ab6877a89049939c1b9656fc"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector-panel.ActivityEntry (cyclomatic 21): inspector-panel.ActivityEntry 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba2a9e6fdf145c828d256d4aa1d52da95edf3af17486622e8f7a3895badf6b7"}},{"ruleId":"D1","level":"warning","message":{"text":"notification-channels-panel.DevicePushBlock (cyclomatic 21): notification-channels-panel.DevicePushBlock has cyclomatic complexity 21 (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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900c3d606ba2ccdb0b5a98e90637720607cda3e4542acd05225821b5fe138d0"}},{"ruleId":"D1","level":"warning","message":{"text":"notification-channels-panel.NotificationChannelsPanel (cyclomatic 21): notification-channels-panel.NotificationChannelsPanel has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 7 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae352d98a9a2aa802034f523b4ad4a186af132f16f05bbe531de817cf9266cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"user-secrets-panel.UserSecretsPanelView (cyclomatic 21): user-secrets-panel.UserSecretsPanelView has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-secrets-panel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"987b00f00b99eda481f309685399e70159c53f09533532275604d2b0b21f3ba6"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration-tab.ConfigurationGroup (cyclomatic 21): configuration-tab.ConfigurationGroup has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 141, 94, 128). 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91a8c8b24725682e90fb6c1685326f8cf6a44f7f1684504af8acdcd57bf7903"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw::runtime::trigger_poller::trigger_poller_settings (cyclomatic 20): ironclaw::runtime::trigger_poller::trigger_poller_settings 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":"crates/app/ironclaw_cli/src/runtime/trigger_poller.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"384ffd9f50491d4b4036db85061548a4ca38c266e5bc0e17cd434eeb515c1f84"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_composition::factory::production_backend_assembly::build_backend_production (cyclomatic 20): ironclaw_composition::factory::production_backend_assembly::build_backend_production has cyclomatic complexity 20 (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":"crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c62ea36c25717383be414a2086d61cb54f75563767a4e9df1307d2f617b0ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectScopedAttachmentLander::cleanup_stale (cyclomatic 20): ProjectScopedAttachmentLander::cleanup_stale 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":"crates/domains/ironclaw_attachments/src/project_scoped.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a9a5759a91060f9334710b1971c7fef29178836a794a78fec0af43a9b7b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extractors::parse_xlsx_sheet (cyclomatic 20): ironclaw_extractors::parse_xlsx_sheet 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"42060afc22043c8034ae616f25039c6c2c0e75f5d734673220bfb0a695f7c607"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_memory::service::bounded_search_excerpts (cyclomatic 20): ironclaw_memory::service::bounded_search_excerpts 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":"crates/domains/ironclaw_memory/src/service.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f149e5dd84ea21e65ee2f0eca185f1dcbf16c02fdbec95e298f5d5c61e7084d"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_support::gsuite::handlers::gmail_message::select_body (cyclomatic 20): ironclaw_extension_support::gsuite::handlers::gmail_message::select_body has cyclomatic complexity 20 (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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers/gmail_message.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4538450712bed0c9fb818819c28031dc9a39a29d33cc25d3c8981e8ef6bd6cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_slack_extension::attachment_transfer::read_back_staged_upload (cyclomatic 20): ironclaw_slack_extension::attachment_transfer::read_back_staged_upload 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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd39dff1b55b666a8c5e91e062db1203d0a8252f63d1217457319d0c1bb115"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::json::parse_query_path (cyclomatic 20): ironclaw_host_runtime::first_party_tools::json::parse_query_path 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f51b5680b418ed97243b8ca2f921b30c5326d2f9ba600416f5b531e33df9dc1"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessJournalStore::initialize_materialized (cyclomatic 20): ProcessJournalStore::initialize_materialized 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":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63860662d2fb352311f24270e74ed943cd9c33bde63aea2fa90128a73c7b92"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_changed_coverage.mechanically_uninstrumentable_lines (cyclomatic 20): reborn_changed_coverage.mechanically_uninstrumentable_lines has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46c2e67324cb37045505ee60ddf7d9ea12f56fd15cd09e0e7e242edf99dab71"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._resolve_slack_personal_bot_dm_channel (cyclomatic 20): run_live_qa._resolve_slack_personal_bot_dm_channel has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b59129fba88d4a6edfd0b02c3d14a38e2289a49fd0fb7c49703d7ece1af9874"}},{"ruleId":"D1","level":"warning","message":{"text":"crm_tracker.run (cyclomatic 20): crm_tracker.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":"scripts/workflow_canary/scenarios/crm_tracker.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f978312d2058ceea7ec6b96fbc1d32b25337e3cc9dc981835f918d19340818"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-threads.SidebarThreads (cyclomatic 20): sidebar-threads.SidebarThreads has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8929935512ed8b1658477b7d0e9d9e7d455b20f633f92a27aaacdf75d4fc82ac"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-renderer.enhanceCodeBlocks (cyclomatic 20): markdown-renderer.enhanceCodeBlocks has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 111, 73, 84, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e71bb02a276a209b20dc0ffcefdb4cdea75113ace32798c11a114628a32db4c"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity-state.toolCardFromGate (cyclomatic 20): tool-activity-state.toolCardFromGate 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8c86c8723c8833254f41b7b53291638eb8c2879ec5e41a1510be10aae3c2e0"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-mcp-registration-modal.connectionErrors (cyclomatic 20): custom-mcp-registration-modal.connectionErrors 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/custom-mcp-registration-modal.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a01d9e96e9930385738ac7add4695df3bcdc81ecf2c8762a3430a5fc8d12b6"}},{"ruleId":"D1","level":"warning","message":{"text":"registry-tab.RegistryTab (cyclomatic 20): registry-tab.RegistryTab has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f707c202d74df414f08d21b8237de8ef81ce9dc39bb94be30d295ce8cb863"}},{"ruleId":"D1","level":"warning","message":{"text":"google_docs_tool::api::create_table_with_data (cyclomatic 19): google_docs_tool::api::create_table_with_data 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c54145d923dee8e8761285a284a3c3c141b18d03de744cdf4dcfa09e30791f"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannelAdapter::send (cyclomatic 19): TelegramChannelAdapter::send 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":"crates/extensions/packages/telegram/src/channel.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c54faa6cadbeed229b1e57ce547d9c18ff0adaac9e6a25fca4c45feba55ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_approvals::profile_gate::require_approval_for_profile_policy (cyclomatic 19): ironclaw_approvals::profile_gate::require_approval_for_profile_policy 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":"crates/kernel/ironclaw_approvals/src/profile_gate.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb7017e6053bfac2ccd477c6bfa8da3f40734ff89a8e312200e22bae0975c19"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityHost::authorize (cyclomatic 19): CapabilityHost::authorize 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":"crates/kernel/ironclaw_capabilities/src/host/authorize.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b8de4520ef17e6d30f4513103ffc498b885c87688fa6a1075c84a19f33976f"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityHost::authorize_spawn (cyclomatic 19): CapabilityHost::authorize_spawn 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":"crates/kernel/ironclaw_capabilities/src/host/spawn.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c489e33cb5b2d7cc14b3446fe2776fa5d2adf079ce6596034b44178be42930"}},{"ruleId":"D1","level":"warning","message":{"text":"BuiltinFirstPartyTools::dispatch (cyclomatic 19): BuiltinFirstPartyTools::dispatch has cyclomatic complexity 19 (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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6f6097fc9864494822775f726b1b035cdd35be873af02696622b91d424a0c1"}},{"ruleId":"D1","level":"warning","message":{"text":"HookDispatcher::dispatch_before_capability (cyclomatic 19): HookDispatcher::dispatch_before_capability 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f3d52815ba5ff3b9d58f5f462b9c4d2be22c3e4db91fc0ed425cc26c615b4e"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultReadHandler::invoke (cyclomatic 19): ResultReadHandler::invoke has cyclomatic complexity 19 (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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"788aa1303fcc751fca3cce74af7fa39eba92fc041804c4ed8db87bcd815af1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentSpawnCapabilityPort::invoke_capability_batch (cyclomatic 19): SubagentSpawnCapabilityPort::invoke_capability_batch has cyclomatic complexity 19 (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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc50a0f359af511619f3768dfdd158b77de0e162b88d1e282d164248f84f196"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_openai_compat::streaming::response_sse_stream (cyclomatic 19): ironclaw_openai_compat::streaming::response_sse_stream has cyclomatic complexity 19 (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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"186196d6745e9709d71eebd48786be159b6de6ef3ec95bd20e46092002ab9c78"}},{"ruleId":"D1","level":"warning","message":{"text":"check-guidance._reference_lines (cyclomatic 19): check-guidance._reference_lines 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":"scripts/ci/check-guidance.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"50258285a954a29d474450aa41a0480b351efcdf556019763c3c525f3047754a"}},{"ruleId":"D1","level":"warning","message":{"text":"import-reborn-run-artifact.build_turn (cyclomatic 19): import-reborn-run-artifact.build_turn 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":"scripts/import-reborn-run-artifact.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df62fbd2e54544625c91d28e26fb880b831dc10df3ec8d87fbdd6775bd51c8"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.parse_results_json (cyclomatic 19): notify_slack.parse_results_json 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45c9d92af0d749bacb9e1e297001139a02c759ff7741f42e3550b5f3cbc2d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack._markdown_reborn_case_lines (cyclomatic 19): notify_slack._markdown_reborn_case_lines 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a82f193d217f19af59b6eece596171c986bdd698060f04ea19a9cf40c0fe64f"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack.create_canary_issues (cyclomatic 19): notify_slack.create_canary_issues 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb2282ed053ae3a6d94a728f486dc8c7ddd350e1c81e5ea2576044a3040beeb"}},{"ruleId":"D1","level":"warning","message":{"text":"auth_registry.configured_seeded_cases (cyclomatic 19): auth_registry.configured_seeded_cases 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":"scripts/live_canary/auth_registry.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f621124c379d36f0f6c087fc8b5867e8ba9f426fdf7c3e9ca784f4dac8594"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_defect_traceability.build_audit (cyclomatic 19): audit_defect_traceability.build_audit 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":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e26fd0738a66e66ed7dcad7124b0a1e138c5335d8cb08725d6fd2ea47e0ab48"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._trigger_run_slack_send_evidence (cyclomatic 19): run_live_qa._trigger_run_slack_send_evidence 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0c7797869763d5671fe3e23c5bcbd478c91c6be0e652738d65e8602a520090"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.useAuthSession (cyclomatic 19): auth.useAuthSession has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 191, 228, 135, \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":"crates/product/ironclaw_webui/frontend/src/app/auth.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c271130346e92b87888fc8b76d6c0b1c7a723ce6653c131f8f4c536e6f3037ab"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-nav.ExpandableNavItem (cyclomatic 19): sidebar-nav.ExpandableNavItem has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-nav.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7f18d2f9d6e94ca299f57541d1b68cd1bfc84a3a07c6251aa83f45fe51c31d"}},{"ruleId":"D1","level":"warning","message":{"text":"approval-card.ApprovalCard (cyclomatic 19): approval-card.ApprovalCard has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a9cf81299aad1cdf7a2626d669416690ef353e0ff5fa76ca622d7a3aee18aa"}},{"ruleId":"D1","level":"warning","message":{"text":"useProviderLogin.useProviderLogin (cyclomatic 19): useProviderLogin.useProviderLogin has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 304, 198, 253, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"20553143019a8a1b92a04acf7e83bc8f57bc54316c185abb3759ec7258901cb4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-api.readWorkspaceFile (cyclomatic 19): workspace-api.readWorkspaceFile has cyclomatic complexity 19 (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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f970485aa606a2be6126fc1806454b2696398fe80f334c59317f1799093dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"user-model-preference-selector.UserModelPreferenceSelector (cyclomatic 19): user-model-preference-selector.UserModelPreferenceSelector has cyclomatic complexity 19 (threshold 15). Of this number, 17 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba05572992031c5b9bb7575b6b9c7896fbb5de585c6ecedf8bc3a3a930a1cb70"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductProjectionItem::validate (cyclomatic 18): ProductProjectionItem::validate 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":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdc3cd971169f453233a044d5c64853103586b2037f559e369116d9fcaa59a2"}},{"ruleId":"D1","level":"warning","message":{"text":"RebornProductAuthServices::handle_oauth_callback_with_optional_provider_identity_check (cyclomatic 18): RebornProductAuthServices::handle_oauth_callback_with_optional_provider_identity_check 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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14e2ec0052c628412f6aed5cf3a1bdbe5f7d1b150fdd10d73f74b347ed22b6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::anthropic_oauth::convert_messages (cyclomatic 18): ironclaw_llm::anthropic_oauth::convert_messages 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0ea1a23ca1aac69d26ec7af11c343ec900f5d9e9bbd7b4c1c01bf6393f649c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::recording::coerce_python_repr_to_json (cyclomatic 18): ironclaw_llm::recording::coerce_python_repr_to_json has cyclomatic complexity 18 (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":"crates/domains/ironclaw_llm/src/recording.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6bfc12d7da5c0e4a412df7685ad2d77f85409b3b5dce50f8a653fa1722bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemSessionThreadService::try_write_new_message_transactionally (cyclomatic 18): FilesystemSessionThreadService::try_write_new_message_transactionally 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af34b003c191f35b68908a71c0fa0e9451b49e41a7a2a8cdd24d33d12ed8539"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedMcpPreparationService::attempt_hosted_mcp_preparation (cyclomatic 18): HostedMcpPreparationService::attempt_hosted_mcp_preparation has cyclomatic complexity 18 (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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2fbde9cff3dfc37a1dbe7bb291938f81631c4cb6331f0e066dbf18088b3425"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityHost::dispatch_resumed_capability (cyclomatic 18): CapabilityHost::dispatch_resumed_capability has cyclomatic complexity 18 (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":"crates/kernel/ironclaw_capabilities/src/host/resume_support.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c4a0ecb4108275ce86ec08c9d13235d815b017a7c353a916e9b15f941447e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_submit (cyclomatic 18): ProcessJournalMaterializedState::apply_submit 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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ba288ca1f2ac9293386d0476f0a0eda9a49d81b09691d40ea0669a118a2b23"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultTurnCoordinator::derive_unbound_submission (cyclomatic 18): DefaultTurnCoordinator::derive_unbound_submission 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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412b08d73e6f88762c7cf60b3f2158de5b819beec1db695db6730ea6bf8a123"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_turn_runner::runtime::build_default_planned_runtime_inner (cyclomatic 18): ironclaw_turn_runner::runtime::build_default_planned_runtime_inner 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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d6456d27485658651be4fb9edceb26a0f9b16778fc9c3869c83d0a9c6d1ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveProjectionPublisher::publish_reply_revision (cyclomatic 18): LiveProjectionPublisher::publish_reply_revision 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":"crates/product/ironclaw_assistant/src/projection/live_progress.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a20faa304fbeb0994f72ae2812defc1610e7b11ad6b31e73c1be88ba243a44"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::materialize_workspace_files (cyclomatic 18): ironclaw_assistant::delivery_coordinator::materialize_workspace_files 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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ae7989051379c1a369233b7540aacda91d0baa214051b08fe87aece92e4c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_stress::api_capacity::run_window (cyclomatic 18): ironclaw_stress::api_capacity::run_window has cyclomatic complexity 18 (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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc9260ba9521730b84cdd73763f1a914f6616053d254d2166259e847b5a52f4"}},{"ruleId":"D1","level":"warning","message":{"text":"check-guidance.parse_frontmatter_paths (cyclomatic 18): check-guidance.parse_frontmatter_paths 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":"scripts/ci/check-guidance.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"df913246135eaeb55d1d01de55472c85e5fc819cbb049f49854ea1eeaf7cd9a2"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._model_delivery_summary (cyclomatic 18): run_live_qa._model_delivery_summary 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8adbcc87066bfe7b3931627b19d10ed3ec6976fe61248732b9e1b809897d7"}},{"ruleId":"D1","level":"warning","message":{"text":"calendar_prep.run (cyclomatic 18): calendar_prep.run 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":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4565f7d272ed99dc75c25ea01420519a49797f26daaed7924f15b157aa3eec68"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-summary.summarizeActivity (cyclomatic 18): activity-summary.summarizeActivity 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceadc22b144c8a71132e1bfb608ab081ef844940d0043461c4afa814b06f742"}},{"ruleId":"D1","level":"warning","message":{"text":"failureMessages.isClientGeneratedRequestMessage (cyclomatic 18): failureMessages.isClientGeneratedRequestMessage has cyclomatic complexity 18 (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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/failureMessages.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b298cdf96c5a796197fa2b4e8ddc857af1122e41aecffe8ba31b1e56835a2"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-status.ConnectionStatus (cyclomatic 18): connection-status.ConnectionStatus 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/connection-status.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e7f8f4226eece45681491e6c5bf98dea582e05e99ed9328f2b255ea0c0cb6a"}},{"ruleId":"D1","level":"warning","message":{"text":"RefreshingCapabilityPort::build_inner (cyclomatic 17): RefreshingCapabilityPort::build_inner 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":"crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6648c1b7d67fa0a454442a384b55769372c25f6a2c823cf37252d68ce11a0"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiOauthProvider::send_request (cyclomatic 17): GeminiOauthProvider::send_request 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4288c74800ab32769c6c5510082db0b4b7e5c5dcb0e9a9e55ff5784bc86c85ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::smart_routing::score_complexity_internal (cyclomatic 17): ironclaw_llm::smart_routing::score_complexity_internal 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":"crates/domains/ironclaw_llm/src/smart_routing.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2622c28ce0ec5034655965ea67655038bd01f86d9ed42b41bc8eb7426c454c"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemSessionThreadService::schedule_thread_index_projection_repair (cyclomatic 17): FilesystemSessionThreadService::schedule_thread_index_projection_repair 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index/projection_repair.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ac4fc0ad696072b9089aa1bd4c2bb6c9e0570dd922ffbbe3795a119f59d38"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemSessionThreadService::ensure_thread_index_query (cyclomatic 17): FilesystemSessionThreadService::ensure_thread_index_query 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1359e04b499910e5fd7302b3cd493acdbf3d8b225d4da8adb7bfdf6911772"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::maintenance::compact_trace_queue_for_scope_unlocked (cyclomatic 17): ironclaw_trace_commons::contribution::maintenance::compact_trace_queue_for_scope_unlocked 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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f6ff92d9e0424f6cf98365f1f950b66f2a513407d5a9d6967d361896d3399"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_manager::ironhub::catalog::validate_manifest_artifacts (cyclomatic 17): ironclaw_extension_manager::ironhub::catalog::validate_manifest_artifacts 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":"crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"66979f5bb6132c348ad7a54b011f5f3f4b4fea97f5c4f8e3705b87cf629fde1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_authorization::obligations_for_grant (cyclomatic 17): ironclaw_authorization::obligations_for_grant 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":"crates/kernel/ironclaw_authorization/src/lib.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eb36d74307c9bc46c7ac182b67736d0943326e554d20b530f35d51eca87919"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityStage::invoke_batch (cyclomatic 17): CapabilityStage::invoke_batch has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/capability_batch.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf731753a60b17bd225191cc726bed56d6200adb47ca381fe0c56f7510a458"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadBackedLoopModelPort::stream_model (cyclomatic 17): ThreadBackedLoopModelPort::stream_model 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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25cfdca99648febd9f1169109fdf2d1af3127741491e78d4d69e8be0a92051c"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchDocumentBuilder::collect_schema (cyclomatic 17): SearchDocumentBuilder::collect_schema 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":"crates/loop/ironclaw_loop_host/src/tool_search.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7544f92e5bb887f1645aea8560e127cc8c4f43f843b5eceedff0ddb28f00b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::convert_messages (cyclomatic 17): ironclaw_loop_host::model_gateway::convert_messages 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6eb8344a4a7606a39f297ce1e27e460ac0ceba46c5510efbab73b0cf2c698"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockedAuthResumeFanout::reconcile_stale_auth_notifications (cyclomatic 17): BlockedAuthResumeFanout::reconcile_stale_auth_notifications 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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14c0bbd8733c36c234913733f9e1fd44669693f2f6e1d7ce5bc39ab593fe55b"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockedAuthResumeFanout::fan_out (cyclomatic 17): BlockedAuthResumeFanout::fan_out 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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e071b4aed5496bc787198c6de7804ae27a2d774f53553d3acba08d22e6980"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOutcomeProcessCommitObserver::observe_process_commit (cyclomatic 17): RunOutcomeProcessCommitObserver::observe_process_commit 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":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f2be2d72ee2b13732a37b3ee6f6b96af46660d9acf43641cb8fc8ca2a30925"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::worker::handle_step (cyclomatic 17): ironclaw_assistant::delivery_coordinator::publication::worker::handle_step has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ea0057a4726a9da23f786355b245eb5a13c6c79e01c2d967626402861c56d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::html_pdf::decode_entities (cyclomatic 17): ironclaw_documents::html_pdf::decode_entities has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/html_pdf.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eddc2d5e4f4ec9596d8fcdfd006b5fe84ed89baef6342422dedff74c9f119d"}},{"ruleId":"D1","level":"warning","message":{"text":"LeakDetector::scan (cyclomatic 17): LeakDetector::scan 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":"crates/substrates/ironclaw_safety/src/leak_detector.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe97d7cd2a8b8120d50d12a03d2c73cf5bc3c7740cd645003357faa79ca46e"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_safety::model_input_redaction::redact_model_input_url (cyclomatic 17): ironclaw_safety::model_input_redaction::redact_model_input_url 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":"crates/substrates/ironclaw_safety/src/model_input_redaction.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbcb6ed9b9ddaa64c589ceeda42e4ae614726e09cd92165ccb7ea698e57b5a9"}},{"ruleId":"D1","level":"warning","message":{"text":"check-guidance.discover_guidance (cyclomatic 17): check-guidance.discover_guidance 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":"scripts/ci/check-guidance.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d81c2c80caf47553075574ba72af8b1b8eab443d1a38d49abd6171300ee328"}},{"ruleId":"D1","level":"warning","message":{"text":"check-guidance.extract_references (cyclomatic 17): check-guidance.extract_references 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":"scripts/ci/check-guidance.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3572cf61f9a72ed9c7f4638ec3cc6f64429ad69a8f8bdab62a7d30ae55a2083b"}},{"ruleId":"D1","level":"warning","message":{"text":"reborn_coverage_lcov.aggregate (cyclomatic 17): reborn_coverage_lcov.aggregate 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":"scripts/ci/lib/reborn_coverage_lcov.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49c55460d5c9767b31f079cb72133376a09dfc2b58733e34a5c76c461b78722"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack._format_reborn_qa_group (cyclomatic 17): notify_slack._format_reborn_qa_group 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"497578744a353a67ac693f71fcf79d5299905cfc4513b5a1112d95ad71148cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"useThreads.useThreads (cyclomatic 17): useThreads.useThreads has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 129, 44, 50, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e2eb3c019c6924b2b09662ffd1290f46dcf3b20e3d51e4fa87de4433cd9657"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity.ToolActivityCard (cyclomatic 17): tool-activity.ToolActivityCard has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d8c78f29a1832e636ee9b90e644d26a943522c99925a04b13a8cda9be57579"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-dialog.ProviderDialog (cyclomatic 17): provider-dialog.ProviderDialog has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a514e8316e0bba071e6ca97e81e05c9029ac6132e88e3cf731559766fecd4c"}},{"ruleId":"D1","level":"warning","message":{"text":"automations-presenters.normalizeAutomation (cyclomatic 17): automations-presenters.normalizeAutomation 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28c7305173e4bd8acab24129ebd1e35320c820b1c6bfbb820f8de91f9a80f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"extensions-page.ExtensionsPage (cyclomatic 17): extensions-page.ExtensionsPage has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"02feba77375f6641d7b7b8358ef3e8764831b43bf084fd6fa9e9d039931a5b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Code.highlight (cyclomatic 17): Code.highlight has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 27). 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":"docs/internal/architecture-video/src/components/Code.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d727d4d2410859795695121c9434fb6ec586c8fa13d598ef6efc36e4ec1bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw::commands::traces::show_queue_status (cyclomatic 16): ironclaw::commands::traces::show_queue_status 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e13c543c30345af2a43e7dfb9f66da55a75644b9978e5b25f1c5b7495336d"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionBundleBuilder::build (cyclomatic 16): InstructionBundleBuilder::build 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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cbdf507d7dbb8da4639b141b832f8b08cc296ea4103cae3dee52a88d5526c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_contracts::content_digest::match_iso8601_bytes (cyclomatic 16): ironclaw_loop_contracts::content_digest::match_iso8601_bytes 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":"crates/contracts/ironclaw_loop_contracts/src/content_digest.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b5a573702b880f99689a96536931176ae088165fa066da5bbdd9bab058403c"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_llm::agent_message::chat_messages_from_agent_messages (cyclomatic 16): ironclaw_llm::agent_message::chat_messages_from_agent_messages has cyclomatic complexity 16 (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":"crates/domains/ironclaw_llm/src/agent_message.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf7413bda0d9d105f616a728efc02afaf2d2bcdb64e05f1e7f00c803d8fe690"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_skills::selector::prefilter_skills_with_options (cyclomatic 16): ironclaw_skills::selector::prefilter_skills_with_options has cyclomatic complexity 16 (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":"crates/domains/ironclaw_skills/src/selector.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02c3e01a4aa9ae3b26d1c540f5dddfc4d60067024d2c25877641b608d6da0a8"}},{"ruleId":"D1","level":"warning","message":{"text":"TriggerPollerWorker::clear_terminal_active_fires (cyclomatic 16): TriggerPollerWorker::clear_terminal_active_fires 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":"crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"476bd74655ae4be7fb146f3ceaf701c897c22bfd3f9093991a8147333016293f"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_support::coding::file::read_file (cyclomatic 16): ironclaw_extension_support::coding::file::read_file 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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"971c183f227175b41f5e8dd341916a80a09f50e59ce04a682b9c59210c2b9206"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_extension_support::coding::text::replace_content (cyclomatic 16): ironclaw_extension_support::coding::text::replace_content 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":"crates/extensions/ironclaw_extension_support/src/coding/text.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa99d6c1f4e5660f7618e75ab930447ebea263c22189b070fef012a47235d86"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeMemoryService::write (cyclomatic 16): NativeMemoryService::write 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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08603fa1ca65ab38c4a12f274c7cd8b2f5b2b667b3b53f146400fd7148ec9b6"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackChannelAdapter::send (cyclomatic 16): SlackChannelAdapter::send 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":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac29b817cf841324af0d892b1ee71ffa0648c1803ce5bbb20f95abece645a9b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Reconciler::resolve_pending (cyclomatic 16): Reconciler::resolve_pending 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":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a24fa20038f6a8eef9b73e945575de36dfa8c133b35da8b07762a4c5c9d9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_slack_extension::payload::normalize_slack_event (cyclomatic 16): ironclaw_slack_extension::payload::normalize_slack_event 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":"crates/extensions/packages/slack/src/payload.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b321087ad2baa8e5ffb4c8cfa640980cbf08dbd5684a458ddb7868dc0c15d1ed"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::json::dispatch (cyclomatic 16): ironclaw_host_runtime::first_party_tools::json::dispatch has cyclomatic complexity 16 (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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9004b4a28d647ddc188f0f25bafbee6030839ffba02f57996710904f1acb3f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_submit_at_edge (cyclomatic 16): ProcessJournalMaterializedState::apply_submit_at_edge 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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ac805691e409914b0c0b67ce5c0a91ff57de371bd06e7f384dd7f5856af060"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_control (cyclomatic 16): ProcessJournalMaterializedState::apply_control 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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f73d2cb415d0a8e8a7ed26abeeb397e14f6430d9c50c81f0f7715d435c38238"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicateEvaluator::evaluate_at (cyclomatic 16): PredicateEvaluator::evaluate_at 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":"crates/loop/ironclaw_hooks/src/evaluator.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"40942f0d4c3c8b7057afa45b8c073e5da0439e71cea47048e2766490165558ef"}},{"ruleId":"D1","level":"warning","message":{"text":"HookManifestEntry::validate (cyclomatic 16): HookManifestEntry::validate 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":"crates/loop/ironclaw_hooks/src/manifest.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cda1ef64e037f990c3430899a85a8ebb8ccbf7b0b0283b18c00201c4482844"}},{"ruleId":"D1","level":"warning","message":{"text":"HookedLoopCapabilityPort::invoke_capability_batch (cyclomatic 16): HookedLoopCapabilityPort::invoke_capability_batch 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":"crates/loop/ironclaw_hooks/src/middleware/capability_port.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07a14950347de784fd5c56238b5b5eec0083adb517a375642a342d8bb815636"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::capability_port::provider_input::normalize_provider_value (cyclomatic 16): ironclaw_loop_host::capability_port::provider_input::normalize_provider_value 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":"crates/loop/ironclaw_loop_host/src/capability_port/provider_input.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba439757d82f9ef0b1ca591addae43f65577752d3065c01e556edac92e62e0d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_loop_host::capability_surface_filter::invoke_filtered_batch (cyclomatic 16): ironclaw_loop_host::capability_surface_filter::invoke_filtered_batch 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":"crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c45223892fe8a0a56097aab7354ef1679c99839925644387a99c29f7c319384"}},{"ruleId":"D1","level":"warning","message":{"text":"RunDeliveryObserver::notification_for_actionable_state (cyclomatic 16): RunDeliveryObserver::notification_for_actionable_state has cyclomatic complexity 16 (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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87abf65d0808282ed64a0eb90e14ad7ad302f2f9f0567da3f3e882ae616f58"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::kernel_ports::enrich_attention (cyclomatic 16): ironclaw_assistant::delivery_coordinator::publication::kernel_ports::enrich_attention 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/kernel_ports.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ace4f3b30bb4446b43597f06600647784c0fc4eec566889fc357705e479cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_assistant::reborn_services::open_product_surface_event_subscription (cyclomatic 16): ironclaw_assistant::reborn_services::open_product_surface_event_subscription has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: RebornServices::query (cyclomatic 50) 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":5654}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eae3f416b8772f5b77ab4cd783856e00109d2cefa486af55e85a7295bf5b36"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_openai_compat::streaming::chat_sse_stream (cyclomatic 16): ironclaw_openai_compat::streaming::chat_sse_stream has cyclomatic complexity 16 (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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b814adf86cb5d77047cac445c6b0f7bb877dc179fd9a559cc191a30309867b"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_documents::docx::parse_paragraphs (cyclomatic 16): ironclaw_documents::docx::parse_paragraphs 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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7650805a35bfed7e6be656a3a0da9d2518a50ffd908d5632135efe40b507d6"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryBackend::query_ordered (cyclomatic 16): InMemoryBackend::query_ordered 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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0ead64cd791f4e7c5a01c817c8118fdac957ceeb9a94fbd4cabd98a8623bf"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresRootFilesystem::ensure_index (cyclomatic 16): PostgresRootFilesystem::ensure_index 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"174384a79dbacc7b5e973595a7e90b0bf9863c2ba9937391e51f042fd69b07fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ironclaw_safety::display_redaction::sanitize_display_text (cyclomatic 16): ironclaw_safety::display_redaction::sanitize_display_text 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":"crates/substrates/ironclaw_safety/src/display_redaction.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9700f688193f88240fefedd2f3fd9dbee473eea413aec9bdc9b613e4183142"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptedDriver::op_for_request (cyclomatic 16): ScriptedDriver::op_for_request has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4791f83c2cc867429c26da8fc69f154e901deeec0aa789c07f2a6a3d5680106"}},{"ruleId":"D1","level":"warning","message":{"text":"ws12_workflow_contracts.validate_crate_scope_filters (cyclomatic 16): ws12_workflow_contracts.validate_crate_scope_filters 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":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb61c8e552e8ee3fd71ba5b7565b4af0a12205b00b725d7a29038a7f8ac20cc"}},{"ruleId":"D1","level":"warning","message":{"text":"import-reborn-run-artifact.trace_candidate (cyclomatic 16): import-reborn-run-artifact.trace_candidate 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/import-reborn-run-artifact.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f8e2e19469a8397c223ff92849439cedad2790074b7cadaf56e731ceeb7a36"}},{"ruleId":"D1","level":"warning","message":{"text":"notify_slack._format_reborn_metric_summary (cyclomatic 16): notify_slack._format_reborn_metric_summary 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"623499b44e5d85ef3c2f78011c0a405f95c1cfb70263452824fc92180e4a36da"}},{"ruleId":"D1","level":"warning","message":{"text":"auth_runtime.start_oauth_setup (cyclomatic 16): auth_runtime.start_oauth_setup 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/live_canary/auth_runtime.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ff785e8846b2d721b2858758384f6ee56e26855ee87fdaa9019c072a2e6dc5"}},{"ruleId":"D1","level":"warning","message":{"text":"google_api_helpers._create_google_spreadsheet_fixture (cyclomatic 16): google_api_helpers._create_google_spreadsheet_fixture 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":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"288c277236800a1549b2d1a146534900df4faa6341a6b611f930633c7cb6d121"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa._slack_delivery_channel_id (cyclomatic 16): run_live_qa._slack_delivery_channel_id 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c412352cd56d3253d506254330b160e16c650d21e2335e63cb363ee065c07"}},{"ruleId":"D1","level":"warning","message":{"text":"run_live_qa.case_qa_10f_slack_mention_encoding (cyclomatic 16): run_live_qa.case_qa_10f_slack_mention_encoding 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":8365}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b6c9691c327a87023d8d82044a861d733d1737bbbb12d04d157dfae187e32"}},{"ruleId":"D1","level":"warning","message":{"text":"run_benchmark.async_main (cyclomatic 16): run_benchmark.async_main has cyclomatic complexity 16 (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":"scripts/tool_discovery_benchmark/run_benchmark.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"85acf85bde317dcff826239cc746d8dbcbaf3f5b417af7f8560da7204aa6da1e"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.run_routine_probe (cyclomatic 16): _common.run_routine_probe 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":"scripts/workflow_canary/scenarios/_common.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"628e5e16a31f87e535e0dc43c32144564af71dbfa84b1927595e095c230606ff"}},{"ruleId":"D1","level":"warning","message":{"text":"check-source-conventions.moduleSpecifierForNode (cyclomatic 16): check-source-conventions.moduleSpecifierForNode has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/scripts/check-source-conventions.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cae18dcce0f3c52f82499a89b95330c93683d71015f445fa4f7756854dc48da"}},{"ruleId":"D1","level":"warning","message":{"text":"attachments.stageFiles (cyclomatic 16): attachments.stageFiles has cyclomatic complexity 16 (threshold 15). 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, 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/attachments.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5807a25c615961c3e8ab642db707cab9f8c8118526740d9a9998c20a464bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-threads.ThreadItem (cyclomatic 16): sidebar-threads.ThreadItem 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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c119ebd31a06f3f814e72f9ed4c9e1071caef72129dc30af73c625211bea9af"}},{"ruleId":"D1","level":"warning","message":{"text":"useChannelOnboarding.channelConnectionRequirementFromCard (cyclomatic 16): useChannelOnboarding.channelConnectionRequirementFromCard 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdcc1f5b54461163fd64831de738cc9200e25cf337a2b6e7fd62fca7b6a555d"}},{"ruleId":"D1","level":"warning","message":{"text":"gates.gateFromEvent (cyclomatic 16): gates.gateFromEvent has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/gates.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a42272d5a365069e02cc6adfaf75e6d92e3822b156e6be851f59219c94f93a"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatEvents.isObsoleteProjectionGate (cyclomatic 16): useChatEvents.isObsoleteProjectionGate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"09379ec9e1701d88388c238e4047a598afa12de7495aad1e52707d1b44b6d658"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector-panel.ToolDetailDisclosure (cyclomatic 16): inspector-panel.ToolDetailDisclosure has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ed4fbf3cbab15ae7e00c2e890cad3c3f464fb5809f6fcae6767b7eebad981"}},{"ruleId":"D1","level":"warning","message":{"text":"auth-device-link-card.AuthDeviceLinkCard (cyclomatic 16): auth-device-link-card.AuthDeviceLinkCard has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-device-link-card.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"772ce1ca28f27afe2c24811540f9d7cc28131bb0e8191d779b9105feac24dd95"}},{"ruleId":"D1","level":"warning","message":{"text":"useProviderManagementActions.useProviderManagementActions (cyclomatic 16): useProviderManagementActions.useProviderManagementActions has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 39, 59, 79, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderManagementActions.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"075879aa79fc2ac849f05da851aa4115047d72c378a5f029d7a4049b55970535"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-tree.TreeNode (cyclomatic 16): workspace-tree.TreeNode has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c58e116187fbc49f9aa7d8efd1c71e5c91d632f484c3473dd850e0c149a518a"}},{"ruleId":"D1","level":"warning","message":{"text":"project-filesystem-panel.ProjectFilesystemPanel (cyclomatic 16): project-filesystem-panel.ProjectFilesystemPanel has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1335674b8aaee7f329e2e3ed22ad6d8aee05614417704aa217b5e72773f4af40"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-card.RegistryCard (cyclomatic 16): extension-card.RegistryCard has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35b65f0ba68774f373f32e7c85186b23ef73b079ab47a53434c84f8a3b5f89e"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatEvents.applyProjectionItems (cognitive 213): useChatEvents.applyProjectionItems has cognitive complexity 213 (threshold 15). Drivers by points: if/else 42 (121 pts), ternaries 14 (50 pts), boolean chains 40, loops 2 (nesting depth added 115). Of this number, 138 points are the body\u0027s own statements and 75 belong to 9 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"849e608605659259bc4d0d9bdef4b64febc87004b3957cb27b23101eca11011b"}},{"ruleId":"D2","level":"warning","message":{"text":"useChat.useChat (cognitive 196): useChat.useChat has cognitive complexity 196 (threshold 15). Drivers by points: if/else 87 (111 pts), boolean chains 53, ternaries 20 (24 pts), error handling 6 (8 pts) (nesting depth added 30). Most of this is not in the body itself: 4 of the 196 points are its own statements and the rest belongs to 38 function literals inside it that branch (lines 539, 1063, 916, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ea802aa4febb1301b8efc4c9ff71c9aabdfe1b20c9d128d15b5940070b2bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::validate_args (cognitive 120): ironclaw_stress::validate_args has cognitive complexity 120 (threshold 15). Drivers by points: if/else 82 (96 pts), boolean chains 22, loops 1 (2 pts) (nesting depth added 15). 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f849df0323609d099f5e8daf5927a53a00b1e342aac054579ea77d0ac462c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemAuthProductServices::sweep_all_accounts (cognitive 114): FilesystemAuthProductServices::sweep_all_accounts has cognitive complexity 114 (threshold 15). Drivers by points: if/else 14 (65 pts), match/switch 8 (25 pts), loops 6 (24 pts) (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea240c7c01fbe09cb6f9a061b04bf0ea232824509299a8ef99de75a6167591d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::reasoning::find_code_regions (cognitive 107): ironclaw_llm::reasoning::find_code_regions has cognitive complexity 107 (threshold 15). Drivers by points: if/else 25 (64 pts), loops 11 (27 pts), boolean chains 16 (nesting depth added 55). 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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"331522faf7b2f4af6beb4653affea65ba298f88f3e4c38a6695c7aeeaf4d46e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::run_delivery::triggered::notify_background_run (cognitive 107): ironclaw_assistant::run_delivery::triggered::notify_background_run has cognitive complexity 107 (threshold 15). Drivers by points: if/else 38 (80 pts), match/switch 5 (13 pts), boolean chains 10, loops 2 (4 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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c38494c2981255a8575525c7190eb82b1246f762fa82c26cffa234a9d0d399"}},{"ruleId":"D2","level":"warning","message":{"text":"useChannelOnboarding.useChannelOnboarding (cognitive 107): useChannelOnboarding.useChannelOnboarding has cognitive complexity 107 (threshold 15). Drivers by points: if/else 50 (65 pts), boolean chains 32, ternaries 9, error handling 1 (nesting depth added 15). Most of this is not in the body itself: 0 of the 107 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 511, 353, 281, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0e3d64e4a93982e4d1c46071f4d6382ec3192c32542b9dc25e2c6329cfcc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityStage::process (cognitive 106): CapabilityStage::process has cognitive complexity 106 (threshold 15). Drivers by points: if/else 32 (48 pts), match/switch 20 (35 pts), loops 9 (12 pts), boolean chains 11 (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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4a62914c6ea4935baa3359b67422a61ac3bbc6d149b488d44d96b62023efb4"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._wait_for_assistant_reply (cognitive 105): run_live_qa._wait_for_assistant_reply has cognitive complexity 105 (threshold 15). Drivers by points: if/else 19 (66 pts), error handling 5 (19 pts), ternaries 3 (9 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 70). 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4d60823f1da6c80c3bbcb096eaef17d7049b99dffa0d620fb9a0b8a868d76d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-input.ChatInput (cognitive 104): chat-input.ChatInput has cognitive complexity 104 (threshold 15). Drivers by points: if/else 39 (46 pts), boolean chains 41, ternaries 14 (16 pts), error handling 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 74 belong to 21 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c64374da5215fdcb30295f76b8c69f8f6479b10810db7c300902ed0d7725c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornConfigFile::validate (cognitive 99): RebornConfigFile::validate has cognitive complexity 99 (threshold 15). Drivers by points: if/else 50 (78 pts), loops 7 (15 pts), boolean chains 6 (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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bcbae336df71fb255b2c56981082b8b3e4fe38830fb9fe8ae7c56e16c78932"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::worker::run_target (cognitive 97): ironclaw_assistant::delivery_coordinator::publication::worker::run_target has cognitive complexity 97 (threshold 15). Drivers by points: if/else 23 (60 pts), match/switch 11 (31 pts), boolean chains 5, loops 1 (nesting depth added 57). 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d0331139c94f76b841ec2bcc67326e4cecf228f432122b2920662699e469e1"}},{"ruleId":"D2","level":"warning","message":{"text":"RunDeliveryObserver::deliver_final_reply (cognitive 92): RunDeliveryObserver::deliver_final_reply has cognitive complexity 92 (threshold 15). Drivers by points: if/else 30 (68 pts), boolean chains 11, loops 3 (8 pts), match/switch 3 (5 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee30dacbcbfced9cca442b5b073a2169eff20fd8ce18f00b5163cd6319ed95d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::apply_preset (cognitive 92): ironclaw_stress::apply_preset has cognitive complexity 92 (threshold 15). Drivers by points: if/else 81 (91 pts), match/switch 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee69994923c394fa75313253bee87253568da4f27493cf97c362893a664b636"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::to_gemini_request (cognitive 89): GeminiOauthProvider::to_gemini_request has cognitive complexity 89 (threshold 15). Drivers by points: if/else 34 (59 pts), boolean chains 17, loops 4 (9 pts), match/switch 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d89b25a3ebf5f352b81cbbba26f54b06175a94e77897b07c7f8f99f27d534"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa.run_cases (cognitive 87): run_live_qa.run_cases has cognitive complexity 87 (threshold 15). Drivers by points: if/else 19 (44 pts), boolean chains 18, ternaries 7 (17 pts), loops 3 (5 pts), error handling 1 (3 pts) (nesting depth added 39). 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":9337}}}],"partialFingerprints":{"codehealthFindingId/v1":"003b9dab92c6c87dd6ed41a252d6cc9bec4f9008246070e09a24225687403e70"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::rig_adapter::convert_messages (cognitive 86): ironclaw_llm::rig_adapter::convert_messages has cognitive complexity 86 (threshold 15). Drivers by points: if/else 24 (69 pts), loops 3 (9 pts), match/switch 3 (8 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb254fda45399e6156aa594a331cd14e5ffabd4b9e623cb4c3ee4ec511e253a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::sweep::build_cases (cognitive 86): ironclaw_stress::sweep::build_cases has cognitive complexity 86 (threshold 15). Drivers by points: loops 11 (66 pts), if/else 20 (nesting depth added 55). 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":"tools/ironclaw_stress/src/sweep.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"135342de88be36254e9eb71b01aacec864b1348904d63ef4ef95c547db1be99c"}},{"ruleId":"D2","level":"warning","message":{"text":"critical_mutation_gate.main (cognitive 84): critical_mutation_gate.main has cognitive complexity 84 (threshold 15). Drivers by points: if/else 28 (55 pts), ternaries 6 (11 pts), boolean chains 9, loops 4 (6 pts), error handling 2 (3 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":"scripts/ci/critical_mutation_gate.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b11cd3ffde5de55842fe0057f748a0815ee46b4c1dc55725103b5d4f4603b20"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_changed_coverage.main (cognitive 82): reborn_changed_coverage.main has cognitive complexity 82 (threshold 15). Drivers by points: if/else 35 (56 pts), boolean chains 10, loops 5 (9 pts), ternaries 4 (6 pts), error handling 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":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9dc2474f858ab73267d1b521f449d08c3107943713199232daa694d7ee14bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::openai_codex_provider::parse_sse_response (cognitive 80): ironclaw_llm::openai_codex_provider::parse_sse_response has cognitive complexity 80 (threshold 15). Drivers by points: if/else 27 (70 pts), match/switch 3 (6 pts), boolean chains 2, loops 2 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"97984b2052f7cabd09b71db1a7a52dee1c403620eac66f59bf47fd16906c81d3"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_changed_coverage.rust_lexical_structure (cognitive 80): reborn_changed_coverage.rust_lexical_structure has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (48 pts), loops 5 (13 pts), boolean chains 11, ternaries 3 (8 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into 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/ci/reborn_changed_coverage.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"38adfbe745c1a782a0f881bcb88092621d0cda22b2e5854f375e8f3a03bd9ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"check-regression-promotions.validate (cognitive 79): check-regression-promotions.validate has cognitive complexity 79 (threshold 15). Drivers by points: if/else 36 (50 pts), boolean chains 13, loops 10, error handling 2 (5 pts), ternaries 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":"scripts/ci/check-regression-promotions.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1194d8d174d05be878218646c37d7669b7db59940db90ec374d26e0e871b324a"}},{"ruleId":"D2","level":"warning","message":{"text":"message-bubble.MessageBubbleImpl (cognitive 78): message-bubble.MessageBubbleImpl has cognitive complexity 78 (threshold 15). Drivers by points: boolean chains 42, ternaries 18 (26 pts), if/else 7, error handling 3 (nesting depth added 8). Of this number, 61 points are the body\u0027s own statements and 17 belong to 5 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"06517eb84f3b3c624b28f3c9cd42a6dc65a615f8461fc47b40d9d95440487657"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::aggregate_cloud_code_sse (cognitive 77): GeminiOauthProvider::aggregate_cloud_code_sse has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (55 pts), loops 4 (11 pts), boolean chains 7, match/switch 2 (4 pts) (nesting depth added 41). 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1d6b19f881013447da3c8d887097a64883d3bf08ecab5fc8945e7a128eb7a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ws12_workflow_contracts.validate_libsql_scripted_memory_job (cognitive 77): ws12_workflow_contracts.validate_libsql_scripted_memory_job has cognitive complexity 77 (threshold 15). Drivers by points: if/else 46 (63 pts), loops 5 (7 pts), boolean chains 5, ternaries 1 (2 pts) (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":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56b9af6cad1dddd4e49224759f0911d76a2128cb03c85673e7de9702679d69"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._wait_for_slack_delivery_marker (cognitive 77): run_live_qa._wait_for_slack_delivery_marker has cognitive complexity 77 (threshold 15). Drivers by points: if/else 14 (47 pts), boolean chains 12, error handling 2 (10 pts), loops 3 (8 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb79723b7afc124995d328198c2ffd7f88141732aba6f1ae88df5aeb6c76ab20"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_delivery_routine_case (cognitive 77): run_live_qa._slack_delivery_routine_case has cognitive complexity 77 (threshold 15). Drivers by points: if/else 29 (53 pts), boolean chains 15, error handling 3 (5 pts), loops 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e17729dad679e569380c8f9ba684e260c8798cad306f02161f25cd2b7edbd5"}},{"ruleId":"D2","level":"warning","message":{"text":"configure-modal.ConfigureModal (cognitive 70): configure-modal.ConfigureModal has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 34, if/else 18 (20 pts), ternaries 8 (15 pts), loops 1 (nesting depth added 9). Of this number, 33 points are the body\u0027s own statements and 37 belong to 11 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b268878196ac52753e46875ce9d0952dc7ee5857e382ec346a5c8a0ea44c752"}},{"ruleId":"D2","level":"warning","message":{"text":"NearAiChatProvider::send_streaming_request_inner (cognitive 69): NearAiChatProvider::send_streaming_request_inner has cognitive complexity 69 (threshold 15). Drivers by points: if/else 20 (57 pts), loops 4 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de5f83800e290517da021d82fd66a11366423cd34de6fa7769330fb9e157d28"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::runtime::build_runtime_with_resource_governor (cognitive 67): ironclaw_composition::runtime::build_runtime_with_resource_governor has cognitive complexity 67 (threshold 15). Drivers by points: if/else 38 (43 pts), match/switch 16 (21 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). 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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10de9a2832bf2b1f6063ecb4e00796ad7c76ca4a156baa43a732e379de0236"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopRuntimeContext::render_model_content (cognitive 64): LoopRuntimeContext::render_model_content has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (50 pts), loops 2 (6 pts), match/switch 3 (5 pts), boolean chains 3 (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":"crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"128ff2bfaff22cc3aa388a697bcf6afd94e54b8b638c97f93192a7deccedbd3d"}},{"ruleId":"D2","level":"warning","message":{"text":"useHistory.useHistory (cognitive 64): useHistory.useHistory has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 36, if/else 15 (17 pts), ternaries 8 (10 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 15 of the 64 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 123, 218, 322, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e13e96ceefc657727d80920f62a8043cfcc9c5b734add44fdfcd2f1c4b1941"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.Chat (cognitive 64): chat.Chat has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 34, if/else 18 (19 pts), ternaries 7 (10 pts), error handling 1 (nesting depth added 4). Of this number, 34 points are the body\u0027s own statements and 30 belong to 11 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"69644feeb4886b3774f345f890fe5a21c10d368dce6fedbec77edfa77458e444"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_webui::webui_v2::handlers::build_sse_stream (cognitive 63): ironclaw_webui::webui_v2::handlers::build_sse_stream has cognitive complexity 63 (threshold 15). Drivers by points: if/else 8 (29 pts), match/switch 7 (21 pts), loops 4 (13 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4238a0a76ec05c69144566b8f12d62ff0d3d4719ce301002091f12385224a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._current_turn_capability_evidence (cognitive 63): run_live_qa._current_turn_capability_evidence has cognitive complexity 63 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 13, error handling 6 (11 pts), ternaries 5 (10 pts), loops 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdbe4a5fe939f00c5d2122b0b0fe8dfa9cbcb0b5bd5f4d0910bedad6fc45c86"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_registry::v3::parse_v3 (cognitive 62): ironclaw_extension_registry::v3::parse_v3 has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (46 pts), boolean chains 7, match/switch 3 (5 pts), loops 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e3fa62447444a4da9e98db612f239c52c6ce99657719777d85ab8e0761d601"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelConfigService::save (cognitive 60): ChannelConfigService::save has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (47 pts), loops 4 (9 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 37). 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":"crates/extensions/ironclaw_extension_host/src/channel_config.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8609c5a98fbc1c6d4a1b7d37fefcb378bbc81a9a86b8787ce3a096f4a062da88"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::projection::display_preview::input_summary (cognitive 60): ironclaw_assistant::projection::display_preview::input_summary has cognitive complexity 60 (threshold 15). Drivers by points: if/else 43 (55 pts), boolean chains 5 (nesting depth added 12). 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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c49bae42d5a742570cbe5076099b825cd3081e8dec0a53c5e3071a2fa9ed32"}},{"ruleId":"D2","level":"warning","message":{"text":"select-menu.SelectMenu (cognitive 59): select-menu.SelectMenu has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 23, if/else 20 (22 pts), ternaries 11 (14 pts) (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 37 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9984a867284aa1e7d8e3268240eb2a1420d1da5bf8aa4a7fc998df46fa269f"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::complete_model_request (cognitive 57): ironclaw_loop_host::model_gateway::complete_model_request has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (39 pts), match/switch 6 (18 pts) (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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518881c070c8f02639cac5b611841961c7bd0b445c0fd6588dc5f93b0b5c31e"}},{"ruleId":"D2","level":"warning","message":{"text":"model-selection-policy-editor.ModelSelectionPolicyEditor (cognitive 57): model-selection-policy-editor.ModelSelectionPolicyEditor has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 24, if/else 13 (16 pts), ternaries 12 (15 pts), error handling 2 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 41 belong to 10 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1529150591fa1f85b556f4391ba78407d209cbf402261502c9d4ddc6ebd3530"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultExecutorPipeline::execute (cognitive 56): DefaultExecutorPipeline::execute has cognitive complexity 56 (threshold 15). Drivers by points: match/switch 16 (44 pts), if/else 3 (11 pts), loops 1 (nesting depth added 36). 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":"crates/loop/ironclaw_agent_loop/src/executor/canonical.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"081fafc685fef695d9d40d32b5d4b1a86940407e45c9f256cc45c5b15cf60e50"}},{"ruleId":"D2","level":"warning","message":{"text":"inspector-activity.reduceInspectorActivity (cognitive 56): inspector-activity.reduceInspectorActivity has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 10 (17 pts), boolean chains 9, loops 3 (4 pts) (nesting depth added 17). Of this number, 29 points are the body\u0027s own statements and 27 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-activity.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa24b84fe6f34995b7c10c47d22ffa429267e4ae6d81848d6cfd0ddb4d8203e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::agent_message::validate_agent_messages (cognitive 54): ironclaw_llm::agent_message::validate_agent_messages has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 3 (8 pts), match/switch 2 (7 pts), boolean chains 1 (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":"crates/domains/ironclaw_llm/src/agent_message.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb07d6dd63dd78264cd3a373a452d5a5f7c2f97d3d592825e5bebca87fbe5689"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemAuthProductServices::cleanup_for_lifecycle (cognitive 53): FilesystemAuthProductServices::cleanup_for_lifecycle has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 2 (7 pts), boolean chains 6, loops 3 (6 pts) (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":"crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca70064bba3c613b4304bf1d74fdd6ab773c1686e5ac3dc0815af44b9f865f1"}},{"ruleId":"D2","level":"warning","message":{"text":"google_docs_tool::api::extract_text_from_elements (cognitive 53): google_docs_tool::api::extract_text_from_elements has cognitive complexity 53 (threshold 15). Drivers by points: if/else 10 (38 pts), loops 4 (15 pts) (nesting depth added 39). 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d8134684e70a8e25ed53f9fb05d945aaecb943f061df80a1ff1b5808a179f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DeliveryCoordinator::drive_prepared (cognitive 53): DeliveryCoordinator::drive_prepared has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 4 (9 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dbbdfa1021a1a5dc077df1c89ea443bd79f82bb68e539f162cb250d8706e30"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelDescriptor::validate (cognitive 52): ChannelDescriptor::validate has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 10, loops 5 (8 pts), match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/channel.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6716a13d6f2aee9cc111ce80a096062e0c8c702eaaf237ded491c492324bf899"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelStage::process (cognitive 52): ModelStage::process has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (26 pts), match/switch 12 (23 pts), boolean chains 2, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c103c29295a33fd4a6dd2e741d78a7ff58818532efd571c2d512ed79d34600"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.slack_payload (cognitive 52): notify_slack.slack_payload has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 10, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"348027a40fb2280d1a8f069723d61599d1eafd15e8089e68e1c92fbf6f00e8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"useExtensions.useOauthSetup (cognitive 52): useExtensions.useOauthSetup has cognitive complexity 52 (threshold 15). Drivers by points: if/else 31 (36 pts), boolean chains 15, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 0 of the 52 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 514, 681, 600, \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0a33e55c23ce812206ed84ba1b84061468c94c5b0f8cc5a857331eb2618bda"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialManager::perform_oauth_login (cognitive 51): CredentialManager::perform_oauth_login has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (32 pts), match/switch 5 (14 pts), loops 1 (3 pts), boolean chains 2 (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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a55dd1706837a041936b4ec449434a461608bbde5e964d5ad69000757a2243"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornProductAuthServices::handle_oauth_callback_with_optional_provider_identity_check (cognitive 50): RebornProductAuthServices::handle_oauth_callback_with_optional_provider_identity_check has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (38 pts), match/switch 5 (12 pts) (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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41b77db1dc96260ca847a8e26063fef175f2839b121c64a8e7acb3259e7c674"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_webui::webui_v2::handlers::ws_drain_loop (cognitive 50): ironclaw_webui::webui_v2::handlers::ws_drain_loop has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (28 pts), match/switch 7 (18 pts), loops 2 (4 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d80869b9effb465c2d23baa745c44c1b70e5cf22b310f4662142bb16d168fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::html_pdf::parse_blocks (cognitive 50): ironclaw_documents::html_pdf::parse_blocks has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (40 pts), match/switch 2 (8 pts), boolean chains 1, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/html_pdf.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f216be427440062f93dfca39054d48943093627a544eabb3d0b515a1dd4945"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-card.ProviderCard (cognitive 50): provider-card.ProviderCard has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 20 (26 pts), boolean chains 24 (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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"747ba5f755352d39531d1ad2904a6cff4ce415837055225dd5e6064bd0583ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_sandbox::sandbox_process::user_container::sweep_idle_user_containers (cognitive 49): ironclaw_sandbox::sandbox_process::user_container::sweep_idle_user_containers has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (39 pts), boolean chains 5, match/switch 2 (4 pts), loops 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c611df8c40e0e19ca5b9f12143fa92f2692767ce3ae48bfbaf3b28fb8dfb81"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_openai_compat::streaming::response_sse_stream (cognitive 49): ironclaw_openai_compat::streaming::response_sse_stream has cognitive complexity 49 (threshold 15). Drivers by points: match/switch 6 (23 pts), if/else 4 (17 pts), loops 3 (9 pts) (nesting depth added 36). 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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d632085a1da705fa078e0a41143e0ed1d1d5b8908b8b12fd1e20e737732a1be9"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityStage::handle_capability_error (cognitive 48): CapabilityStage::handle_capability_error has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (31 pts), match/switch 5 (14 pts), boolean chains 2, loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab94f2c7bc800a756f5d1a89b7fc3a8c443b1df52ac15dceffd334f8ab6c820"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::xlsx::set_cell_formula (cognitive 48): ironclaw_documents::xlsx::set_cell_formula has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 6, match/switch 3 (5 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":"crates/substrates/ironclaw_documents/src/xlsx.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11bec8096df2cf6f275d0cd8179f698a4c289b74c0b04c87c1c56a4125e4f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"critical_mutation_gate.load_manifest (cognitive 48): critical_mutation_gate.load_manifest has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 9, loops 2 (3 pts), ternaries 1 (3 pts) (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":"scripts/ci/critical_mutation_gate.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec68011743906a48d10aeff84391e66307cdc0ed735da94335d8089b431cbb65"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.parse_reborn_qa_case_reports (cognitive 48): notify_slack.parse_reborn_qa_case_reports has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 10, error handling 3 (6 pts), loops 2 (3 pts), 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f407d433a904a0ba98b3f759a93ee4ab6a61a12f1dd488d0af0cb4285b0fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"slack_helpers._slack_personal_auth_preflight (cognitive 48): slack_helpers._slack_personal_auth_preflight has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 6 (12 pts), boolean chains 9, error handling 3 (6 pts), loops 1 (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":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b482167d5ee61131c46c67cb1ee39ab6be16727d8165eba9d7d84ff300084"}},{"ruleId":"D2","level":"warning","message":{"text":"device-link-panel.DeviceLinkPanel (cognitive 48): device-link-panel.DeviceLinkPanel has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 17, ternaries 3 (4 pts), error handling 3 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 29 belong to 10 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"331fbdada04e30ce877e11cff6d7b8f5b27f2758d6bc47a96b67c8a2a39bd8e0"}},{"ruleId":"D2","level":"warning","message":{"text":"useSSE.useSSE (cognitive 48): useSSE.useSSE has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 25, if/else 22, ternaries 1. Most of this is not in the body itself: 0 of the 48 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 131, 374, 203, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d8602606175abc96c423792032a0676c13b82b27175e098a25c234972e0cf"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemInboundBatchStore::stage (cognitive 47): FilesystemInboundBatchStore::stage has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (39 pts), match/switch 2 (5 pts), boolean chains 3 (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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c681f440b7d2b079aa84b1494a90d45c6b348888d0aee59eb09a4232d190262f"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::auth_resume_json (cognitive 47): CapabilityHost::auth_resume_json has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (36 pts), match/switch 5 (11 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":"crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"69078e8e1d1b869597947fc2aeef69e6c4d49d715d749415f78e3995aa1c06c6"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list.MessageList (cognitive 47): message-list.MessageList has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (30 pts), boolean chains 12, ternaries 3 (4 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 47 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 211, 315, 270, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d745c73a295b893382b8ba7982e074b3f8d5cfddc0aaf5c06fac6cbc41ea77be"}},{"ruleId":"D2","level":"warning","message":{"text":"check-target-tree.parse_tree (cognitive 46): check-target-tree.parse_tree has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (35 pts), ternaries 3 (9 pts), boolean chains 1, loops 1 (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":"scripts/ci/check-target-tree.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f07e2d5b35dedcbac35272c04c8a67d43827e9d5a7712977e17f08ea3b086c"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_changed_coverage.load_manifest (cognitive 46): reborn_changed_coverage.load_manifest has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 5 (8 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d97878816890169de16a7231467fd382df59d56fcf24aab677f530160819788"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.main (cognitive 45): notify_slack.main has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 9, error handling 3 (7 pts), loops 2 (3 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b58b9faff3b7f130455edd15161360b91b93ebed88c3ec1c630cd660be4819"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_membership_view (cognitive 45): run_live_qa._slack_membership_view has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 12, loops 4 (6 pts) (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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d710a3bb0fc0a6f33a5fe18c399823329d2a761dd5b7d2c8ce14e91f382b5bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatEvents.useChatEvents (cognitive 45): useChatEvents.useChatEvents has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 22, if/else 11 (19 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 88, 148). 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b2f7ea7d8b7999dcebd98441f9fb276f90221f6901ba03aaa27a60181cd1df"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.parse_results_json (cognitive 44): notify_slack.parse_results_json has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (6 pts), boolean chains 4, error handling 1 (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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85fc3419f903331dc7376df686ebcdffa3959b43921f5eb5cf765bce10870b7"}},{"ruleId":"D2","level":"warning","message":{"text":"logs-page.LogsPage (cognitive 44): logs-page.LogsPage has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 15 (30 pts), boolean chains 13, if/else 1 (nesting depth added 15). Of this number, 41 points are the body\u0027s own statements and 3 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":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6ff11ff6365455f23f715da2989246b4b3c20f2e5a0bbdf153464d635b9596"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadBackedLoopModelPort::resolve_model_messages (cognitive 43): ThreadBackedLoopModelPort::resolve_model_messages has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (37 pts), loops 3 (4 pts), boolean chains 2 (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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbbf740660048ffc5e8b83ab2d8f458899928b63c5eab366de963975dc6207a"}},{"ruleId":"D2","level":"warning","message":{"text":"check-reborn-branch-coverage-flags.main (cognitive 43): check-reborn-branch-coverage-flags.main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 4, loops 2 (3 pts) (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":"scripts/ci/check-reborn-branch-coverage-flags.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9bc588ee6c0aa29e5e5478f44e261845dc8f6ae85ba1e3a13d136fb371cc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_correctness_chat_reply (cognitive 43): run_live_qa._slack_correctness_chat_reply has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 11, ternaries 3 (6 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292da68fab72a9b7336d228ea2e5bac6fa0bb545a5b4efdd88f6419146468fb"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-tree.WorkspaceTree (cognitive 43): workspace-tree.WorkspaceTree has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 7, ternaries 4 (7 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 375, 336, 433, \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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1b8c8ce839bf19760a3740061ebddff6dfe458592a2b6a7f4a00a998b66f17"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryAuthProductServices::cleanup_for_lifecycle (cognitive 42): InMemoryAuthProductServices::cleanup_for_lifecycle has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 8, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ec47a55e7ed7542a73b32e9a3832b65593492c692a0f976f1d2f48a056d2df"}},{"ruleId":"D2","level":"warning","message":{"text":"useExtensions.useExtensions (cognitive 42): useExtensions.useExtensions has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 25, if/else 13 (16 pts), ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 42 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 225, 263, 277, \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307f61a895ac4095f88b2f6471e91751456b3b73761da5fecd0d95c3e887aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"settings-field.SettingsField (cognitive 42): settings-field.SettingsField has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 12 (26 pts), if/else 7 (9 pts), boolean chains 7 (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 15 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f2a7800b7ec68058dd20f8ef9353a1c31510c420a6b6842edf7c60f0b92223"}},{"ruleId":"D2","level":"warning","message":{"text":"ServeCommand::execute (cognitive 41): ServeCommand::execute has cognitive complexity 41 (threshold 15). Drivers by points: if/else 36 (37 pts), match/switch 2, boolean chains 1, loops 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":"crates/app/ironclaw_cli/src/commands/serve.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f01863dcebd656e4285edd52539e407ad08bc2ad7aa9f4ce2a6107b25038e"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::send_request (cognitive 41): GeminiOauthProvider::send_request has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (37 pts), loops 2 (3 pts), boolean chains 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd94dfc19770717d9000a3ba47829915ab9dfcdb130290095b4fb7cf593c029"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::tool_schema::normalize_schema_recursive (cognitive 41): ironclaw_llm::tool_schema::normalize_schema_recursive has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 5 (10 pts), boolean chains 4, match/switch 2 (3 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":"crates/domains/ironclaw_llm/src/tool_schema.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafb78ba5d7a2e77e17a6cb4ef70b8889ffff71682fe728959176358bbc386c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::anthropic_oauth::convert_messages (cognitive 41): ironclaw_llm::anthropic_oauth::convert_messages has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 4 (12 pts), loops 2 (5 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf905b32fd4c101cb4ff8cc7d6cde0c4ac00659a4e4979d07fb928b57c570b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle (cognitive 41): ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 3, match/switch 1 (2 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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/zip_bundle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa1274ccaee58dba29ee5e6cd07478ac9eb17d3da2a92624b686c864955607"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessJournalStore::initialize_materialized (cognitive 41): ProcessJournalStore::initialize_materialized has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 4 (9 pts), loops 3 (8 pts) (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":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eb9dcc6bf54cd2e8ca6e925a20d4e2e08b0ae18347027f9057fbe24f37d7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductRuntimeProjectionStream::forward_subscription (cognitive 41): ProductRuntimeProjectionStream::forward_subscription has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (29 pts), match/switch 5 (10 pts), boolean chains 1, loops 1 (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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6c1849c4caf7452d302fa8787f0fb5ad08d93d8208f94f43eea70204cee805"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_changed_coverage.mechanically_uninstrumentable_lines (cognitive 41): reborn_changed_coverage.mechanically_uninstrumentable_lines has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 2, loops 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":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d5c11f084c7106b85d41b98c248a5caa0165000cfa902b70ef7328532b01e1"}},{"ruleId":"D2","level":"warning","message":{"text":"google_auth_helpers._google_runtime_access_token (cognitive 41): google_auth_helpers._google_runtime_access_token has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 16, error handling 2 (4 pts), ternaries 2 (3 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":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb93767eeeff3332d83671de8133b3c4fa3ce90cdc2c87a092fc913b0704bb2e"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicateEvaluator::evaluate_at (cognitive 40): PredicateEvaluator::evaluate_at has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 5 (12 pts) (nesting depth added 22). 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":"crates/loop/ironclaw_hooks/src/evaluator.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"275de39e11f798113fed99ed27404a90dafa947456b318791c74dc6d33d6d6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorLogBuffer::query (cognitive 40): OperatorLogBuffer::query has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 3 (6 pts), boolean chains 3, match/switch 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":"crates/product/ironclaw_operator/src/operator_logs.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ff05cea2b24df7f47b35498cb05023a4a7bfd17e65bc5ed3ae0bca6619dca"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance._reference_lines (cognitive 40): check-guidance._reference_lines has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 2 (3 pts), boolean chains 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":"scripts/ci/check-guidance.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed94727d5ab0dd324b4b0bceb42894a42fee85e8162029a90d57d12bc329e261"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack._markdown_reborn_case_lines (cognitive 40): notify_slack._markdown_reborn_case_lines has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 2 (6 pts), loops 3 (4 pts), boolean chains 3 (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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7065c067e2c1b37f4b47df641d1ef03c5412e889c8a70547077d2b64abebbdad"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-card.ExtensionCard (cognitive 40): extension-card.ExtensionCard has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 21, ternaries 9 (16 pts), if/else 3 (nesting depth added 7). 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c9c6e048438b3a2cd645abf547b4eb2800cc697d932010a4310641b80c047"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityDeclV2::from_raw (cognitive 39): CapabilityDeclV2::from_raw has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6, loops 4, match/switch 2 (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":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb9c880ff2fc7d353b110ebc21a48d8b24323490b8920a979d69aafe3ada12"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannelAdapter::send (cognitive 39): TelegramChannelAdapter::send has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 4 (12 pts), loops 3 (7 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":"crates/extensions/packages/telegram/src/channel.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea71f02fbc6f83f3325ae3163a7d3fdc9a0b166d04400e2ba976551ac148c73"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_openai_compat::streaming::chat_sse_stream (cognitive 39): ironclaw_openai_compat::streaming::chat_sse_stream has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 6 (23 pts), loops 3 (9 pts), if/else 2 (7 pts) (nesting depth added 28). 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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"65696b75a730ebb5a79d466749ca615ba5acc317e5158df85b57d15733c7d4f2"}},{"ruleId":"D2","level":"warning","message":{"text":"check-target-tree.compare (cognitive 39): check-target-tree.compare has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 2 (7 pts), loops 4, boolean chains 2 (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":"scripts/ci/check-target-tree.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a88bd12f4aa894948a2ce55e4561e308d28ff658fac2ef33ff737ebdec306d"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.github_comment_body (cognitive 39): notify_slack.github_comment_body has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff83d02ba9f5eb3b1b7f168931da24723bd3e8706280f119ceb49504ff8858e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::attachment_transfer::send_files (cognitive 38): ironclaw_slack_extension::attachment_transfer::send_files has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 10 (17 pts), loops 3 (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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a3d8b9eb6ae3dbf984f380646dadb3daad8f4cf238268d59c56288679b2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornLoopDriverHostFactory::build_text_only_host_with_capabilities (cognitive 38): RebornLoopDriverHostFactory::build_text_only_host_with_capabilities has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (27 pts), match/switch 7, boolean chains 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4212cd339de8685b2a4b8799ba54afa32888440a9b57cd39172661346281b89"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._apply_extension_setup_api_after_start (cognitive 38): run_live_qa._apply_extension_setup_api_after_start has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 8, ternaries 2 (4 pts), loops 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0806fd9ceff5de9124eecc32f98d0c1ac0abba4d803256dde1ca92c31488a29"}},{"ruleId":"D2","level":"warning","message":{"text":"user-detail.UserDetailView (cognitive 38): user-detail.UserDetailView has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 16, if/else 12, ternaries 4 (6 pts), error handling 3 (4 pts) (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 17 belong to 7 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c7918a2ba130ce2d20b7f083cc8d51eaf1daecddfb7055d5fc082566dcab3"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::egress::credential::apply_credential_injection (cognitive 37): ironclaw_host_runtime::egress::credential::apply_credential_injection has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (28 pts), match/switch 3 (5 pts), loops 1 (3 pts), boolean chains 1 (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":"crates/kernel/ironclaw_host_runtime/src/egress/credential.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af91853fbcb32ce3fbe6ea1c6b09a268ec26f8d7f34f2c9d5f06e0341dbe440"}},{"ruleId":"D2","level":"warning","message":{"text":"google_auth_helpers._google_product_auth_preflight (cognitive 37): google_auth_helpers._google_product_auth_preflight has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 10, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c49e916ee25ccf9baa21d56b6451f395d80cc7d2943e124647724aa948d145"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_personal_dm_counterpart_names (cognitive 37): run_live_qa._slack_personal_dm_counterpart_names has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 9, loops 3 (4 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d1dfa4b8a51dbad570870d79c2d49d6838e16b9eaf5442bf27addea1c3ab78"}},{"ruleId":"D2","level":"warning","message":{"text":"useInspector.useInspector (cognitive 37): useInspector.useInspector has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 9, ternaries 5 (nesting depth added 1). Most of this is not in the body itself: 0 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 249, 227, 194, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd78d3a34ce4c30f14052623b665dbd598a1cabc40666115595dffe94a160057"}},{"ruleId":"D2","level":"warning","message":{"text":"useLogs.useLogs (cognitive 37): useLogs.useLogs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 10, ternaries 5 (8 pts), error handling 2 (nesting depth added 6). Most of this is not in the body itself: 8 of the 37 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 187, 154, 230, \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":"crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba042c73119217ecd67d12af1f76b37d2c041bd917e1126ae5837b05e19333d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw::runtime::trigger_poller::trigger_poller_settings (cognitive 36): ironclaw::runtime::trigger_poller::trigger_poller_settings has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 3 (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":"crates/app/ironclaw_cli/src/runtime/trigger_poller.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef1cccc8ea3be2c1d20f19daab85963b224a13958c757e85db0b65ffd920b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::bedrock::convert_messages (cognitive 36): ironclaw_llm::bedrock::convert_messages has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (8 pts), match/switch 1 (2 pts), boolean chains 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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e8f199185078a83b1dcb97f1413d3a754ebbe4c6f5bc7f3957a355e23911cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::selector::extract_skill_mentions (cognitive 36): ironclaw_skills::selector::extract_skill_mentions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 23). 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":"crates/domains/ironclaw_skills/src/selector.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"000b1bdba0b412f23f821933a9dd4e82ee4bea7fed608d507c1b4d2ecceae59b"}},{"ruleId":"D2","level":"warning","message":{"text":"LibSqlTriggerRepository::run_migrations (cognitive 36): LibSqlTriggerRepository::run_migrations has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 8, loops 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c160da86828a240f00c474790153b3a1f340069b60b56ac6ae7b92a9222e439"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLifecycleManager::remove (cognitive 36): ExtensionLifecycleManager::remove has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 10, match/switch 1 (2 pts) (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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdec372cb26dc994824df5a98cc14fcc3a7c546aae1ed94f3d2da47c72fc98f"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::grep_tool::walk_files (cognitive 36): ironclaw_extension_support::coding::grep_tool::walk_files has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f11910673f37d8030620652b3a2d7dc85767d7906554b13381656763144ac"}},{"ruleId":"D2","level":"warning","message":{"text":"HostRuntimeLoopCapabilityPort::invoke_capability_dispatch (cognitive 36): HostRuntimeLoopCapabilityPort::invoke_capability_dispatch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (23 pts), match/switch 9 (11 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72df348a3f3e2c71124107881dd4af78e47da49abdbdc58f5fa6e2ae710d118"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentSpawnCapabilityPort::invoke_capability_batch (cognitive 36): SubagentSpawnCapabilityPort::invoke_capability_batch has cognitive complexity 36 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 7 (14 pts), loops 3 (4 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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"757b08b726b03ebe009a08aa0f45696ae1920eddf1d68e20b5e0d7f775035ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::convert_messages (cognitive 36): ironclaw_loop_host::model_gateway::convert_messages has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (4 pts), boolean chains 3, match/switch 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"338dd5c80aabb5db031efefee617b721282ef6947da4bf21b74a08f0411887af"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::docx::replace_paragraph_text (cognitive 36): ironclaw_documents::docx::replace_paragraph_text has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 5, match/switch 2 (3 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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b70e0961bf0389cf40639142827e7a59e50606dc467785d99b0c45bab8016d"}},{"ruleId":"D2","level":"warning","message":{"text":"changed_workspace_packages.classify_clippy_scope (cognitive 36): changed_workspace_packages.classify_clippy_scope has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, ternaries 4 (7 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":"scripts/ci/changed_workspace_packages.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb64a10b3495c8df0f2dcf60f4b762a51b8c1014db8e692c5ed6573086ecb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_surface_inventory._api_keywords (cognitive 36): audit_surface_inventory._api_keywords has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 17 (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":"scripts/reborn_qa_matrix/audit_surface_inventory.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee50997a454725585573819b330b40fe3abc36fc6cbf51c10bfaafa33ae1b96c"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::try_write_new_message_transactionally (cognitive 35): FilesystemSessionThreadService::try_write_new_message_transactionally has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 5 (15 pts), boolean chains 1, loops 1 (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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"651da5985e8e69664e220f8ccc4527ec9abaa906053c1e02025acbdec9866823"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::attachment_transfer::read_back_staged_upload (cognitive 35): ironclaw_slack_extension::attachment_transfer::read_back_staged_upload has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeea050a9548b6aa4ead94fae44e90384ccfe856b2f607e88220993de7fcf732"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptedDriver::op_for_request (cognitive 35): ScriptedDriver::op_for_request has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (9 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727b6a3348edbe9a3da7c0637c90a95dd372b9dd86bb1ca666b8e92266ae14a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa.parse_case_llm_trace_metrics (cognitive 35): run_live_qa.parse_case_llm_trace_metrics has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 6, boolean chains 4, error handling 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"03598b49cdf8adc57fb47f90b9a020c054c8042429fc67a04ccec41ec79d7916"}},{"ruleId":"D2","level":"warning","message":{"text":"pairing-web-code-panel.PairingWebCodePanel (cognitive 35): pairing-web-code-panel.PairingWebCodePanel has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 12, error handling 5, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 88, 152, 119, \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":"crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123ac21b25ca7832544a682eac2eae280dd71454301e55fe8314f484caa2d57"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::agent_message::chat_messages_from_agent_messages (cognitive 34): ironclaw_llm::agent_message::chat_messages_from_agent_messages has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 6 (17 pts), if/else 5 (13 pts), loops 3 (4 pts) (nesting depth added 20). 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":"crates/domains/ironclaw_llm/src/agent_message.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a2fb19b35bf1e03c7dc33d37d5551896cda482752dcd8e87f3e72d04836df"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::append_tool_result_reference (cognitive 34): FilesystemSessionThreadService::append_tool_result_reference has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 20). 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb92e82dba805a432d25e41d9513af3c5ba16016299ab43995f60e91dfbb27e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_host::recipes::unified_vendor_recipes (cognitive 34): ironclaw_extension_host::recipes::unified_vendor_recipes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 4 (17 pts), loops 3 (8 pts), match/switch 2 (7 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/recipes.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8c12b2be29de74c08ae0e78bbd17d026d0d725f13905486aaa4718d687b39"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::mrkdwn::render_slack_mrkdwn (cognitive 34): ironclaw_slack_extension::mrkdwn::render_slack_mrkdwn has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (8 pts), boolean chains 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":"crates/extensions/packages/slack/src/mrkdwn.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c63ba170103c8f0ef91beab61892026b7e4396e34666a09a6dd8c7b48affae8"}},{"ruleId":"D2","level":"warning","message":{"text":"HookDispatcher::dispatch_before_capability (cognitive 34): HookDispatcher::dispatch_before_capability has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (25 pts), match/switch 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32cb68a3ea13967d390aa410b79732ecbe431c729d781613d4d95053b286570"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_filesystem::cas::cas_update_loop (cognitive 34): ironclaw_filesystem::cas::cas_update_loop has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 5 (13 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/cas.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb3967ce6f6d749a33c62fd1ec6dc998e551d6aa686030e1947fe344296fb57"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakDetector::scan (cognitive 34): LeakDetector::scan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 5 (10 pts), boolean chains 4 (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":"crates/substrates/ironclaw_safety/src/leak_detector.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5afa54acefb27c1d2c22fcc4018865d4c5d8659fcf9d24d96caff346601dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"ws12_workflow_contracts.validate_crate_scope_filters (cognitive 34): ws12_workflow_contracts.validate_crate_scope_filters has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 3 (7 pts), loops 4 (7 pts), ternaries 1 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94e1f016eee9c7b3c2142eef09272e950bec95c94ba4fed70464074d32c8bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extractors::parse_xlsx_sheet (cognitive 33): ironclaw_extractors::parse_xlsx_sheet has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3df5eb59186c9a0c4adc2486c6a696e0b6f71f14ac93d43d9034b3965539e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_memory::service::bounded_search_excerpts (cognitive 33): ironclaw_memory::service::bounded_search_excerpts has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 5 (9 pts), boolean chains 6 (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":"crates/domains/ironclaw_memory/src/service.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b0c3ca97f88f5dd63c22115d71cea5e6cf83b2bd7df0e400177e90b91f47e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLifecycleManager::remove_locked (cognitive 33): ExtensionLifecycleManager::remove_locked has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (30 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e700460270152bddcb65fa7af2eec86b422b30e4c5bd98ca6867cf0037c1e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionHostLifecycleProductService::execute_action (cognitive 33): ExtensionHostLifecycleProductService::execute_action has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 2 (5 pts) (nesting depth added 17). 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":"crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8332ddc49d5b5bf61b23d36281a95d4038492fa5651a3cfab114c09ca7c928eb"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSkillBundleSource::list_skill_bundle_files (cognitive 33): FilesystemSkillBundleSource::list_skill_bundle_files has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 2 (5 pts), loops 2 (3 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":"crates/loop/ironclaw_loop_host/src/filesystem_skill_bundle_source.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bab581e6f072cb0aab285779c595dda732b0653907dc4c2f5e89931ec8fab8"}},{"ruleId":"D2","level":"warning","message":{"text":"LibSqlRootFilesystem::ensure_index (cognitive 33): LibSqlRootFilesystem::ensure_index has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 5, match/switch 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9985bc1291cff48418d4cbfa09f85d7b02fae661d7348890d8d9194e9a8e9742"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.extract_references (cognitive 33): check-guidance.extract_references has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (8 pts), boolean chains 5 (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":"scripts/ci/check-guidance.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f181ccd42c84f3e3a3a89fbb7740217f435ced252b6b5511c2432a14a74169"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.create_canary_issues (cognitive 33): notify_slack.create_canary_issues has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"816cf548f18d4ab629085011a221805b408ecfecfc2059b74b99fdc6658ab83a"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-mcp-registration-modal.CustomMcpRegistrationModal (cognitive 33): custom-mcp-registration-modal.CustomMcpRegistrationModal has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 16 (25 pts), boolean chains 5, if/else 3 (nesting depth added 9). Of this number, 28 points are the body\u0027s own statements and 5 belong to 4 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/custom-mcp-registration-modal.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"416159087961f689eefb82b84826ec1499b7f72f96f5a2701e0f3b61d6022c31"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::flusher::commit_pending (cognitive 32): ironclaw_processes::journal_store::flusher::commit_pending has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 7 (18 pts), loops 5 (8 pts), if/else 3 (6 pts) (nesting depth added 17). 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":"crates/kernel/ironclaw_processes/src/journal_store/flusher.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"38edc41203d060d4e9c03aa3e7067e044f5ead9d4c7442d1a623fd2f9d88d7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockedAuthResumeFanout::reconcile_stale_auth_notifications (cognitive 32): BlockedAuthResumeFanout::reconcile_stale_auth_notifications has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (4 pts), boolean chains 2, match/switch 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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9d6564224e4ae777642196603d06ef5a625b2e3ab8ce883664ca053c9b273f"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_coverage_lcov.aggregate (cognitive 32): reborn_coverage_lcov.aggregate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (18 pts), ternaries 2 (8 pts), boolean chains 4, error handling 1, loops 1 (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":"scripts/ci/lib/reborn_coverage_lcov.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"365f3b963f394861d517880292d100deaba5dfeced872784a80b86bc8401e0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa.prepare_reborn_home (cognitive 32): run_live_qa.prepare_reborn_home has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 9, ternaries 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6eedf2ce3b5ac8d5b3a30c1fe9ebd1c8bd5c5535d6a2028cd1f4f57abe87fa"}},{"ruleId":"D2","level":"warning","message":{"text":"useHistory.insertPreservedAtOriginalPositions (cognitive 32): useHistory.insertPreservedAtOriginalPositions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 5 (7 pts), boolean chains 5 (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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7d4c788f2703be60560c455919d16a7f965bc70ea9a276c5591baeb8b0d9c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexChatGptProvider::handle_sse_event (cognitive 31): CodexChatGptProvider::handle_sse_event has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 4, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"4019d91cd72110d61a36b750f4f1ac1893b44f0f6cc83ca6668d0999a02754c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::maintenance::compact_trace_queue_for_scope_unlocked (cognitive 31): ironclaw_trace_commons::contribution::maintenance::compact_trace_queue_for_scope_unlocked has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 6 (8 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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e1875fdc94c2c054ac3a9ea62734e891cbed5fb18aac569eb56a7a8737818"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackChannelAdapter::send (cognitive 31): SlackChannelAdapter::send has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (7 pts), match/switch 3 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80235addab02fc6102dd4eb55282e5dfed4b5249b53bd79197ce90b9e18d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::reply_sink::plan::plan_chunks (cognitive 31): ironclaw_slack_extension::reply_sink::plan::plan_chunks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/reply_sink/plan.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0811adec90139138c0083abb7d4b2af521e7ec6400ec95790969345bbcda8feb"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_authorization::obligations_for_grant (cognitive 31): ironclaw_authorization::obligations_for_grant has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 2 (6 pts), boolean chains 2, loops 1 (2 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":"crates/kernel/ironclaw_authorization/src/lib.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eebad101c65352d53bd9cfeba3dea75a942af2a126d6525f3d7e045c0ab804"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::json::parse_query_path (cognitive 31): ironclaw_host_runtime::first_party_tools::json::parse_query_path has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba0f09b8a51acf4d428b15dd71d8b8434b187ec386729f072a7597f59f9c520"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockedAuthResumeFanout::fan_out (cognitive 31): BlockedAuthResumeFanout::fan_out has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 2 (6 pts), boolean chains 2, loops 1 (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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86c252b7fb4d5d2f18afb0ba70c21dda6fbba43f114e828aab7174da5e2db3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_webui::webui_v2::inspector::build_update_stream (cognitive 31): ironclaw_webui::webui_v2::inspector::build_update_stream has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 4 (9 pts), loops 2 (4 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":"crates/product/ironclaw_webui/src/webui_v2/inspector.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a515feca6935b5398229f89729769a017c2bc40a320e86da1c109d777cf84658"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::xlsx::parse_cells (cognitive 31): ironclaw_documents::xlsx::parse_cells has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 3 (8 pts), boolean chains 5, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/xlsx.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f17550525d089f5ba4d52aa9c18b087966368e1a093a6e1dff96770c33f4a1"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_canary.send_reborn_browser_message (cognitive 31): run_live_canary.send_reborn_browser_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (18 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 3 (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":"scripts/auth_live_canary/run_live_canary.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce82ab2ff1f373599b9f9c0d013d4ded9d122f7faf06d48670df035ed3adbd"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.parse_reborn_trace_tool_calls (cognitive 31): notify_slack.parse_reborn_trace_tool_calls has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, loops 3, error handling 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd6ce2b2251a16905e114951a39a3f8a507c1c19ce2f71ad281c77865b2c7db"}},{"ruleId":"D2","level":"warning","message":{"text":"crm_tracker.run (cognitive 31): crm_tracker.run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (7 pts), boolean chains 5, ternaries 3 (4 pts), error handling 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/workflow_canary/scenarios/crm_tracker.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7c77e0a06bdd1c7398bfa886869801526d96f69d8b552997b0ca60ffdc2d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"history-messages.messagesFromTimeline (cognitive 31): history-messages.messagesFromTimeline has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 9, ternaries 2 (4 pts), 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d5496eb8bf5bd7654474d11ed77443b634f7989fa2dedc9dce283893dbabb"}},{"ruleId":"D2","level":"warning","message":{"text":"product-activity-envelope.publishProductInspectorEnvelope (cognitive 31): product-activity-envelope.publishProductInspectorEnvelope has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 10, loops 2 (4 pts), ternaries 2 (4 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/product-activity-envelope.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b02b3e7d5e555e82a854f55c53b1b843fea06415e626bc3439c52f988e70760"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-presenters.scheduleLabel (cognitive 31): automations-presenters.scheduleLabel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 9, ternaries 4 (5 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e23c003bc246296897e0ea0e6e232f161d2bfdd98761b22760472e9f2ff11e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TriggerPollerWorker::clear_terminal_active_fires (cognitive 30): TriggerPollerWorker::clear_terminal_active_fires has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 4 (9 pts), loops 2, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ca8268e7c8ac3a9130e65107ebae2355f10114e8d21421a44bc91a5ff3b8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::resume_spawn_json (cognitive 30): CapabilityHost::resume_spawn_json has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 7, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_capabilities/src/host/spawn_resume.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e022f85617830aeb610be1407a92e22906a750fa5fe462b66e35478b72d6bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadBackedLoopModelPort::stream_model (cognitive 30): ThreadBackedLoopModelPort::stream_model has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 6 (11 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, 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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0628b46d3f7cb2f8dbe6697e4ba7ce7e51bcbbc51d1ded43708ded94ed52d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::result_read::parse_result_read_input (cognitive 30): ironclaw_loop_host::result_read::parse_result_read_input has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 8 (11 pts), boolean chains 3 (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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e2ff408f2de533e121c6d15eec8334e457446db747b363f6c5e4407394deda"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::run_scripted_full_flow (cognitive 30): ironclaw_stress::api_capacity::run_scripted_full_flow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 4 (9 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 17). 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7028041d00ec8661e494caa982ebe8f4bc77dae8b925b1dc00a8980a66f6fbb3"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.parse_frontmatter_paths (cognitive 30): check-guidance.parse_frontmatter_paths has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-guidance.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c8f88883279b19f796c1bc13f36838d8f6093171a519b2e778553e3015bde0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectScopedAttachmentLander::cleanup_stale (cognitive 29): ProjectScopedAttachmentLander::cleanup_stale has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 3 (6 pts), loops 3 (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":"crates/domains/ironclaw_attachments/src/project_scoped.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29cdf5eb70c455d45780fa2d37c148ce2a6f9d0743628c1843ac27ed814117d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extractors::extract_rtf (cognitive 29): ironclaw_extractors::extract_rtf has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), match/switch 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff8ddb02dc22239f380059791d8293850ebb24ff7966cec30fe87e48838dfe"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::maintenance::trace_queue_telemetry_failure_kind (cognitive 29): ironclaw_trace_commons::contribution::maintenance::trace_queue_telemetry_failure_kind has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 11, loops 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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"89583d6afe2eec914eaee0dc954f61f002c82824025f678e23b2d322c93914c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::file::collect_list_entries (cognitive 29): ironclaw_extension_support::coding::file::collect_list_entries has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 4, loops 2 (3 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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e69b2abb0a5391159188ee9b8a410c6df0f45e86aaf6f9155d1398820b22c75"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::authorize (cognitive 29): CapabilityHost::authorize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 5 (7 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":"crates/kernel/ironclaw_capabilities/src/host/authorize.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1ccb2be017c1a8d69dcf696478f6721d36ba3ca1432079c59ceb6cf8f2b3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::authorize_spawn (cognitive 29): CapabilityHost::authorize_spawn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 5 (7 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":"crates/kernel/ironclaw_capabilities/src/host/spawn.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9949c487d7998037118382cd8bec99080951af75960f74bf42cfdf86f49ad3f"}},{"ruleId":"D2","level":"warning","message":{"text":"HostRuntimeServices::validate_production_wiring (cognitive 29): HostRuntimeServices::validate_production_wiring has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/services/production_services.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61ac641ca5bffd121c4efb7c8afa388709f930cbe355d1859ad3eeb0a3f99ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_safety::display_redaction::sanitize_display_text (cognitive 29): ironclaw_safety::display_redaction::sanitize_display_text has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5, 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":"crates/substrates/ironclaw_safety/src/display_redaction.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bab42599730d85cd4147226058db69239d6f1a61769cad8f14449aad68893b"}},{"ruleId":"D2","level":"warning","message":{"text":"useLlmProviders.useLlmProviders (cognitive 29): useLlmProviders.useLlmProviders has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, ternaries 6 (7 pts), if/else 6 (nesting depth added 1). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 152, 120, 131). 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5be2cea3349197a4cc24bd1008d0f9a1cca071db4e0d5990a26b3f29963e36"}},{"ruleId":"D2","level":"warning","message":{"text":"user-model-preference-selector.UserModelPreferenceSelector (cognitive 29): user-model-preference-selector.UserModelPreferenceSelector has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 8 (22 pts), boolean chains 6, if/else 1 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 2 belong to 2 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b91245a8507e7bd8e2efc0fa8b5d8713d66d17a15c1c1bb46625e1eac9cd4c"}},{"ruleId":"D2","level":"warning","message":{"text":"users-tab.AdminUsersTabView (cognitive 29): users-tab.AdminUsersTabView has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, if/else 6, error handling 3, ternaries 3. Of this number, 16 points are the body\u0027s own statements and 13 belong to 7 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7937055647651d539044f0a56633412b8f45dac8058ec4713a7652315b4034c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::observability::hooks::factory::project_extension_hook_sets (cognitive 28): ironclaw_composition::observability::hooks::factory::project_extension_hook_sets has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (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":"crates/app/ironclaw_composition/src/observability/hooks/factory.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4dd2f949aade2c7e4d157d3aba44ba7b9856d7a9247cd5ed6fb3d30cbf9c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::management::install_bundle::existing_files_match_expected (cognitive 28): ironclaw_skills::management::install_bundle::existing_files_match_expected has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (3 pts), match/switch 1 (3 pts) (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":"crates/domains/ironclaw_skills/src/management/install_bundle.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8794401448cdc5cec27b7914fc07efc0c7bc8f04469ae1ec9768e809e8af288f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::ensure_thread_index_query (cognitive 28): FilesystemSessionThreadService::ensure_thread_index_query has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8c3df64d691070c38a28911ef26d62cc4984b5c76fe9268106bc5d2aca601e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_manager::ironhub::catalog::validate_manifest_artifacts (cognitive 28): ironclaw_extension_manager::ironhub::catalog::validate_manifest_artifacts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 5 (8 pts), match/switch 1 (3 pts), boolean chains 2 (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":"crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e28ba4be8ce00a1aa21cc65f5e3bc1044e4c4367c845b5a9e9e5ecfae8782"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::rows::load (cognitive 28): ironclaw_processes::journal_store::rows::load has cognitive complexity 28 (threshold 15). Drivers by points: loops 13 (14 pts), match/switch 5 (7 pts), if/else 3 (5 pts), boolean chains 2 (nesting depth added 5). 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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"579ecb0183ed7d767e2a809499c60eb620fd5c384a2611e013f9e1d3070e7152"}},{"ruleId":"D2","level":"warning","message":{"text":"HookedLoopCapabilityPort::invoke_capability_batch (cognitive 28): HookedLoopCapabilityPort::invoke_capability_batch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (8 pts), loops 3 (4 pts), boolean chains 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":"crates/loop/ironclaw_hooks/src/middleware/capability_port.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f41d51bd96712c183cc157ebb88cfe33efdcae8d3f9821ffc592e18b5b289f"}},{"ruleId":"D2","level":"warning","message":{"text":"useAdminUsers.useAdminUsers (cognitive 28): useAdminUsers.useAdminUsers has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 10, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 96, 119, 166, \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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"500fadf8fab62b43dee7637aead7667a541749932a399d65c85f20560a22c00f"}},{"ruleId":"D2","level":"warning","message":{"text":"Code.highlight (cognitive 28): Code.highlight has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (10 pts), boolean chains 5 (nesting depth added 12). Most of this is not in the body itself: 0 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 27). 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":"docs/internal/architecture-video/src/components/Code.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"356fded42dd9c774c910b9ed3b9906185f95b24bc56bb8a153c7af9ffff21e06"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayEventProjectionService::fold_runtime_prefix (cognitive 27): ReplayEventProjectionService::fold_runtime_prefix has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (3 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":"crates/events/ironclaw_event_projections/src/lib.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00d9ac96c2ccc43d5ec82d05fce15ada940b293b5b1642561aa39b6e8f33806"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_event_store::coalescing_sink::drain_loop (cognitive 27): ironclaw_event_store::coalescing_sink::drain_loop has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 4 (8 pts), loops 3 (7 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":"crates/events/ironclaw_event_store/src/coalescing_sink.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"68debaf26316bcabdcd1322123bca9c19ba7454bb0999ff23e78ac33486a8cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLifecycleManager::install_registry_package (cognitive 27): ExtensionLifecycleManager::install_registry_package has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afb8b13837eca3df23fea5b896a3329fe67a428a99e11228941e892fde9fd2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::process_output::read_stream_capped (cognitive 27): ironclaw_host_runtime::process_output::read_stream_capped has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 1, loops 1 (nesting depth added 15). 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":"crates/kernel/ironclaw_host_runtime/src/process_output.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a641c8468f0de814fbebe6da1047922ea4af3109a52271506c417dfebd0142"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::shell_core::detect_command_injection (cognitive 27): ironclaw_host_runtime::first_party_tools::shell_core::detect_command_injection has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 18, if/else 9. 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e33e09719afa62efab3df3770f086ef25b2f077616e5eafcf2ccfd24157564b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_resources::filesystem_governor::journal::run_delta_journal_flusher (cognitive 27): ironclaw_resources::filesystem_governor::journal::run_delta_journal_flusher has cognitive complexity 27 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (10 pts), match/switch 3 (6 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":"crates/kernel/ironclaw_resources/src/filesystem_governor/journal.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210fa0868a342b75c6fec83fb6d0f598324dfbf97d8376844105f6e185f4dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"HookManifestEntry::validate (cognitive 27): HookManifestEntry::validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 3 (8 pts), boolean chains 3, loops 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":"crates/loop/ironclaw_hooks/src/manifest.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ddf130031e163dd585a3dca8d5e9971118c6afd882df0dab01909a849b1729"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::kernel_ports::enrich_attention (cognitive 27): ironclaw_assistant::delivery_coordinator::publication::kernel_ports::enrich_attention has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 6 (9 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/kernel_ports.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378d6c95d358a6130caddf50961488fe490280237456601e577224bc980a260"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_changed_coverage.parse_diff (cognitive 27): reborn_changed_coverage.parse_diff has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe310821c40500742024d4cd12b11c7bfdd0de52aca671646044de743594674c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_benchmark.async_main (cognitive 27): run_benchmark.async_main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/tool_discovery_benchmark/run_benchmark.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f4b37e5e8b862e3bdb860abb020bce4194b88bdb62a3e40082d23e955b7c11"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-tab.SkillsTab (cognitive 27): skills-tab.SkillsTab has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 10, error handling 4 (nesting depth added 1). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 36, 54, 77, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"11afc81b189a9b527eaf110db6862512aea1169ea21c333572dadce789086ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"useThreadScrape.useThreadScrape (cognitive 27): useThreadScrape.useThreadScrape has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 5, ternaries 2 (3 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 0 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 177, 209, 133, \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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useThreadScrape.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cd1a87181968fadb396e11e0165a42ab6d9be8416bb45afb9fbdc462d361e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::gsuite::handlers::calendar_list_events::resolve_calendar_ids (cognitive 26): ironclaw_extension_support::gsuite::handlers::calendar_list_events::resolve_calendar_ids has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers/calendar_list_events.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda91d533fe12ad36af2533871aaaec090f1a28f65de7e985af1cfc20a5495ef"}},{"ruleId":"D2","level":"warning","message":{"text":"google_docs_tool::api::create_table_with_data (cognitive 26): google_docs_tool::api::create_table_with_data has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 7 (11 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"380632639f663dc582f59554229988548da27bb830d7f9bc877f4506842f462c"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeMemoryService::write (cognitive 26): NativeMemoryService::write has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), match/switch 1 (2 pts), boolean chains 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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56617d7c4a6a2eb6180f7b3812b36ada7832917e1888f9027b25a8dc04c5dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessJournalStore::replay_durable_observer_once (cognitive 26): ProcessJournalStore::replay_durable_observer_once has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store/observer.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77ca40a5bb6a57c356d6f9b5fdce66e33e179bc1d6ce5495cae9aad40da799c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::rows::dependencies_for_scope_allowed_states (cognitive 26): ironclaw_processes::journal_store::rows::dependencies_for_scope_allowed_states has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (6 pts), boolean chains 3 (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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"deda0f18a04a6e2cc46bfa0c1673b86965f60a295b4d28af2b5104ba7ab36ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::capability_port::provider_input::normalize_provider_value (cognitive 26): ironclaw_loop_host::capability_port::provider_input::normalize_provider_value has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 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":"crates/loop/ironclaw_loop_host/src/capability_port/provider_input.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d79700d86ba79a2f8043293037d7a108494fca9eab33d07a2d9e8bb316819e"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout::write_wrapped (cognitive 26): Layout::write_wrapped has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 5 (8 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":"crates/substrates/ironclaw_documents/src/html_pdf.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f61446a3914614c65c4fb2348bdff5d17235e267f78973c120a187f343a168a"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_safety::model_input_redaction::redact_model_input_url (cognitive 26): ironclaw_safety::model_input_redaction::redact_model_input_url has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4, loops 1 (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":"crates/substrates/ironclaw_safety/src/model_input_redaction.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d465859f3f51626709e5ba9849f147af3b36d563bc6804c652520ed514d1c575"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::setup_users (cognitive 26): ironclaw_stress::api_capacity::setup_users has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), match/switch 2 (4 pts), boolean chains 3 (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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0c1770baacc81b193012e3a26b92345112a8e18a313ecd559d613658b5a0c5"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.load_tracked (cognitive 26): check-guidance.load_tracked has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 5 (8 pts), loops 4 (6 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/ci/check-guidance.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5902ecff89c01fd859adabd895cc1fe70008f776f2bd51d85902f06503b58b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ws12_workflow_contracts.validate_webui_frontend_sites (cognitive 26): ws12_workflow_contracts.validate_webui_frontend_sites has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"50238c2a3b4558b88fd856e2d57cc195155dbc5028af1dfdd88533d84579e22c"}},{"ruleId":"D2","level":"warning","message":{"text":"emit_results_json.parse_log (cognitive 26): emit_results_json.parse_log has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (4 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":"scripts/live-canary/emit_results_json.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a92ced2abff22fdf5e7ddcf9027b6bb62da72d9e2483763c9e83ea587b2ebc6"}},{"ruleId":"D2","level":"warning","message":{"text":"auth_registry.configured_seeded_cases (cognitive 26): auth_registry.configured_seeded_cases has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 3, 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":"scripts/live_canary/auth_registry.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"68031d50b4f52287e85a90f20ea0e3c7084a8655da87fae44a4f297a79ca6e27"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._extension_setup_submission (cognitive 26): run_live_qa._extension_setup_submission has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4793e2f64643a40ac88c9771cff66176fcf5504da00002e474315fb2296137"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._model_delivery_summary (cognitive 26): run_live_qa._model_delivery_summary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, error handling 2 (3 pts), loops 1, ternaries 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc114ef55a8d6f1a739905bd86a0cac72a862b9b86f9bd6b200be33c3475c16"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._trigger_run_slack_send_evidence (cognitive 26): run_live_qa._trigger_run_slack_send_evidence has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a365adb9ae35c4f79a13c75707a3d1aa7ba9462d97b875565efe940189286"}},{"ruleId":"D2","level":"warning","message":{"text":"calendar_prep.run (cognitive 26): calendar_prep.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 2 (5 pts), ternaries 2 (3 pts), error handling 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":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff293d8328dfefd6f61a1bbb9a968aca0e912a56a39ad4bbfbd8d35191ee3bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"notification-panel.NotificationPanel (cognitive 26): notification-panel.NotificationPanel has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (9 pts), if/else 7 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/components/notification-panel.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4db6fce42e1c2ac728e585288ec6336bdbbadbb9e473b79cadfd37a6f43af60"}},{"ruleId":"D2","level":"warning","message":{"text":"useProviderDialogForm.useProviderDialogForm (cognitive 26): useProviderDialogForm.useProviderDialogForm has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9, error handling 3, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 105, 63, 89, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786c56ad66c86475c6eabc4e7d552105503a29e05f5f1efabf5521edaf3cabf"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductAdapterSection::validate (cognitive 25): ProductAdapterSection::validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/product_adapter_section.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c642102006b3029c98cebb6ca53cb5d2306ced1001de79b86de1e728244e4ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::anthropic_oauth::ingest_anthropic_event (cognitive 25): ironclaw_llm::anthropic_oauth::ingest_anthropic_event has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 13). 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f13d65a0e40a15a551169da3d010355e316df7ea55e7e7ea6fb744866c4bb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::migrate_transcript_indexes_for_scope (cognitive 25): FilesystemSessionThreadService::migrate_transcript_indexes_for_scope has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (14 pts), loops 3 (6 pts), match/switch 2 (5 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":"crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43606570a43bb67b92fd3fa6ad3bbd92e079d805106732ef990f4bc02d8df1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::prepared_context::prepared_seed (cognitive 25): ironclaw_threads::prepared_context::prepared_seed has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 3 (7 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 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. 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":"crates/domains/ironclaw_threads/src/prepared_context.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad83a4b92c3e7e94edbfaab5932562c1b00ede92856530527f2d9f2876351238"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::client::capture_turns_from_conversation_messages_with_outcomes (cognitive 25): ironclaw_trace_commons::client::capture_turns_from_conversation_messages_with_outcomes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 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":"crates/domains/ironclaw_trace_commons/src/client.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e8e7686a45b63a15a53a31d193fb50fe724d883d50e5ceb92fa1aff35a171b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::diff_preview::file_diff_preview (cognitive 25): ironclaw_extension_support::coding::diff_preview::file_diff_preview has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 1 (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":"crates/extensions/ironclaw_extension_support/src/coding/diff_preview.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0ad68beaeb42feb61fb0e3a608c60056ad85fc7eae90c15a01cba660002086"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_telegram_extension::payload::extract_first_matching_bot_command (cognitive 25): ironclaw_telegram_extension::payload::extract_first_matching_bot_command has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (3 pts), match/switch 1 (3 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":"crates/extensions/packages/telegram/src/payload.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e609d6f392dc814c2da08449d8ec795cddda76abe0faaa6979e8d0cfebc3f25c"}},{"ruleId":"D2","level":"warning","message":{"text":"RunDeliveryObserver::notification_for_actionable_state (cognitive 25): RunDeliveryObserver::notification_for_actionable_state has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 5 (11 pts), boolean chains 1 (nesting depth added 14). 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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d222ecb93b2903cecadbfbeb2d76cfcf6dd1431288373eacf62d599fb0ddd2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::reborn_services::extension_credentials::presence_readiness_and_missing_scopes (cognitive 25): ironclaw_assistant::reborn_services::extension_credentials::presence_readiness_and_missing_scopes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (6 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services/extension_credentials.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ade8f558adecc260c21b70e6b79072311d94c0b0ff1ad86d3b1835f4362d4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::projection::reply::fold_milestone (cognitive 25): ironclaw_assistant::projection::reply::fold_milestone has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, match/switch 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":"crates/product/ironclaw_assistant/src/projection/reply.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dad0a1d0879afdf3ade0aa2ef323e5d2dba7256ac885ffcbe0d6eab8783bf76"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::materialize_workspace_files (cognitive 25): ironclaw_assistant::delivery_coordinator::materialize_workspace_files has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 3, boolean chains 2, match/switch 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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a35c9fb26e87f88838e8c03f44a90f7b7e004f613b927798b7bf4092137ec1b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAiCompatRefStore::reserve_with_cas (cognitive 25): OpenAiCompatRefStore::reserve_with_cas has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 3 (7 pts), loops 1 (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":"crates/product/ironclaw_openai_compat/src/refs_storage.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6a606500679b9b34b3053d0d4f062dffb879e6c04cfc21680d7893aa93b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::docx::parse_paragraphs (cognitive 25): ironclaw_documents::docx::parse_paragraphs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (16 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7c3e2f36662dbbf4808b679bea654590c195c5a1818a720e9d6dcd402a11c5"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryBackend::query_ordered (cognitive 25): InMemoryBackend::query_ordered has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 pts), boolean chains 2, match/switch 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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608f7499b2e29b4eea383a72f23dad01efb7e0fb93d5473a3bc6518723c9fce"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-renderer.MarkdownRendererImpl (cognitive 25): markdown-renderer.MarkdownRendererImpl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11, boolean chains 9, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 186, 261, 251, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8315805d4a5a9255132f6b5d3a6542dd097be79a87a8da081642d448b40952c"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity.ToolDetailPanel (cognitive 25): tool-activity.ToolDetailPanel has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 5, if/else 5 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 11 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48655fa57ad0fcf29b540398521790fcaa7092ee5cf28901e9eea8aa6690e40"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity-state.mergeToolActivity (cognitive 25): tool-activity-state.mergeToolActivity has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 18, ternaries 6, 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f804f7fe0be026187a69a3cab2b705db73aa554856acb971b00718cbecf367"}},{"ruleId":"D2","level":"warning","message":{"text":"RefreshingCapabilityPort::build_inner (cognitive 24): RefreshingCapabilityPort::build_inner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 6 (8 pts), match/switch 2 (4 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":"crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cbd22f4a3f27b5e3c6de9954977f6f7abc83c4dddc3de73c718ab27007c72a"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::factory::production_backend_assembly::build_backend_production (cognitive 24): ironclaw_composition::factory::production_backend_assembly::build_backend_production has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 6, boolean chains 3, loops 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34ee8b977ddcf5246f20e743788145c273571688c75a951b7a38d39004cd232"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverProvider::try_providers (cognitive 24): FailoverProvider::try_providers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (4 pts), loops 2, 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":"crates/domains/ironclaw_llm/src/failover.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe93ad870cb0d04a63499d12562a2bc96ea9e923ea5c71d6378b387b1d5c182"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::recording::parameterize_value (cognitive 24): ironclaw_llm::recording::parameterize_value has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (11 pts), match/switch 1 (nesting depth added 14). 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":"crates/domains/ironclaw_llm/src/recording.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a431bc115405235e296aaff5e0ad9927dbcadf059dbb1d1c63976f69d164c954"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::management::install_bundle::capture_skill_bundle (cognitive 24): ironclaw_skills::management::install_bundle::capture_skill_bundle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), match/switch 1 (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":"crates/domains/ironclaw_skills/src/management/install_bundle.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d98f2eb6b55c2d5b1dae03b31c4745f8efc0b3ecb5a9238430a5a5b959a88"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::filesystem_service::thread_index::flush_thread_index_touch_loop (cognitive 24): ironclaw_threads::filesystem_service::thread_index::flush_thread_index_touch_loop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 4 (7 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef52459bd59f92fa65e35e4569e8967d0060fea9c5c76499c1e8b252c3a96ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemDurableEventLog::read_after_cursor (cognitive 24): FilesystemDurableEventLog::read_after_cursor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (FilesystemDurableAuditLog::read_after_cursor) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"310d1a6a7fa37e231993ef1f72b0f0d7a2cdc8d2459c604e9810845c8a7fe662"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemDurableAuditLog::read_after_cursor (cognitive 24): FilesystemDurableAuditLog::read_after_cursor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (FilesystemDurableEventLog::read_after_cursor) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc497d333aeb2c8b6d3157b94bfc3f494aff7d74e6a56074e953ba036249aca"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_event_streams::manager::forward_subscription_items (cognitive 24): ironclaw_event_streams::manager::forward_subscription_items has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (10 pts), 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":"crates/events/ironclaw_event_streams/src/manager.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f73c8e31fde37ccb287a321506b64c417e2654a776115bccbd671e6d8d024ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::text::replace_content (cognitive 24): ironclaw_extension_support::coding::text::replace_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (5 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":"crates/extensions/ironclaw_extension_support/src/coding/text.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"744b37b58043a5eca07b20fd92efc937745bbb690ae69e66284fcec4e82db63f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_submit (cognitive 24): ProcessJournalMaterializedState::apply_submit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e162e94d87179786010658e3a1a3cdb4c0fdd4e2274e90ff1fa85334543f29d"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchDocumentBuilder::collect_schema (cognitive 24): SearchDocumentBuilder::collect_schema has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (4 pts), boolean chains 3, match/switch 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":"crates/loop/ironclaw_loop_host/src/tool_search.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9bfe3a80dbaf7b84d987ce61de97627b1690fb2d07380c6bc2cb0ae5a22db1"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::docx::resolve_revisions (cognitive 24): ironclaw_documents::docx::resolve_revisions has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 4 (6 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 9). 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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cbb0bc35fd41abc5a6a0e32a344fbcc9c9b1b09e6b1d6b2b125066ee84dc3a"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack._format_reborn_metric_summary (cognitive 24): notify_slack._format_reborn_metric_summary has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (5 pts), loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e2ce991f8b66d5a59e39f4f52a59768dd251ec4af8d5160f06f2b0658569c9"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_delivery_channel_id (cognitive 24): run_live_qa._slack_delivery_channel_id has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, error handling 1, ternaries 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3190182d4b8350b480a92d12c511bf923001e36dce7352df53de813589f267c5"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._resolve_slack_personal_bot_dm_channel (cognitive 24): run_live_qa._resolve_slack_personal_bot_dm_channel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, ternaries 2 (3 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d345753069e499d9c4185d2e1a0fc90ccda25a05ec09ed60d97c1484de611ef"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.run_routine_probe (cognitive 24): _common.run_routine_probe has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 6, loops 2 (5 pts), ternaries 2 (3 pts), error handling 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":"scripts/workflow_canary/scenarios/_common.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d3f3a9571660dccf7bf28f92f988174acb363b63bf1fe8d1e0d1d7cbced0bc"}},{"ruleId":"D2","level":"warning","message":{"text":"useHistory.mergeFullRefresh (cognitive 24): useHistory.mergeFullRefresh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 535, 514). 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fceb9e7e0a981643fdbfbe76cfd96a76f8766bf87c4fcf70b01bf4fd7b76afc"}},{"ruleId":"D2","level":"warning","message":{"text":"projects-page.ProjectsPage (cognitive 24): projects-page.ProjectsPage has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (7 pts), error handling 2, ternaries 2 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 10 belong to 6 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efc027a81f35f780c91d95f9d23be3f5503ae2daf4261a757575981beeb2337"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_auth::engine::keepalive::sweep_once (cognitive 23): ironclaw_auth::engine::keepalive::sweep_once has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (6 pts), loops 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":"crates/domains/ironclaw_auth/src/engine/keepalive.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8760b2f1ef542d8989f5ef26ad3294b93ebf626881db2800f1101c74af62b326"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexChatGptProvider::parse_sse_stream (cognitive 23): CodexChatGptProvider::parse_sse_stream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2173f96343e8f77e50d612857ebc89a0cc310f9f1fae54696d561a44cba8ee"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::schedule_thread_index_projection_repair (cognitive 23): FilesystemSessionThreadService::schedule_thread_index_projection_repair has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index/projection_repair.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3422cee33984379113fcd4864ed28ba8c0b61981dc6ed89e98ba09664fa9471"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::tool_result_reference::validate_model_observation_detail (cognitive 23): ironclaw_threads::tool_result_reference::validate_model_observation_detail has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 11). 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":"crates/domains/ironclaw_threads/src/tool_result_reference.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c9eab5c61fd3ec9ad28a546cd26e8c1ff6bca33dcde318b01a7197b553817d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::submission::apply_remote_trace_submission_statuses_for_scope_unlocked (cognitive 23): ironclaw_trace_commons::contribution::submission::apply_remote_trace_submission_statuses_for_scope_unlocked has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, 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":"crates/domains/ironclaw_trace_commons/src/contribution/submission.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cf12e3cbc090ca072a5104b582c3e96931578a508b5b4b09939ca113309e7a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericChannelHostAssembly::reconcile (cognitive 23): GenericChannelHostAssembly::reconcile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (7 pts), loops 4, 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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"80493b6557823194b91c5f0aeec4cd1511c8b508003c2d3ad74bab5be10f4e45"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLifecycleManager::commit_activation (cognitive 23): ExtensionLifecycleManager::commit_activation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1fce2da5b89a32749ac790bc49763ff0c1bca5cd0a6e887355c735d5c3df93"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_registry::canonicalization::canonicalize_installation_rows (cognitive 23): ironclaw_extension_registry::canonicalization::canonicalize_installation_rows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 5 (7 pts), boolean chains 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":"crates/extensions/ironclaw_extension_registry/src/canonicalization.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee583fea702399b72413b4ed55a3d3e4efb7648f305a9914cfcf4072e581aa4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::grep_tool::grep (cognitive 23): ironclaw_extension_support::coding::grep_tool::grep has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, boolean chains 4, match/switch 2. 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":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc9f08000d1419acbfdcddbc11d86938925b8f9b33943cab2422dd3a77fc159"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler::finish (cognitive 23): Reconciler::finish has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (6 pts), loops 2 (5 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":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37407c0ea0b40b0ad0ee42d30fe06d271fd8f92225dbe56e0281c136a4e41e2"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::dispatch_resumed_capability (cognitive 23): CapabilityHost::dispatch_resumed_capability has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 7 (8 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":"crates/kernel/ironclaw_capabilities/src/host/resume_support.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa022cd829a8cb258256e7f8b365c881a6cb3803473fb20157790dec80666f57"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::docx::direct_runs_with_nested_paragraphs (cognitive 23): ironclaw_documents::docx::direct_runs_with_nested_paragraphs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (12 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc73395e6e6e15064b8b3b205c614fa68fff21f7585f578697c486c3993f5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"check-type-duplicates.collect (cognitive 23): check-type-duplicates.collect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 pts), error handling 1 (3 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":"scripts/check-type-duplicates.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d386c308655e6d72c1148cc91d5e65d204d6c86bff84118dcaa4d758764f7"}},{"ruleId":"D2","level":"warning","message":{"text":"import-reborn-run-artifact.build_turn (cognitive 23): import-reborn-run-artifact.build_turn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 3 (4 pts), 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":"scripts/import-reborn-run-artifact.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"107950974139ba57f9e8cab619ecb4dbdeeb6a4e8a836adf6d695f07c26f21bf"}},{"ruleId":"D2","level":"warning","message":{"text":"google_api_helpers._create_google_spreadsheet_fixture (cognitive 23): google_api_helpers._create_google_spreadsheet_fixture has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (6 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4350dd071bff5807c72fa4f9583e49bf7db65a4fe8b868f4b0d5e78b448994c0"}},{"ruleId":"D2","level":"warning","message":{"text":"slack_helpers._remove_legacy_slack_setup_fields (cognitive 23): slack_helpers._remove_legacy_slack_setup_fields has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bea65ac8b0706b8353ef87887df38be5c43898984c305208edbd13703be785"}},{"ruleId":"D2","level":"warning","message":{"text":"hn_monitor.run (cognitive 23): hn_monitor.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (5 pts), boolean chains 4, ternaries 2 (3 pts), error handling 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":"scripts/workflow_canary/scenarios/hn_monitor.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d37e32f57d680b5a7b56cc29b22d706f1156f183aa75995cef58528afefa92"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.stageFiles (cognitive 23): attachments.stageFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 7, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 22 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/attachments.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d4bee8f4a478dc597bcca91ccc23cf0c4cea8438932059c761683dc5d4fa4f"}},{"ruleId":"D2","level":"warning","message":{"text":"useHistory.hydrateFreshMessages (cognitive 23): useHistory.hydrateFreshMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, ternaries 3, loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d313c9c5fb23e1e88d70c21aef9aa4d707dbdeb65782012c3eaea1691e61f736"}},{"ruleId":"D2","level":"warning","message":{"text":"button.Button (cognitive 23): button.Button has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, ternaries 9 (11 pts), if/else 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":"crates/product/ironclaw_webui/frontend/src/design-system/button.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf3acf79c694765b294590002784ba1c86c98dd407d0c0edcbf624f37313be3"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-summary.summarizeActivity (cognitive 23): activity-summary.summarizeActivity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 6 (10 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c88b30db5d125b4941232861c9b28a6845190cd56a94ff938d8dd7ed8a855"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw::runtime::run_repl_loop (cognitive 22): ironclaw::runtime::run_repl_loop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (9 pts), loops 1 (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":"crates/app/ironclaw_cli/src/runtime/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd34eaf9692c4228fc627101e0c986f38174dde3bedd349c55d6807538cb8ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::ensure_thought_signatures (cognitive 22): GeminiOauthProvider::ensure_thought_signatures has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (4 pts), boolean chains 1, match/switch 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d366f52bdc173f144c11d94e355ac7c21390c340a0dc51495cd9ecb44fde04c7"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemorySessionThreadService::append_tool_result_reference (cognitive 22): InMemorySessionThreadService::append_tool_result_reference has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (3 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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106e096136acdcd97af5ade72226ed3304f3eed10cbff2802296415bad6124e"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemDurableEventLog::append_batch (cognitive 22): FilesystemDurableEventLog::append_batch has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (12 pts), match/switch 4 (10 pts) (nesting depth added 12). 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":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdfd8ee6f1ad9afa5069d9611bf8d6e0f106033795df1fb104bc3962bb634ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::gsuite::handlers::gmail_message::select_body (cognitive 22): ironclaw_extension_support::gsuite::handlers::gmail_message::select_body has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 6 (12 pts), if/else 5 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers/gmail_message.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bda5c6f8e4aed3242573dab6ccbf1699dcb2903164937feeeeea9e8f93c628c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::file::read_file (cognitive 22): ironclaw_extension_support::coding::file::read_file has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4 (8 pts), boolean chains 4 (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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc59de3130a09f3ec9d28284d117dfe3247079e78211467536fb70400aeee7"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_memory_native::service::tree_for_paths (cognitive 22): ironclaw_memory_native::service::tree_for_paths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), 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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"5986ce3b410ca4a260f55aac8173f94654e5c337da357719eb5d5f390843b953"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::redaction::redact_chat_message (cognitive 22): ironclaw_loop_host::model_gateway::redaction::redact_chat_message has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts), match/switch 2 (5 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":"crates/loop/ironclaw_loop_host/src/model_gateway/redaction.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2b7694f556bfea394c7b06ef591ebf40a6836f883e8402098a532a3af0f26"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveProjectionPublisher::publish_reply_revision (cognitive 22): LiveProjectionPublisher::publish_reply_revision has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 3, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/product/ironclaw_assistant/src/projection/live_progress.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e77968d9be38adc7c65295f220ba126fefd41f3af7a37851e4624d423c495"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::reborn_services::open_product_surface_event_subscription (cognitive 22): ironclaw_assistant::reborn_services::open_product_surface_event_subscription has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 4 (6 pts), loops 2, boolean chains 1 (nesting depth added 9). 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":5654}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0406400dd354f4a743a75c6500aec3d8fa427cd80454eb31791cad3c59e359"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_openai_compat::prepared_turn::agent_messages_from_chat (cognitive 22): ironclaw_openai_compat::prepared_turn::agent_messages_from_chat has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), match/switch 3 (6 pts) (nesting depth added 12). Of this number, 16 points are the body\u0027s own statements and 6 belong 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":"crates/product/ironclaw_openai_compat/src/prepared_turn.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba65e2c8de5b788ea0f1ac6d8b23d1fc8e6874874e13c6ea589a3b0a097d51e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::scripted::respond_for_session (cognitive 22): ironclaw_stress::scripted::respond_for_session has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 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":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4c2caf905590a7dd35c7987c7cba2065d5a0b56bf26fdfa144a6da496184bc"}},{"ruleId":"D2","level":"warning","message":{"text":"dev_metrics.tier1 (cognitive 22): dev_metrics.tier1 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (5 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev_metrics.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"37654dbba513e929de7704317bdcd4823d60e6158991a0c10168fc580868e675"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_defect_traceability.build_audit (cognitive 22): audit_defect_traceability.build_audit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (4 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":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5de1052a14a31780737ef230a9e3b3ac2b4d773173d83e7e67c957aa37dc76a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_smoke.poll_for_reply (cognitive 22): run_smoke.poll_for_reply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/telegram_smoke/run_smoke.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec5a7aa49da552d011ff48f44889d4469408018faaed85db043857706a4447"}},{"ruleId":"D2","level":"warning","message":{"text":"manual_trigger.run (cognitive 22): manual_trigger.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (5 pts), boolean chains 3, ternaries 2 (3 pts), error handling 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":"scripts/workflow_canary/scenarios/manual_trigger.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a659ebf4ee5c53a159abbf2c900b6753cce2ebdf246573426d8ef20d1c89a"}},{"ruleId":"D2","level":"warning","message":{"text":"manual_trigger_from_telegram.run (cognitive 22): manual_trigger_from_telegram.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (5 pts), boolean chains 4, error handling 1, ternaries 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":"scripts/workflow_canary/scenarios/manual_trigger_from_telegram.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bb95e4736a43b16c078f1152bdc61195761526f30194ac9a5229b97b8a3e35"}},{"ruleId":"D2","level":"warning","message":{"text":"notification-center.NotificationCenter (cognitive 22): notification-center.NotificationCenter has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (8 pts), ternaries 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 9 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d0b4d4f3dc5a23eea5bde9ef3a85ca0d813416a6bbc37e978b8abe1bc58e86"}},{"ruleId":"D2","level":"warning","message":{"text":"link-payload-panel.LinkPayloadPanel (cognitive 22): link-payload-panel.LinkPayloadPanel has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 10, error handling 1, ternaries 1. Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 140, 126, 91, \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":"crates/product/ironclaw_webui/frontend/src/components/link-payload-panel.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccfa449fb0a5f596335ec53f59fbb73dd9dcfeea0e1916bf0ac1cce8d12871f"}},{"ruleId":"D2","level":"warning","message":{"text":"onboarding-pairing-card.OnboardingPairingCard (cognitive 22): onboarding-pairing-card.OnboardingPairingCard has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (6 pts), error handling 1 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 3 belong 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8a819ffc312d78eb325765d0011cb1e3625a89a79ae284b024894ec3e9f569"}},{"ruleId":"D2","level":"warning","message":{"text":"inspector-panel.InspectorPanelCore (cognitive 22): inspector-panel.InspectorPanelCore has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 8 (9 pts), if/else 4 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0703f2383b42d87659cf1ae1ef537de4b4e7a5d402d4f96868e7514303ca901"}},{"ruleId":"D2","level":"warning","message":{"text":"jobs-page.JobsPage (cognitive 22): jobs-page.JobsPage has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), error handling 2, ternaries 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 7 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/jobs/jobs-page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"668089e9b1ffc6f06f7da1bfc08a1eccbd3b272517652d4534c122a3ca0b8d2c"}},{"ruleId":"D2","level":"warning","message":{"text":"automation-detail-panel.AutomationDetailPanel (cognitive 22): automation-detail-panel.AutomationDetailPanel has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), ternaries 5 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b250d60e9c99537fdf245f7b5c2798cb1539d1c49fdb131e4c9222c6128e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-commons-tab.TraceCommonsTab (cognitive 22): trace-commons-tab.TraceCommonsTab has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 7, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecdcdb38c232af5341bac04fa467f6c893965cec38004f4bf435a81a4ccddce"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductProjectionItem::validate (cognitive 21): ProductProjectionItem::validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"958b063938d0127ac05a306c791b68df818d00a7f22a868b3570573d1181f5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemAuthProductServices::resolve_callback_account (cognitive 21): FilesystemAuthProductServices::resolve_callback_account has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 11). 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":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b442ecc202d14358e661539cf8d10cef60d6ca4d4f287a79b1fbfac91056d45"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexChatGptProvider::message_to_input_items (cognitive 21): CodexChatGptProvider::message_to_input_items has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (4 pts), loops 1 (3 pts) (nesting depth added 11). 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5768d22790bb48acfa8942adda8118a5a45dd0369126f9a3ea99c65bbee180"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::gemini_oauth::parse_custom_headers (cognitive 21): ironclaw_llm::gemini_oauth::parse_custom_headers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 11). 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115151481cc1219eaa8170428991e44f0cee9ef17d26e9cf4889461d55d050a"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::attachment_context::model_attachment_block_matches (cognitive 21): ironclaw_threads::attachment_context::model_attachment_block_matches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (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":"crates/domains/ironclaw_threads/src/attachment_context.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a312a627e3a7ecf8f5818dd540e32a6180a122604e973f9d2969df75f0c059e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::credit::compute_value_scorecard (cognitive 21): ironclaw_trace_commons::contribution::credit::compute_value_scorecard has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 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":"crates/domains/ironclaw_trace_commons/src/contribution/credit.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559b362f33db09c5a972b6597d1ab58b9d29ee8d8bd2a7d9ef50f26c585b42a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericChannelInboundSink::admit (cognitive 21): GenericChannelInboundSink::admit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/extension_ingress.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7601229283a50ede68088b6c724d6648b22637ea7e582c2a1527d9c23939fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedMcpPreparationService::attempt_hosted_mcp_preparation (cognitive 21): HostedMcpPreparationService::attempt_hosted_mcp_preparation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (7 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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5d588a299e3c08ee762add3688dc970a8dbe69e3a6003da2fcd5de9cf013ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::file::read_file_text_output (cognitive 21): ironclaw_extension_support::coding::file::read_file_text_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"11671052bb250f964d5f24ed3e587c717cc3e7f91216ad82e7494b9866a4171a"}},{"ruleId":"D2","level":"warning","message":{"text":"google_docs_tool::api::get_document (cognitive 21): google_docs_tool::api::get_document has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (12 pts), if/else 3 (9 pts) (nesting depth added 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96b7d525327d81eafb3b3f26ba906a9ba8c5079bc090efcfd580eaf2c979d27"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler::resolve_pending (cognitive 21): Reconciler::resolve_pending has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2, 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":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd21e04d273ab7a5087b07e4c6420ddde865f54558470a74868cbdb5719cb53"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityHost::enrich_invocation_descriptor (cognitive 21): CapabilityHost::enrich_invocation_descriptor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 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":"crates/kernel/ironclaw_capabilities/src/host/authorize.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"38868d5093e86d842b893dd194a48484eb86d875744334722f09379154e8047d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessJournalMaterializedState::apply_submit_at_edge (cognitive 21): ProcessJournalMaterializedState::apply_submit_at_edge has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef801eb2e152fc977df6b851df6797926d83c81eeaa90ef455854115d6bf3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::rows::dependencies_for_scope_canonical_order (cognitive 21): ironclaw_processes::journal_store::rows::dependencies_for_scope_canonical_order has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c4d0ec9f65a114af7e68ea3d19778637605301f9bc785ff3b80151f489931"}},{"ruleId":"D2","level":"warning","message":{"text":"RailwayPreviewSandboxTransport::shutdown_owned_sandboxes (cognitive 21): RailwayPreviewSandboxTransport::shutdown_owned_sandboxes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (15 pts), match/switch 3 (5 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/lanes/ironclaw_sandbox/src/sandbox_process/railway.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac71fab20e746be48371bfecf4e628179a5c0dfbabf9b6e7cd0835912a83be"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectableSkillContextSource::body_context (cognitive 21): SelectableSkillContextSource::body_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (5 pts), loops 2 (3 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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"832390e0e8e7a006d9af30f2bb7e572d89792498ca16eb9bba1d3508f9e82f83"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::redaction::redact_json_object (cognitive 21): ironclaw_loop_host::model_gateway::redaction::redact_json_object has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (6 pts), boolean chains 3, 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":"crates/loop/ironclaw_loop_host/src/model_gateway/redaction.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0a6eaab9c3a6e3d31c431787662c1a536318da0e866f19cabc01a226bab19e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_webui::webui_ws_origin::enforce_websocket_origin (cognitive 21): ironclaw_webui::webui_ws_origin::enforce_websocket_origin has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/webui_ws_origin.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"318370e6d32e7a3f3b08c2c95f4ab734e5fab4bcf89ab7a4164e293ab0edc7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"UserTurnServices::run_operation_inner (cognitive 21): UserTurnServices::run_operation_inner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"60329262d911a054b1bc2372603f28b21537b38012ba71d709072799a7db2518"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::run_window (cognitive 21): ironclaw_stress::api_capacity::run_window has cognitive complexity 21 (threshold 15). Drivers by points: loops 8 (10 pts), if/else 5 (7 pts), boolean chains 4 (nesting depth added 4). 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c2f33378432fd9d7ae72a03379f0d76b80de0d2d56e49c2cc057624ce4bbd6"}},{"ruleId":"D2","level":"warning","message":{"text":"auth-oauth-card.AuthOauthCard (cognitive 21): auth-oauth-card.AuthOauthCard has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 5, error handling 1. Of this number, 13 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"65162d4544cdee74ce69347f5425f7702eaa62680cbf4820ec552a74427ec4b6"}},{"ruleId":"D2","level":"warning","message":{"text":"attachment-preview.AttachmentPreviewModal (cognitive 21): attachment-preview.AttachmentPreviewModal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 55, 118, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65e51b200b6abae6b43737f803ac3410c1c824c44df59a5e8c59f32e8a77e22"}},{"ruleId":"D2","level":"warning","message":{"text":"product-activity-envelope.publishRunStatusActivity (cognitive 21): product-activity-envelope.publishRunStatusActivity has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5, boolean chains 3 (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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/product-activity-envelope.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ebfa89c84faca0deb81c87d3001ebc19c9230fbdca4dc202612a955ca111ec"}},{"ruleId":"D2","level":"warning","message":{"text":"useProviderManagementActions.useProviderManagementActions (cognitive 21): useProviderManagementActions.useProviderManagementActions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 6 (7 pts), boolean chains 4, error handling 2 (nesting depth added 6). Most of this is not in the body itself: 0 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 39, 59, 79, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderManagementActions.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f50ba8b907dc4a0abf3a573f67fbdc685a87697b338baeb09397dc09a4f69"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationChannelsSetHandler::invoke (cognitive 20): NotificationChannelsSetHandler::invoke has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 5 (6 pts) (nesting depth added 9). 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":"crates/app/ironclaw_composition/src/runtime/capability_host/notification_channels_set.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb85cf29d97ef422b1d81634f66ad952e8f8424e8bddc7008b504829067950"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::observability::hooks::projection::build_hook_projection_registry (cognitive 20): ironclaw_composition::observability::hooks::projection::build_hook_projection_registry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts), match/switch 1 (2 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":"crates/app/ironclaw_composition/src/observability/hooks/projection.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"225e619f44cc36db33666b8786fd87586a8bf48844cfc3f4efd3885ef5954742"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::observability::trajectory_observer::safe_preview_inner (cognitive 20): ironclaw_composition::observability::trajectory_observer::safe_preview_inner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), match/switch 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":"crates/app/ironclaw_composition/src/observability/trajectory_observer.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceee603529232378525ee27c43edb04a3b59d513e5e86ff1d09f0539eebb4a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extractors::extract_xlsx (cognitive 20): ironclaw_extractors::extract_xlsx has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2, match/switch 1 (2 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"786cb83d10572e9a8dd334a6eb7607cb4c9bca7fb10f6f8121582db5117eece0"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::apply_decorator_chain_with_fallback (cognitive 20): ironclaw_llm::apply_decorator_chain_with_fallback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e3be1de5a515442ffe43cf66f7214d1ac1e3b7c8ff3774ddb67cab9ed7840a"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::tool_schema::merge_top_level_variant_properties (cognitive 20): ironclaw_llm::tool_schema::merge_top_level_variant_properties has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/tool_schema.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6be6fa47641c91b95efc141b4417b53d7f589a66b0499c162f2ca6331d36c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::nearai_chat::fetch_pricing (cognitive 20): ironclaw_llm::nearai_chat::fetch_pricing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (4 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6c2d3c8de1f236a6484fbf20794d67ca4ad47d2e4c4ce60ee5fe0d74453a72"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::list_threads_for_scope (cognitive 20): FilesystemSessionThreadService::list_threads_for_scope has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3874}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c4d100c61d6d32c80d79443e3229620fc09c1312b4873d664cc4356ae2341"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::contribution::submission::flush_trace_contribution_queue_for_scope_with_credential_provider (cognitive 20): ironclaw_trace_commons::contribution::submission::flush_trace_contribution_queue_for_scope_with_credential_provider has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 5 (8 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":"crates/domains/ironclaw_trace_commons/src/contribution/submission.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5adbe191f4879f5b1c6263319b2895b74c9bbe00be962778f7abcc2a49e775"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_event_store::stream_read_after_with (cognitive 20): ironclaw_event_store::stream_read_after_with has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2, 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":"crates/events/ironclaw_event_store/src/lib.rs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"40704567409ef8bf6123697c327bda9b6ed5f165ccfc4ea5cd0ade53939a1b45"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLifecycleManager::remove_orphaned_runtime_state (cognitive 20): ExtensionLifecycleManager::remove_orphaned_runtime_state has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4 (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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea11e75817c6fced48084304726de3bec338e6cec37758bb5c997b348f257a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_host::ingress::verifier::verify_hmac (cognitive 20): ironclaw_extension_host::ingress::verifier::verify_hmac has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 3 (5 pts), 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":"crates/extensions/ironclaw_extension_host/src/ingress/verifier.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de4e60ddd4ee3fff8c7875f7da26aa63ead11e9150a263b7014c58d5da547ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Reconciler::progress (cognitive 20): Reconciler::progress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf79c8b5935697eb410aaeabe186e4189dd5e0f4ad03c2007fc3005ea13e70c"}},{"ruleId":"D2","level":"warning","message":{"text":"slack_user_tool::api::humanize_message_text (cognitive 20): slack_user_tool::api::humanize_message_text has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 4 (6 pts), loops 1 (nesting depth added 11). 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":"crates/extensions/packages/slack/wasm-src/src/api.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c01c2565a9fc38a3414a586be898e5b6a3a02194ec026af5f9a8d1a939874"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::first_party_tools::shell_core::redirect_targets (cognitive 20): ironclaw_host_runtime::first_party_tools::shell_core::redirect_targets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78e46a67baa788f1879f7f521abe0bf2285fb26271280a66c814ea75733a71c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_mcp::client::project_content_block (cognitive 20): ironclaw_mcp::client::project_content_block has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/lanes/ironclaw_mcp/src/client.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc1940b219dd4bfffd0ad4ca5398204af27f5ea2c5f30283510ff878f8b48f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::delivery_coordinator::publication::worker::handle_step (cognitive 20): ironclaw_assistant::delivery_coordinator::publication::worker::handle_step has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (5 pts), boolean chains 4 (nesting depth added 8). 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1630ef08cdb8933c47e684c1f562358a134d137c6874b7d8cdedae9dabf9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_operator::operator_logs::is_sensitive_log_path_candidate (cognitive 20): ironclaw_operator::operator_logs::is_sensitive_log_path_candidate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 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":"crates/product/ironclaw_operator/src/operator_logs.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f65889707d7072c289708a7acc1992e6f2316aa53164ab5f814224a45f1290"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::run_child_processes (cognitive 20): ironclaw_stress::run_child_processes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4 (8 pts), loops 2 (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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafad15722b06aba448b2c25629e97581d3fd4904f47c0363ba5e61339b786c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::provision_missing_identities (cognitive 20): ironclaw_stress::api_capacity::provision_missing_identities has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), match/switch 1 (3 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"476cb035c3d378b60eb2cb1ab8576b1059acf1e08e4494a672adf6a9a1c640e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::scripted::record_step_result (cognitive 20): ironclaw_stress::scripted::record_step_result has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (6 pts) (nesting depth added 14). 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":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee6e793c50c591f956a7c88b8529b4222f9212b7f8af7a7764cf887b1d31781"}},{"ruleId":"D2","level":"warning","message":{"text":"dev_metrics.tier2 (cognitive 20): dev_metrics.tier2 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 5 (8 pts), loops 3 (4 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":"scripts/dev_metrics.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fb2b673e7f6b321d3c7139be2a81f4a778337bfd973df6cf2dee9a28fa4133"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa.case_qa_5d_slack_strategy_doc_answer (cognitive 20): run_live_qa.case_qa_5d_slack_strategy_doc_answer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f851bc773fbf6f82bfef0672ae28d67b5a56793e32ea10bd5d50a362fdfd834"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._classify_encoded_mention_messages (cognitive 20): run_live_qa._classify_encoded_mention_messages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, loops 1, ternaries 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7537}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaba3a66894354162f7cafc2b15d19c0e9537233c95bd00f3402fd97a392d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"message-groups.moveDelayedActivityBeforeAssistantBoundary (cognitive 20): message-groups.moveDelayedActivityBeforeAssistantBoundary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 3, ternaries 1 (2 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/message-groups.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ee4552c33906a8be6579e14a2f86635c3e30b30830ca55da6440d29789ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"useProviderLogin.useProviderLogin (cognitive 20): useProviderLogin.useProviderLogin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), error handling 5 (6 pts), ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 304, 198, 253, \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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f438b9088a878b2444ddb03e487382900366b7d743d5f536d7f5070cf261bb77"}},{"ruleId":"D2","level":"warning","message":{"text":"project-filesystem-panel.ProjectFilesystemPanel (cognitive 20): project-filesystem-panel.ProjectFilesystemPanel has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 7, if/else 2, error handling 1 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 10 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4452d614694516fb99623cbff4b6d82c41b52fe126f267f5e432439fecae08b"}},{"ruleId":"D2","level":"warning","message":{"text":"user-secrets-panel.UserSecretsPanelView (cognitive 20): user-secrets-panel.UserSecretsPanelView has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (7 pts), if/else 3, error handling 2 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-secrets-panel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"164bdc2a0dce35c4881fd8dcf8fded6ecc05f9dcfef1b2decb347112497f6f62"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::llm_admin::nearai_mcp::bootstrap_nearai_mcp (cognitive 19): ironclaw_composition::llm_admin::nearai_mcp::bootstrap_nearai_mcp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (3 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":"crates/app/ironclaw_composition/src/llm_admin/nearai_mcp.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaa6d49c4c8a83abc836da680da06943696ece1fe998341197ce5bbef17cefb"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionBundleBuilder::build (cognitive 19): InstructionBundleBuilder::build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 6 (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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d19a58d5c7e15cee8e10b2ec3a31c47dc58ec7606f007086dbb0b2bb56026d"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexChatGptProvider::send_request_with_sink (cognitive 19): CodexChatGptProvider::send_request_with_sink has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (19 pts) (nesting depth added 11). 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a043867b7cc43567035e87bb74286a19793eb9300a48bc56207bc67af7cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::rig_adapter::extract_response (cognitive 19): ironclaw_llm::rig_adapter::extract_response has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7144eeeceb186bebe0b1dfe51a503abc522c66fa310d4fa1d1fd5e80e8fe242"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::read_thread_messages (cognitive 19): FilesystemSessionThreadService::read_thread_messages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/filesystem_service/message_read.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dcb8d59bc05d6c3184a7e6355a159a9773ab8122bc94bfd1fb87d745faa93b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_trace_commons::capture::spawn_trace_queue_flush_worker (cognitive 19): ironclaw_trace_commons::capture::spawn_trace_queue_flush_worker has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 3 (6 pts), loops 2 (4 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":"crates/domains/ironclaw_trace_commons/src/capture.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"78037bece6e5d160c75ef83b6144fba7ad587e7d1a7594bd2abc3961779339db"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminConfigurationService::replace (cognitive 19): AdminConfigurationService::replace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2, 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":"crates/extensions/ironclaw_extension_host/src/admin_configuration_service.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ca2138843e07305226fc496cc4cf877313fbb1afd442b338abd5e235b0c141"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelConfigService::credential_handle_value (cognitive 19): ChannelConfigService::credential_handle_value has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/channel_config.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cb0c7b11a641f61fee471bd9d4ea46e85b2609ee6bc5875f97e561abf7273b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericChannelOutboundTargetProvider::resolve_reply_target_binding (cognitive 19): GenericChannelOutboundTargetProvider::resolve_reply_target_binding has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/channel_outbound_targets.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c592dc762cca372532faf64b69d227ca7f6bec98b5b4f6e3fe5eb378b54b32"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_host::admin_configuration_service::validate_submitted (cognitive 19): ironclaw_extension_host::admin_configuration_service::validate_submitted has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2, match/switch 1 (2 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":"crates/extensions/ironclaw_extension_host/src/admin_configuration_service.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc775f8679a78d2619af5578dc1172edc6266c6decb7760ae60ff13d3339d03e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::skills::url_install::github::fetch_github_contents_bundle_payload (cognitive 19): ironclaw_extension_support::skills::url_install::github::fetch_github_contents_bundle_payload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), match/switch 1 (3 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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e8c621d51bf24563e84b3b56c3e3f6a77c0772ff7f13f03e342787c0078aae"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::text::normalize_with_source_map (cognitive 19): ironclaw_extension_support::coding::text::normalize_with_source_map has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (8 pts) (nesting depth added 10). 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":"crates/extensions/ironclaw_extension_support/src/coding/text.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"169f3ce03b07677a5b8a0af301540dac9198fc321874ee11aa36d8837adf3977"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryBackendFilesystemAdapter::append_file (cognitive 19): MemoryBackendFilesystemAdapter::append_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, match/switch 1 (2 pts), 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e15d82aec0776be30d9fcb4bc0684a0fd1f31110672aa88352f561fbf2058"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryDocumentFilesystem::append_file (cognitive 19): MemoryDocumentFilesystem::append_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (5 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf244ff9d146e8ccd96f4cc32e8f16bb6623b741caf5a39d054b6abfe2fd043"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::flusher::run_flusher (cognitive 19): ironclaw_processes::journal_store::flusher::run_flusher has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 2 (5 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":"crates/kernel/ironclaw_processes/src/journal_store/flusher.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc12b2771847e9d078bba62f5c4f009a0096fa54499ae65cc5d0f471caec6db2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::model_gateway::tool_response_to_host (cognitive 19): ironclaw_loop_host::model_gateway::tool_response_to_host has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), match/switch 2 (4 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a1ceea1a69215377052483941c61863ef6aae717d6ae9b62dfce142a9ca09c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::capability_surface_filter::invoke_filtered_batch (cognitive 19): ironclaw_loop_host::capability_surface_filter::invoke_filtered_batch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, loops 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc003a2a39310e8753efb20adba84099d1f5cefb471e718aa69e7aeb1ce3e77b"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_turn_runner::trace_capture::conversation_messages_from_records (cognitive 19): ironclaw_turn_runner::trace_capture::conversation_messages_from_records has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 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":"crates/loop/ironclaw_turn_runner/src/trace_capture.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4627744d2cc5b679676c450cbe7fc6fc3bff57198d021266580d550fe685eb"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOutcomeProcessCommitObserver::observe_process_commit (cognitive 19): RunOutcomeProcessCommitObserver::observe_process_commit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d334578386283b874fd9869dc62f242406275f32149d7c26284e13dca1900"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::run_user_turn_in_process (cognitive 19): ironclaw_stress::run_user_turn_in_process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeced87000c906f2636094444da6e52100cf8eb9537ce0267b01283357fc8020"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::handle_mock_completion (cognitive 19): ironclaw_stress::api_capacity::handle_mock_completion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af28f52c02be9d573d7d0a55df23cc9bb1fb81fa5f1acd6fcfe08a5faca44e0"}},{"ruleId":"D2","level":"warning","message":{"text":"changed_workspace_packages._reverse_dependency_closure (cognitive 19): changed_workspace_packages._reverse_dependency_closure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/changed_workspace_packages.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc79479376fd1639b5f50dff7909a9c4d95288c3adf5b5bc87781ebc2050c48e"}},{"ruleId":"D2","level":"warning","message":{"text":"reborn_coverage_lcov.load_exemptions (cognitive 19): reborn_coverage_lcov.load_exemptions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/lib/reborn_coverage_lcov.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22caa6eaa5a779cb63c45f53e426b15fd8f9e4f5ac59f7abaedea6552697ab"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_toolchain_contracts._composite_step_condition (cognitive 19): rust_toolchain_contracts._composite_step_condition has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/lib/rust_toolchain_contracts.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0881455ce05980a5bc7ed4c57992c3973543a80e6b13d3d7b0721e5b010798"}},{"ruleId":"D2","level":"warning","message":{"text":"google_api_helpers._google_drive_file_id_by_name (cognitive 19): google_api_helpers._google_drive_file_id_by_name has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (5 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"118e13d41f1dbaace7acc82e5f29bd8ef0b3c90acc5a49708b5f8421a1caa18e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_event_run_id_for_message (cognitive 19): run_live_qa._slack_event_run_id_for_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, error handling 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c3e619f82a70d84481aa5d28e2fa839bf484ea00c06affbbfa3d19adcf6e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._slack_workspace_mismatch_error (cognitive 19): run_live_qa._slack_workspace_mismatch_error has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6 (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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4160}}}],"partialFingerprints":{"codehealthFindingId/v1":"45871c11efdf4fda2ccb7bfe539a4bb4051584ec33b1ed74765cbd29876fcc15"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity.summarizeTools (cognitive 19): tool-activity.summarizeTools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (8 pts), boolean chains 1, 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f18329979f1cc26033da3aeff8a5df2179dbfdc3f14853123dfe2cb839954cc"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-tree.TreeNode (cognitive 19): workspace-tree.TreeNode has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 3 (5 pts), boolean chains 3 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 4 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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76fa55c4b8f3a1f43ff439d86bb6668939d7f8339d388b4179024f02ea3380f"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-api.readWorkspaceFile (cognitive 19): workspace-api.readWorkspaceFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9 (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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"44220bced9756d5f0680439f0b34a097af883257fa4a6e067bcfb6e1e10fb143"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-refresh.nextAutomationsRefetchDelay (cognitive 19): automations-refresh.nextAutomationsRefetchDelay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (6 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-refresh.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"614890263be4f761fb0ddcccef5cbbdf0bbe63780c2ac66a490fd69df7868dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-card.SkillCard (cognitive 19): skill-card.SkillCard has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, ternaries 3, if/else 2, error handling 1. Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-card.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556ef3a7f980b154664f1a51d0f8ae2d21554a143510b65a16df6e4f2043c08"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration-tab.ConfigurationGroup (cognitive 19): configuration-tab.ConfigurationGroup has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 8, error handling 1. Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 141, 94, 128). 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fcc89cb14abeef18d4d454f2cfa6f74287f2bf923bfca98ac720e77cdda0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"index.render (cognitive 19): index.render has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 3, ternaries 1. Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 90, 105, 118). 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":"docs/internal/archived-skills/portfolio/widget/index.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bfe8c90855a5b4a84dafe4d41b4515f0d7dc7f8ddff87b69e2661384ea9958"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreApprovalSettingsProvider::tool_override (cognitive 18): StoreApprovalSettingsProvider::tool_override has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (8 pts), loops 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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac8e6d5b4a11e4e21f61120502b5b73860953d8529e4c936e9ce05e9ac0cc30"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_contracts::content_digest::match_iso8601_bytes (cognitive 18): ironclaw_loop_contracts::content_digest::match_iso8601_bytes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_loop_contracts/src/content_digest.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9009a79039aefdf2a4c78df41b43a9257796f9d3fcf16df864510f6ca208ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornIdentityStore::resolve_or_create (cognitive 18): RebornIdentityStore::resolve_or_create has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_identity/src/identity_store.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ef7b5c63c7b3ee7ddf74daa275335f67d5bcd0e90d6280b4acd7b1fa01ac1d"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::from_gemini_response (cognitive 18): GeminiOauthProvider::from_gemini_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5dec8dedad4a90778d630b36a8eab0f75525ee11877e10eadde3b4fe3d2874"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryProvider::streaming_retry_loop (cognitive 18): RetryProvider::streaming_retry_loop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 2, match/switch 1 (2 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":"crates/domains/ironclaw_llm/src/retry.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b14e0c5df5c36724b5608aaf10346bc78f97e11dc42efe8c8629106aa2173e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::reasoning::strip_markdown_fence_block (cognitive 18): ironclaw_llm::reasoning::strip_markdown_fence_block has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80490c1364bd4f1e9bac24cbd91719d9ea891c5fa96c5cd8f81c8d55e5bb052"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemSessionThreadService::accept_inbound_message_with_replay_metadata (cognitive 18): FilesystemSessionThreadService::accept_inbound_message_with_replay_metadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 4). 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"e316ad11cf5534703b51e59bf1081515a61b306059d43989d326e4974e58d3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_host::lifecycle_restore::restore_extension_lifecycle_state (cognitive 18): ironclaw_extension_host::lifecycle_restore::restore_extension_lifecycle_state has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, match/switch 1 (2 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":"crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfea0eb97286af6037265713cfacdfde5614c2099a9dffe9bfe32cb5e8f667c"}},{"ruleId":"D2","level":"warning","message":{"text":"HostApiContractRegistry::project_manifest (cognitive 18): HostApiContractRegistry::project_manifest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), match/switch 1 (2 pts), boolean chains 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":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25f0a9bacb1f81bb8a2b316bf79d5d2de99d3362279c31de546b5c32e5a7510"}},{"ruleId":"D2","level":"warning","message":{"text":"github_tool::api::pulls::validate_review_comments (cognitive 18): github_tool::api::pulls::validate_review_comments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, 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":"crates/extensions/packages/github/wasm-src/src/api/pulls.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"509541e43cda9e22b69a28b93a57d1d41f32d89bbd10156470ed56b9b4ad6b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_memory_native::service::split_curated_text (cognitive 18): ironclaw_memory_native::service::split_curated_text has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1cd05f7447f28170c6aee51a0a47b0937e94e3237971a83ed9e85befc73fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::reply_sink::plan::publishable_len (cognitive 18): ironclaw_slack_extension::reply_sink::plan::publishable_len has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (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":"crates/extensions/packages/slack/src/reply_sink/plan.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caed2242a1ae12a2fcf324593e2dab119eb44bf4fa18203295cf07071ffc6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_turns::loop_exit::completion_kind_ref_violation (cognitive 18): ironclaw_turns::loop_exit::completion_kind_ref_violation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 4). 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":"crates/kernel/ironclaw_turns/src/loop_exit.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c1757ccadeb0a36db242fb52d783b5c17c4f25d9324c410715ce604746529d"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_sandbox::sandbox_process::user_container::ensure_user_container (cognitive 18): ironclaw_sandbox::sandbox_process::user_container::ensure_user_container has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3416422bb59fc202fe9587bdb39fec787af99e579e070962419b35dd5d382d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityStage::invoke_batch (cognitive 18): CapabilityStage::invoke_batch has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (5 pts), match/switch 2 (4 pts), loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/capability_batch.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b358fa6aefbee8bd1f683e971c203defd792b9cda91b1710ce5c57b3e76eae01"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemHostInputQueue::confirm_flips (cognitive 18): FilesystemHostInputQueue::confirm_flips has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). 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":"crates/loop/ironclaw_loop_host/src/durable_input_queue.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad67bab4cc3d4156d586b7a2719e39c5aa09c2f9b670a4b1acfc80e293be0876"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizedToolSearchIndex::search (cognitive 18): AuthorizedToolSearchIndex::search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/tool_search.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6942e35437163766e7d1bfa6fb697ecdaf9904a9b7c942cdb4883280bdfdcef5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::skill_activation::activation::extract_explicit_skill_names (cognitive 18): ironclaw_loop_host::skill_activation::activation::extract_explicit_skill_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (5 pts), boolean chains 4 (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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"593efcf9ec63e4a1125624eb1f77d0413a64f699e597e08a3de6485736c751e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::skill_activation::activation::normalize_dollar_skill_mentions (cognitive 18): ironclaw_loop_host::skill_activation::activation::normalize_dollar_skill_mentions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c3f32d44ac5addb409390644f71e8483194d3ad991f0bcd98994669aac1ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_turn_runner::runtime::build_default_planned_runtime_inner (cognitive 18): ironclaw_turn_runner::runtime::build_default_planned_runtime_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ceece1eee2351240b69c93bf9570d56109515ef5ee072ac0ccc246c9424e8"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornServices::list_automation_threads_needing_approval (cognitive 18): RebornServices::list_automation_threads_needing_approval has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":5896}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e95a70e7fba420b49e222face72056767de8fe1e57930664730afc26cc586"}},{"ruleId":"D2","level":"warning","message":{"text":"RunDeliveryObserver::wait_for_actionable (cognitive 18): RunDeliveryObserver::wait_for_actionable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7f81930cd4f1d4d17290bcc8de314fa7909e8d1a40b492932318bbfa782227"}},{"ruleId":"D2","level":"warning","message":{"text":"RunDeliveryObserver::busy_hint_from_run_state (cognitive 18): RunDeliveryObserver::busy_hint_from_run_state has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (18 pts) (nesting depth added 11). 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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f9a946e374ff2d2013b2c8c0baed8f6cd9e3faf8f56a62d99d6f401b7ceae5"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOutcomeProcessCommitObserver::resolve_open_run_notifications (cognitive 18): RunOutcomeProcessCommitObserver::resolve_open_run_notifications has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60cf6cff5635baa827535c38f3b681d2d0111ba57d676ed923c31ede5c44d37"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultProductSurface::submit_inbound_inner (cognitive 18): DefaultProductSurface::submit_inbound_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (3 pts), boolean chains 2 (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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fb3b04a48a8778e63dd6d2b50f7a8d8585ae718a7bbb5a5c302bbe5e25ea8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::run_delivery::gate_routes::record_gate_route_if_needed (cognitive 18): ironclaw_assistant::run_delivery::gate_routes::record_gate_route_if_needed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_delivery/gate_routes.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff559df11073a056d5a63f7d7bf8c600a3abb798369011ee18681bd9820c815"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::projection::push_ordered_initial_runtime_items (cognitive 18): ironclaw_assistant::projection::push_ordered_initial_runtime_items 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc028bde650995dd8dfaafecf068faa4b9e6cbc4154c037c433b69b3a8fc6037"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_latency_runner::main (cognitive 18): ironclaw_latency_runner::main has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3, match/switch 1 (nesting depth added 9). 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":"harness/latency/runner/src/main.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"330242903d24d6625c3511317490c12dc51d0ae9c7ef587b0e5cc15beece02f6"}},{"ruleId":"D2","level":"warning","message":{"text":"changed_workspace_packages.changed_production_packages (cognitive 18): changed_workspace_packages.changed_production_packages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 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":"scripts/ci/changed_workspace_packages.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc2df11018f6df14b6aabdfaa0ee00edd36ab2e7899213f969db722be0f392"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance._reference_resolves (cognitive 18): check-guidance._reference_resolves has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-guidance.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec64157a985a7d613ef5423f33ff00296ab37f39c02da891ddfb146f570dc2e"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.check_references (cognitive 18): check-guidance.check_references has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (8 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":"scripts/ci/check-guidance.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"0159a46460896134cc4d132704272f8bdcdae548c0821f80d03d1ac7ac134775"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.check_family_tables (cognitive 18): check-guidance.check_family_tables has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (2 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":"scripts/ci/check-guidance.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1089f1960db512252e2fa9a1f3813424ea9e505d527d2cefb90d5403b2e6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"smoke-release-binary._validate_bundled_extensions (cognitive 18): smoke-release-binary._validate_bundled_extensions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (2 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":"scripts/ci/smoke-release-binary.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788cd7c0721fa1e316c16f1fdc74bbf53455bf7b0ab53004b779b6baede1b65"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack._format_reborn_qa_group (cognitive 18): notify_slack._format_reborn_qa_group has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2 (3 pts), boolean chains 1, 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46d158040057e22b0decd0872ed9503aaaee3b5a61a284a5af01878a05bf2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_execution_evidence.build_audit (cognitive 18): audit_execution_evidence.build_audit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_qa_matrix/audit_execution_evidence.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51c416b0883ebe64b8b138064abe19f3a8ed039f75c1036917f30ce550af8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._trigger_run_outbound_deliver_evidence (cognitive 18): run_live_qa._trigger_run_outbound_deliver_evidence has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3791}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fda5d148d72a8946f67492019da49cb1fb6d86d91d4d80f737775e281f817"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._capability_run_statuses (cognitive 18): run_live_qa._capability_run_statuses has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9faf575b856427651626f56b5af89fad11eeebce18051450f1547446a6f60ab"}},{"ruleId":"D2","level":"warning","message":{"text":"slack_helpers._seed_generated_slack_product_auth_if_configured (cognitive 18): slack_helpers._seed_generated_slack_product_auth_if_configured has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"592bd7c06bd9e40113dfab4dd921069a547ed0b140ece1d424d7ba68dd314db0"}},{"ruleId":"D2","level":"warning","message":{"text":"history-messages.toolCardFromPreview (cognitive 18): history-messages.toolCardFromPreview has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 15, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add9a197dc17402e331c31ae50fff37b0630739d372d4172f0761ef596ded1d"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.useAuthSession (cognitive 18): auth.useAuthSession has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 2. Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 191, 135, 175, \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":"crates/product/ironclaw_webui/frontend/src/app/auth.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa51a2c7ec265c75399d99622cd177c1562f1076b406aaabc4f1cc7069f373"}},{"ruleId":"D2","level":"warning","message":{"text":"approval-card.ApprovalCard (cognitive 18): approval-card.ApprovalCard has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5ac3c61a55ac309d95a827831fd31d678302e4b14a8a848999cf6fb4c5648"}},{"ruleId":"D2","level":"warning","message":{"text":"notification-channels-panel.DevicePushBlock (cognitive 18): notification-channels-panel.DevicePushBlock has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e5f32323773e0c8fb737971553223aabae5fa3b057b4c5d143f0077af9be7f"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-mcp-registration-modal.connectionErrors (cognitive 18): custom-mcp-registration-modal.connectionErrors has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (4 pts), boolean chains 3, error handling 1 (2 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/custom-mcp-registration-modal.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d4eda221f34333112ddba5ff558c6bb1d14250e2ef5648a01659d2f533bb22"}},{"ruleId":"D2","level":"warning","message":{"text":"thread-scraping-panel.ThreadScrapingPanel (cognitive 18): thread-scraping-panel.ThreadScrapingPanel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 18. Of this number, 16 points are the body\u0027s own statements and 2 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/thread-scraping-panel.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2d607a43a9e04d8ee214caeb4b8b53f370c4f4ebb04f96eb8b59c16db9f4b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw::commands::traces::show_queue_status (cognitive 17): ironclaw::commands::traces::show_queue_status has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 2 (4 pts) (nesting depth added 2). 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f48b6d5de52b76da3da4117c2221f417131530de6ea8877e3784a2cd733c54"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw::commands::traces::apply_cli_submission_status_updates_to_records (cognitive 17): ironclaw::commands::traces::apply_cli_submission_status_updates_to_records has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e588bb4c4f3f4b4b854331029b8c8781e8a8ee711b4a18bf3f6d3b5a802c10"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_api::credential_redaction::redact_credential_text (cognitive 17): ironclaw_host_api::credential_redaction::redact_credential_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 3 (6 pts), match/switch 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":"crates/contracts/ironclaw_host_api/src/credential_redaction.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ee8cf147cd78d8f153721db6ed3a01cdec4938db3e2785d1c8f646495beaf"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornIdentityStore::delete_external_identities_for_user (cognitive 17): RebornIdentityStore::delete_external_identities_for_user has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_identity/src/identity_store/directory.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f44ad78bfdf3699cf339f513c1167bab511308a6843ae7b3e1b741cc37572e1"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornIdentityStore::list_users (cognitive 17): RebornIdentityStore::list_users has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_identity/src/identity_store/directory.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac1a5d057c79345863dd3961783e67b5563db96a6cad20667f2b651ec591c98"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiOauthProvider::curate_contents (cognitive 17): GeminiOauthProvider::curate_contents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"6690f370ecc92bf97149406e2794652ee2822975a223def190af441b22d89d84"}},{"ruleId":"D2","level":"warning","message":{"text":"NearAiChatProvider::send_request_inner (cognitive 17): NearAiChatProvider::send_request_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3 (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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"952ab462899d2e422f26815cec030719786e0fdbb42bf192584b79ba17a1b030"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::github_copilot::convert_messages (cognitive 17): ironclaw_llm::github_copilot::convert_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (5 pts), loops 1 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/github_copilot.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa88937a1c83c8258827fb6c0650e6a2b665883d4d781493e3b6bfec7679719"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_llm::agent_message::agent_messages_from_chat_messages (cognitive 17): ironclaw_llm::agent_message::agent_messages_from_chat_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), match/switch 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":"crates/domains/ironclaw_llm/src/agent_message.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07f07f9aa530e6d78d94c91863c3f1c4654b420c1ac9121500974ae914e72ef"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationInboxStore::publish (cognitive 17): NotificationInboxStore::publish has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_notifications/src/store.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"715ea04bee4f3450c872df741ce9dccc6b7f9c30d51a01e698518107119d91f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::validation::normalize_skill_identifier (cognitive 17): ironclaw_skills::validation::normalize_skill_identifier has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), boolean chains 2 (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":"crates/domains/ironclaw_skills/src/validation.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6200389b6c607dbe1746e415e1b7f973f3ae42661fa785430fd61a1eccf452"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::selector::prefilter_skills_with_options (cognitive 17): ironclaw_skills::selector::prefilter_skills_with_options has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (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":"crates/domains/ironclaw_skills/src/selector.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a040f2a2871d633fda45b4780ae16835fba3143e43ed544f78ce8e78c21720"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_skills::selector::score_skill (cognitive 17): ironclaw_skills::selector::score_skill has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_skills/src/selector.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44e2624a054f27b8f1345d202ecaaa8e7a372d3172c016a3b6e58833778326c"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::filesystem_service::thread_index::projection_repair::repair_thread_index_projection (cognitive 17): ironclaw_threads::filesystem_service::thread_index::projection_repair::repair_thread_index_projection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), match/switch 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index/projection_repair.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"05280dfa3991b227bf54a08bdf9112fab795ec8948e8be6072681bbd37f4bbec"}},{"ruleId":"D2","level":"warning","message":{"text":"RawTraceContribution::from_recorded_trace (cognitive 17): RawTraceContribution::from_recorded_trace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), match/switch 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":"crates/domains/ironclaw_trace_commons/src/contribution/capture.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a047d15af55ac3deb8f6824e981f2df65cc0499afa6c8db9541375f6c8a641c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_host::available_extensions::credential_requirements (cognitive 17): ironclaw_extension_host::available_extensions::credential_requirements has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/available_extensions.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c712db1b4724e920ffd516f1732e6fac28d35abf90746a52e1366b50bb93d71b"}},{"ruleId":"D2","level":"warning","message":{"text":"github_tool::api::issues::list_issue_only_page (cognitive 17): github_tool::api::issues::list_issue_only_page has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ad61c5efc4b7ca83ed5bab04ebb16060854aa5fa212e05742dfa12013cec95"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryMemoryBackend::append_document_with_backend_options (cognitive 17): RepositoryMemoryBackend::append_document_with_backend_options has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea45e222a1462f271b52789a943810bd36b49182636bcf7377e9d4a543be8ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_slack_extension::payload::normalize_user_message (cognitive 17): ironclaw_slack_extension::payload::normalize_user_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, match/switch 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":"crates/extensions/packages/slack/src/payload.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b844e5c056fd924123a0369edb909602754e2567146de846673c7199e5864a"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::supervisor::drain_queued (cognitive 17): ironclaw_processes::supervisor::drain_queued has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (4 pts), match/switch 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":"crates/kernel/ironclaw_processes/src/supervisor.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21c25293f2454816b2a92b0218da793b408dfe6f87757f6c6ed8501beafada5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTurnCoordinator::derive_unbound_submission (cognitive 17): DefaultTurnCoordinator::derive_unbound_submission has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, match/switch 2 (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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c27f23b1c186fe8cb688c87ca15f9aa111e42154fed7c54751d2a8e45432e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"HostManagedLoopModelPort::stream_model (cognitive 17): HostManagedLoopModelPort::stream_model has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), match/switch 3, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_turns/src/host_managed_ports/model.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab568d0c08bf869bb45e87669833086d47884d991ab09681de7a2b4cc31ad78"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryPredicateStateBackend::record_invocation (cognitive 17): InMemoryPredicateStateBackend::record_invocation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (InMemoryPredicateStateBackend::record_value) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1207506df1c5ac532cefba7ff78a602608f8f96f0792d6f8f9025756103d9eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryPredicateStateBackend::record_value (cognitive 17): InMemoryPredicateStateBackend::record_value has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (InMemoryPredicateStateBackend::record_invocation) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84791d4e68386c68fa03a59d277143cfa503db798551b992ff25d3c9d4add21"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactionTask::validate_range (cognitive 17): CompactionTask::validate_range has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/compaction_task.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb756cdc956fa55c7c8f2076290e0f9edc4a78c20734ead964b48faf4fd6d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultReadHandler::invoke (cognitive 17): ResultReadHandler::invoke has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (15 pts), boolean chains 1, if/else 1 (nesting depth added 6). 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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eda73a55ddd727dcdac49ee33877f5983d4d9bdd6e32cd904f36b153158fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_assistant::inbound_turn::validate_and_normalize_inbound_attachments (cognitive 17): ironclaw_assistant::inbound_turn::validate_and_normalize_inbound_attachments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/inbound_turn.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e1b62329406d5ebe788eadb8454dffc55e3391595c1151fe8cb1020db630a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::html_pdf::decode_entities (cognitive 17): ironclaw_documents::html_pdf::decode_entities has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (7 pts), if/else 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/html_pdf.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f84fa6c97b7cb1fac2a251c2c4e1683a57543294fc3324327c2fc3bf47644"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_documents::xlsx::sheet_parts (cognitive 17): ironclaw_documents::xlsx::sheet_parts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 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":"crates/substrates/ironclaw_documents/src/xlsx.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"62064ce0d55b13909df5a8405767c27dac8cf72a31744f056a67688821d22e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryBackend::list_dir_page (cognitive 17): InMemoryBackend::list_dir_page has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e8838917e96a1f9bb9d8a766ce4a522b1be839472da7bb13139ce8adfd8659"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::sweep::enforce_thresholds (cognitive 17): ironclaw_stress::sweep::enforce_thresholds has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, 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":"tools/ironclaw_stress/src/sweep.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff00ea5b851df0e631395f1260dbaaa6b93e7dbf87332b1c8ad32f66cd13bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"check-guidance.check_claude_aliases (cognitive 17): check-guidance.check_claude_aliases has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/check-guidance.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea01c209575442a655f29d0f57ed5613d864f6f3b36f545a5bce9bba6d714c8"}},{"ruleId":"D2","level":"warning","message":{"text":"cut_ironclaw_release._manifest_version (cognitive 17): cut_ironclaw_release._manifest_version has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/cut_ironclaw_release.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"de47391c74739aa0dae7f4bf6ede306e1d448b9eda4308d370abcf0e94c0a8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"import-reborn-run-artifact.trace_candidate (cognitive 17): import-reborn-run-artifact.trace_candidate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, 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":"scripts/import-reborn-run-artifact.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4388b54eb59563b210e548ae368f15d47e8e8177ad5f269da2ef1032e52bce"}},{"ruleId":"D2","level":"warning","message":{"text":"notify_slack.categorize_failures (cognitive 17): notify_slack.categorize_failures has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2, loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"518b5f615d5d91f7e70cb2a08bd5911d2a498067c280e8611a6b0879ec2c8015"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_workbook_completeness.build_audit (cognitive 17): audit_workbook_completeness.build_audit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (5 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":"scripts/reborn_qa_matrix/audit_workbook_completeness.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2dffec14fbab85f7192d39d76994c3fe2419c15f0f11987d73e41210737c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"google_api_helpers._google_sheet_contains_marker (cognitive 17): google_api_helpers._google_sheet_contains_marker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (5 pts), loops 2 (3 pts), boolean chains 1, error handling 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":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678efb917f3cf2f3ed14db7f7034c490d83369253b848b6ee3701bf28bcd963"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh_google_oauth.refresh_access_token (cognitive 17): refresh_google_oauth.refresh_access_token has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 4 (5 pts), boolean chains 4 (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":"scripts/reborn_webui_v2_live_qa/refresh_google_oauth.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20001c8b132e3d36ccd112d5a9516476f3c45956acb355e153c22166089a8ba"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._delivered_gate_routes_for_run (cognitive 17): run_live_qa._delivered_gate_routes_for_run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, error handling 1 (2 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e9f9226dc572ef44b5396818439f4ae1e8cc8ad8ec99d6c5d80cab705edc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._marker_match_stats (cognitive 17): run_live_qa._marker_match_stats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3561}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f92f84244efc1006503163196e27a9ce5b00bd8c5bc29fe368b41c6bd3d6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa.case_qa_10f_slack_mention_encoding (cognitive 17): run_live_qa.case_qa_10f_slack_mention_encoding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":8365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2be5bac3be591775662985811567bd498176ea0eb85663b1967fe4a8a091893"}},{"ruleId":"D2","level":"warning","message":{"text":"run_smoke.poll_for_reply (cognitive 17): run_smoke.poll_for_reply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/slack_smoke/run_smoke.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ab65751197e31ce31ea313627feb136e6c04167ca1f21ff94ef52e0c9436c9"}},{"ruleId":"D2","level":"warning","message":{"text":"routine_visibility_from_telegram.run (cognitive 17): routine_visibility_from_telegram.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 2, 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":"scripts/workflow_canary/scenarios/routine_visibility_from_telegram.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"388b5cbb2d0117489f3b4382ded28a2683ad183fc389b9d6e1dc01e67c22060e"}},{"ruleId":"D2","level":"warning","message":{"text":"telegram_round_trip.run (cognitive 17): telegram_round_trip.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 2, 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":"scripts/workflow_canary/scenarios/telegram_round_trip.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e7ed587a95ddc37b7a72cd2f5b178f062618f9f848507a92d58fce7e49fd7a"}},{"ruleId":"D2","level":"warning","message":{"text":"api.describeApiError (cognitive 17): api.describeApiError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), boolean chains 5 (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":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d1e6c16fa64c4f2e58eea6b33f686c591250861271a7348472a59272a4ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"cn.cn (cognitive 17): cn.cn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/utils/cn.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4271b6fda48158f8c256f0b8923d79fa6240403f8fdc9734fe4c748c7de62b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"useThreads.useThreads (cognitive 17): useThreads.useThreads has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 105, 129, 44, \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"048b5b1d600fb2664dbfe52cd197a808fd3537695e3a12abae69fd4d129a17e5"}},{"ruleId":"D2","level":"warning","message":{"text":"page-header.PageHeader (cognitive 17): page-header.PageHeader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3, boolean chains 2, loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 22, 41, 111). 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":"crates/product/ironclaw_webui/frontend/src/components/page-header.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c681fc9a579560bdcbaeee59ab9c23859dd3c2bb495ac5ce5764e1ad6fe01bf"}},{"ruleId":"D2","level":"warning","message":{"text":"inspector-panel.PromptShell (cognitive 17): inspector-panel.PromptShell has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (5 pts), ternaries 2 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d867df52c70b6f84679343f5822dce211b8892d48ebfaa799e29c6f8785cf490"}},{"ruleId":"D2","level":"warning","message":{"text":"notification-channels-panel.NotificationChannelsPanel (cognitive 17): notification-channels-panel.NotificationChannelsPanel has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 1. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 346, 264, 238, \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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c57dc495cbb003662c50e541805382f705463c7b47d5b7876cddf1af1b87d"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-card.RegistryCard (cognitive 17): extension-card.RegistryCard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 8 (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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e032b9c1b18eac24142b9db1b11140e3c88232104e9767826262f1e237365db2"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-management.ProviderManagement (cognitive 17): provider-management.ProviderManagement has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 5, if/else 2 (4 pts) (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 7 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce47f257869860964edd82c3fdf6579e983b962fae99ecba06f23f7c015d9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw::commands::models::print_provider_list (cognitive 16): ironclaw::commands::models::print_provider_list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/models.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413075a9c2f57aaa5c35c26d3407b567112d8716644d9936d209ce52cfa6a72"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_composition::automation::trigger_delivery_migration::migrate_one (cognitive 16): ironclaw_composition::automation::trigger_delivery_migration::migrate_one has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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":"crates/app/ironclaw_composition/src/automation/trigger_delivery_migration.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b209f819b1b6290ed3346c2b520e288b8a8934e43cbcb5635a48ed592bcebb39"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_common::identity::canonicalize (cognitive 16): ironclaw_common::identity::canonicalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, 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":"crates/contracts/ironclaw_common/src/identity.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"618aa08da272656bf73180ae8736697ccfe8d66fb6dce7affc1df7ca830ed297"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_product_contracts::interaction_commands::parse_interaction_resolution_text (cognitive 16): ironclaw_product_contracts::interaction_commands::parse_interaction_resolution_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_product_contracts/src/interaction_commands.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58248cec7a7ed437bbae29f0d41ea259cc430c346fc77e5e1d4f829add59309"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_auth::engine::exchange::extract_token_response (cognitive 16): ironclaw_auth::engine::exchange::extract_token_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/engine/exchange.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf90dcbfb6317baa1a1d9b85e39c429fb921228e3b9438195cf573a530cc67"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extractors::extract_pptx (cognitive 16): ironclaw_extractors::extract_pptx has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 2, loops 2, match/switch 1 (2 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b06797a3dbe2f260167346580dbc684a431c3cc79bfe7ba3c756d84a0e17ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialManager::get_valid_credential (cognitive 16): CredentialManager::get_valid_credential has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 7). 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6624fec307702c386c65d701ba5328d48b3dd421b4ba64ad311dae07756acf2"}},{"ruleId":"D2","level":"warning","message":{"text":"OutboundStateStore::sweep_expired_delivered_gate_routes (cognitive 16): OutboundStateStore::sweep_expired_delivered_gate_routes has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 3 (6 pts), loops 1 (nesting depth added 7). 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81ce48fe8489db1d7e00cf4a26cffe25d0b15155bbb2e333c0a94c8b3f65de"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_threads::summary_artifacts::find_overlapping_summary (cognitive 16): ironclaw_threads::summary_artifacts::find_overlapping_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/summary_artifacts.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31a55bd73cf4f36e481b3b74b3bb57da3283a7ef8cad6dcc08ee2d9c86d2414"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEnforcedChannelEgress::approve (cognitive 16): PolicyEnforcedChannelEgress::approve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, loops 2, match/switch 2 (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":"crates/extensions/ironclaw_extension_host/src/egress.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7a0a2959055fb567b6505e899833ac9c2bbcb776d4dac45710adc7df0a745"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemInboundBatchStore::scan_live_batches (cognitive 16): FilesystemInboundBatchStore::scan_live_batches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (5 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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0006a109c0af265662e05ab124ccb8b81b5e5c8168cac09c625e314e5a5912"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_registry::v3::validate_channel_admin_configuration (cognitive 16): ironclaw_extension_registry::v3::validate_channel_admin_configuration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 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":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c08e0a733e0839d895bb0d0fa0848fd3ab20c324fe0f3eb716227bf22c20ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"GsuiteExecutor::dispatch (cognitive 16): GsuiteExecutor::dispatch has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (11 pts), if/else 3 (5 pts) (nesting depth added 5). 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7fd382742a9394f75c80d46a0fdf8a609c98bbe379d833ad090fe5a76d3f36"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::skills::url_install::github::resolve_github_ref_from_segments (cognitive 16): ironclaw_extension_support::skills::url_install::github::resolve_github_ref_from_segments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6c6162f7d7a5dcd0dbc4d046728583592cdfd9b8d283d965ec1eab9bdba5de"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_extension_support::coding::grep_tool::build_grep_output (cognitive 16): ironclaw_extension_support::coding::grep_tool::build_grep_output has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 2 (5 pts), boolean chains 2, match/switch 2 (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":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b6b99ff689eeef9783abfe3e955e2f3da6a1623e30b9cd5d13d528b1afcd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_approvals::profile_gate::require_approval_for_profile_policy (cognitive 16): ironclaw_approvals::profile_gate::require_approval_for_profile_policy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 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":"crates/kernel/ironclaw_approvals/src/profile_gate.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4179961ab438aa275bd92e966040957ed9774d8f5d5045a2469605ad952ade8"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_host_runtime::egress::sanitize::sanitize_runtime_response (cognitive 16): ironclaw_host_runtime::egress::sanitize::sanitize_runtime_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, 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":"crates/kernel/ironclaw_host_runtime/src/egress/sanitize.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bafa67574823ac88014c5d01ef7743850b630d6071f4b4994428d26eedd8122"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_processes::journal_store::migration::legacy_authority_records (cognitive 16): ironclaw_processes::journal_store::migration::legacy_authority_records has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), match/switch 2 (5 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":"crates/kernel/ironclaw_processes/src/journal_store/migration.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef35ddd632856207f9b13a5420a82dcbe247d31d50a8472732d38ba5904b2a53"}},{"ruleId":"D2","level":"warning","message":{"text":"HostManagedLoopPromptPort::validate_request (cognitive 16): HostManagedLoopPromptPort::validate_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f53c354f98b279a2aae72939af4ccaf091e67b8723098f8def0ad3cbf5164f"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_mcp::jsonrpc::parse_mcp_sse_response (cognitive 16): ironclaw_mcp::jsonrpc::parse_mcp_sse_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"crates/lanes/ironclaw_mcp/src/jsonrpc.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c92c4bd60c9d32f8bf78a3cf53d6c8446d1112487a7be9c3e328cbc5f565485"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolDisclosureCapabilityPort::invoke_tool_search (cognitive 16): ToolDisclosureCapabilityPort::invoke_tool_search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f79e4ebec8a6adb558f48b0dfe1c6f62fef5f6431acc31d6f4bc7d964b7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_loop_host::capability_port::extension_id_slug (cognitive 16): ironclaw_loop_host::capability_port::extension_id_slug has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 2, loops 2, match/switch 1 (2 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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f0604eff70f541bd9140774e3efa0f835f4a28be2239b006bdf6c58c37ac2a"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemIdempotencyLedger::settle (cognitive 16): FilesystemIdempotencyLedger::settle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 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":"crates/product/ironclaw_assistant/src/filesystem_ledger.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b988f0e1e99848d8aef9ae826e6947055393497fdce0089098e8c1c8169354b"}},{"ruleId":"D2","level":"warning","message":{"text":"RebornServices::automation_approval_thread_candidates (cognitive 16): RebornServices::automation_approval_thread_candidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":6064}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfc0e189fa36e30ba6195597170fcaa9fa1b83459066d1f632448a4a3d3ffc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_operator::llm_admin::llm_config_service::validated_model_policy (cognitive 16): ironclaw_operator::llm_admin::llm_config_service::validated_model_policy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc112a12fc69498002a1606fda4cc552edb49bcefe0a123d921a3e55e86853b1"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresRootFilesystem::ensure_index (cognitive 16): PostgresRootFilesystem::ensure_index has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6190d516e79057596b0149923eb0c042991336891b53a0565b323cf1e10cb806"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::api_capacity::summarize_scripted (cognitive 16): ironclaw_stress::api_capacity::summarize_scripted has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), match/switch 1 (2 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"496ceca35509d4c4f39d2c59ce5a324ecc6fea029a4e138d71f42ce2e4adbe21"}},{"ruleId":"D2","level":"warning","message":{"text":"ironclaw_stress::scripted::classify_checkpoint (cognitive 16): ironclaw_stress::scripted::classify_checkpoint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b2ef3e46b60733d3cc6a6509b15fc1950071d00fea7416268326f442af23b0"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_canary.async_main (cognitive 16): run_live_canary.async_main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/auth_live_canary/run_live_canary.py"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd114265fd16b1f21483e25d22097607c11f6e6c2b55b2e529d6ba7a53860a45"}},{"ruleId":"D2","level":"warning","message":{"text":"auth_runtime.start_oauth_setup (cognitive 16): auth_runtime.start_oauth_setup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, loops 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":"scripts/live_canary/auth_runtime.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3375f6d327753195b4887a09c38d1d0916271627ebe2ec97ecfc699187e8699e"}},{"ruleId":"D2","level":"warning","message":{"text":"auth_runtime.select_single_oauth_account (cognitive 16): auth_runtime.select_single_oauth_account has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live_canary/auth_runtime.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b962b12fafdcc253000848bd29ec2f96e36b2419542a9a5342a578d6ccf0574"}},{"ruleId":"D2","level":"warning","message":{"text":"common.wait_for_port_line (cognitive 16): common.wait_for_port_line has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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":"scripts/live_canary/common.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21cb3cb2a93a687d3c2b831338172c7f67336653efab59b786ac9172847b6f6"}},{"ruleId":"D2","level":"warning","message":{"text":"report_coverage._print_text (cognitive 16): report_coverage._print_text has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 4 (nesting depth added 6). 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":"scripts/reborn_qa_matrix/report_coverage.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"068faa512e3405251f9d94f3e1a6e7276f7dd39851e39b07268779be6c63aaaf"}},{"ruleId":"D2","level":"warning","message":{"text":"google_auth_helpers._stored_google_oauth_client_id_from_reborn_home (cognitive 16): google_auth_helpers._stored_google_oauth_client_id_from_reborn_home has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts), 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":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b363b93e98a3b50636f09c39cc821888685b281449ef6ae3b6c5a4f6dd49b6"}},{"ruleId":"D2","level":"warning","message":{"text":"google_auth_helpers._google_oauth_refresh_probe (cognitive 16): google_auth_helpers._google_oauth_refresh_probe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678aa6a9b505a2e8b51b68543c46e83b1fb6312d9821eaff112a517efd84456"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._routine_creation_case (cognitive 16): run_live_qa._routine_creation_case has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5531}}}],"partialFingerprints":{"codehealthFindingId/v1":"b368a85ea1f4ef1b53c6543c2c31341f2b6676804e5b7440a7b2043b23f6391e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_live_qa._wait_for_authored_slack_message (cognitive 16): run_live_qa._wait_for_authored_slack_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b03327d2a3110f1d1c004732586b9982342adffd911f15cfa41470683e726"}},{"ruleId":"D2","level":"warning","message":{"text":"run_benchmark._trace_metrics (cognitive 16): run_benchmark._trace_metrics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/tool_discovery_benchmark/run_benchmark.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"29722cf394e8e9c8ea6e576786b681b45cfc4899b53ac86e2b70e3feb9f26e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"useNotifications.useNotifications (cognitive 16): useNotifications.useNotifications has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. Of this number, 8 points are the body\u0027s own statements and 8 belong to 5 function literals 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":"crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"843d988556fa618c0511dc2961ba852b05964442f27a50896e9ff1252f19e814"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-threads.SidebarThreads (cognitive 16): sidebar-threads.SidebarThreads has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 2 (3 pts), ternaries 2, loops 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, 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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d77a63a6e3b40e7aad55e5763708db40978aec3323be639cac0d4c430c3232d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-dialog.ProviderDialog (cognitive 16): provider-dialog.ProviderDialog has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 3 belong 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10cc0808491b297b61529343ef86d84d6167d1b0b0b91c3225e76a6c044a015"}},{"ruleId":"D2","level":"warning","message":{"text":"registry-tab.RegistryTab (cognitive 16): registry-tab.RegistryTab has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2, if/else 1. Of this number, 9 points are the body\u0027s own statements and 7 belong to 4 function literals 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf45aeb47f5b80743c6bab7eeeb5f146739e7dac5ec02aeff30df1675579b32"}},{"ruleId":"D2","level":"warning","message":{"text":"users-tab.UserRow (cognitive 16): users-tab.UserRow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 5 (nesting depth added 3). 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a356e2c46f7fe907a21880c5f666843eb7949f3a95bceeba070ff51e2bb343"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reborn_webui_v2_live_qa/run_live_qa.py: FileTooLong \u2014 6856 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6356 over it, 13.71\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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dc83691fb8b9102391648291e00f67a7634db27bd005dd6ec57a2335805c11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::runtime::build_runtime_with_resource_governor: FunctionTooLong \u2014 ironclaw_composition::runtime::build_runtime_with_resource_governor runs 1184 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 1084 over it, 11.84\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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"491634d1fa07ff7bc9130008fa913e83acc0f2b6ad07158b36e11b070c443f1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/reborn_services.rs: FileTooLong \u2014 5647 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 125 free functions. The bar is 500 significant lines; this is 5147 over it, 11.29\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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f364016c3b5bd48b7e25d633eb4d315f27db0d6c254fde48cb6c5cf5da3fbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_host_runtime::first_party_tools::schemas::resolve_builtin_input_schema_ref: FunctionTooLong \u2014 ironclaw_host_runtime::first_party_tools::schemas::resolve_builtin_input_schema_ref runs 773 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 673 over it, 7.73\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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7583f8e2a2f1af956ac54f4622bc48b5d5b78dd055175d0114d8496b638636"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebornServices: ClassTooLong \u2014 3039 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), 181 methods, 8 blocks, lines 2502-6923. The bar is 400 significant lines; this is 2639 over it, 7.60\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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5a1fa50a38252c3a9bec4f27d7a1c06d6c423558a8b64c6b1187ebd6c069c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 3520 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 3020 over it, 7.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7732c444bfb20d244122b9a076e5b917be943008859b6d754e235ec41b51c171"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChat.useChat: FunctionTooLong \u2014 useChat runs 692 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 592 over it, 6.92\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f826e0d3c9af2bbfce9e4d233b4cec9ddfe3cdd3146073910abe73fc5f940bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemSessionThreadService: ClassTooLong \u2014 2724 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), 72 methods, 4 blocks, lines 229-3987. The bar is 400 significant lines; this is 2324 over it, 6.81\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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354b7614c8e718991ccaed51147b387763207b4825e3b8744ca4f10ee001c4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filesystem_service.rs: FileTooLong \u2014 3358 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 81% of them inside a single declaration: FilesystemSessionThreadService (4 blocks, 229-3987), declaring 54 free functions. The bar is 500 significant lines; this is 2858 over it, 6.72\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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b0a085b46a77ad5dc96771792afb6c559927707ac1561f064afc9af2703eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webui_v2/handlers.rs: FileTooLong \u2014 3332 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 188 free functions. The bar is 500 significant lines; this is 2832 over it, 6.66\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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c85e5456b5517b5b583b0dfc3b3f475647a5692fed81e4f75d04ef80d6476be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/installations.rs: FileTooLong \u2014 3263 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 61% of them inside a single declaration: ExtensionInstallationStore (4 blocks, 1291-4015), declaring 35 free functions. The bar is 500 significant lines; this is 2763 over it, 6.53\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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eace552fd5aaf233302e788469f5c660ec6620466111677f2b00c81f6a6702"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-input.ChatInput: FunctionTooLong \u2014 ChatInput runs 616 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 516 over it, 6.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d38ff02b3127ecc3f65063a6255dafb60bf6fe358ce127c53b10e0d5746d5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebornServices: TooManyMethods \u2014 181 methods, declared across 12 files: src/reborn_services.rs (143), reborn_services/llm_config.rs (8), reborn_services/product_commands.rs (8), src/suggestions.rs (4), \u002B8 more file(s). The bar is 30 methods; this is 151 over it, 6.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14741cbfa149effa7be45b31b280327d624bb9d7e22ec190036f01f1d72debe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityStage.process: MethodTooLong \u2014 process runs 554 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 454 over it, 5.54\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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1882fc1ad08dfc6f0c3a6bfc67b16641b0c4422cbf75a11065dcca36550889be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/capability_port.rs: FileTooLong \u2014 2762 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 59 free functions. The bar is 500 significant lines; this is 2262 over it, 5.52\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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"626cf02669debca213ff78bd84971f66131e550425bcf19f4ffee4ad3a584dab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 2502 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 46 free functions. The bar is 500 significant lines; this is 2002 over it, 5.00\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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"229a128a8fbc4d98515f9181bc7535c9ca04efd4f5a9fedfea83043cb6d1d42a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExtensionInstallationStore: ClassTooLong \u2014 1977 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), 65 methods, 4 blocks, lines 1291-4015. The bar is 400 significant lines; this is 1577 over it, 4.94\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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22f32aa3c9238f5e6955ed12720bb727695032359023696d2d63600a18f132d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github_tool::dispatch::execute_inner: FunctionTooLong \u2014 github_tool::dispatch::execute_inner runs 487 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 387 over it, 4.87\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":"crates/extensions/packages/github/wasm-src/src/dispatch.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d867b68dace5f670b8bd58d45e2b39a87b57d61a858962e99cb2db7e8864ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/libsql.rs: FileTooLong \u2014 2381 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 32 free functions. The bar is 500 significant lines; this is 1881 over it, 4.76\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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e638eae1ad8787942130a3d5b637debca7e437234167cf59ec1f6f231aa1a113"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/api_capacity.rs: FileTooLong \u2014 2319 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 63 free functions. The bar is 500 significant lines; this is 1819 over it, 4.64\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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fda0bf7a31466724f14a618a43a974e3f4f1daf1f12e00ee544a682e4985a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/product_lifecycle.rs: FileTooLong \u2014 2177 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 76% of them inside a single declaration: ExtensionLifecycleManager (3 blocks, 137-2862). The bar is 500 significant lines; this is 1677 over it, 4.35\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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eae37f890a8cd68ab1c759828a2b816252caa2ae092edeabd9b59062dd7219e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/model_gateway.rs: FileTooLong \u2014 2177 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 53 free functions. The bar is 500 significant lines; this is 1677 over it, 4.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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2d2cc8ffa1445186086b34e1e09cd5c6ecc260369634dd8645d99e0174dc15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: configure-modal.ConfigureModal: FunctionTooLong \u2014 ConfigureModal runs 422 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 322 over it, 4.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7840bef748727c95e9d72e77eff32d39b9766aab4ad13bbf28060e2ccb10a2f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExtensionLifecycleManager: ClassTooLong \u2014 1658 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), 64 methods, 3 blocks, lines 137-2862. The bar is 400 significant lines; this is 1258 over it, 4.15\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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1863fdc60942aed1e780454aaa71e3e1970cc74fd25daa173987abd84d2026df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/postgres.rs: FileTooLong \u2014 1947 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 36 free functions. The bar is 500 significant lines; this is 1447 over it, 3.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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd8b680ca0663ac4ebb1c6e39a5a029f6a5124e4f01bd1a6a91a25e2181b6f9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebornRuntime: ClassTooLong \u2014 1542 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), 66 methods, 4 blocks, lines 601-3049. The bar is 400 significant lines; this is 1142 over it, 3.86\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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b51d434397bec6761733d7bd09bea94c49230fb660fccad4c45ae52b7b11f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 1913 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 37 free functions. The bar is 500 significant lines; this is 1413 over it, 3.83\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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7970a807216cbef2b825a5b9c6fbcd4dd3a17be7a4f1b345b5c1a35c5b662dd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/user_turn.rs: FileTooLong \u2014 1907 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 45 free functions. The bar is 500 significant lines; this is 1407 over it, 3.81\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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8806b55d7ca0093457dcac11f7cbd5ce94cc1e22709bb2eca3579cc98a050aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1853 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 45 free functions. The bar is 500 significant lines; this is 1353 over it, 3.71\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":"crates/kernel/ironclaw_resources/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7409df86c5c452f1050b6e15e46c0b73aea030df8bafa893976825521b163f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat.Chat: FunctionTooLong \u2014 Chat runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc61dc85014ba318f04537f43d118f0ac38b46a769f1c29fc2bd3881ed54d32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.resume_spawn_json: MethodTooLong \u2014 resume_spawn_json runs 369 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 269 over it, 3.69\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":"crates/kernel/ironclaw_capabilities/src/host/spawn_resume.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bc15a8f243230d3203ca20b14bf5fa36ac1ad5a04a60d0a18713c4fefa20a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornLoopDriverHostFactory.build_text_only_host_with_capabilities: MethodTooLong \u2014 build_text_only_host_with_capabilities runs 367 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 267 over it, 3.67\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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5138a7bacef78239f74cb64dff8889be146aaaece658c56cc499097e64eb3352"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Args: TooManyFields \u2014 109 stored fields beside 5 methods. The bar is 30 stored fields; this is 79 over it, 3.63\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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"24595d04d2fdef90db20db6c23ee72dfa0a191abcf58d015b4272406eaf41e58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_extension_registry::v3::parse_v3: FunctionTooLong \u2014 ironclaw_extension_registry::v3::parse_v3 runs 358 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 258 over it, 3.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":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8896418bbefbae1172dbedf9b469f6a5b3d2a9b5814d99acfc0022e9e9e431"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostRuntimeLoopCapabilityPort.invoke_capability_dispatch: MethodTooLong \u2014 invoke_capability_dispatch runs 356 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 256 over it, 3.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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d90ecddbea801b3fd28174e2a0a79e75c886e8d8e54ca0858176e9c9be6cf6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/libsql.rs: FileTooLong \u2014 1759 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 65% of them inside a single declaration: LibSqlTriggerRepository (3 blocks, 78-1572). The bar is 500 significant lines; this is 1259 over it, 3.52\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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3165644f7967b4a907f509f0374425389758d1dfed151759e8e60fbcd940b0c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::run_delivery::triggered::notify_background_run: FunctionTooLong \u2014 ironclaw_assistant::run_delivery::triggered::notify_background_run runs 348 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 248 over it, 3.48\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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dab221d1469773c2d149668f3c98131e21eb6008800e84d17bec918135d310"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LibSqlRootFilesystem: ClassTooLong \u2014 1383 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), 14 methods, 4 blocks, lines 30-2637. The bar is 400 significant lines; this is 983 over it, 3.46\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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"29231d91b6ff945937d8aed997bf2c6eaaee7115bf151697f86c69ad5e12686a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webui_v2/descriptors.rs: FileTooLong \u2014 1675 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 132 free functions. The bar is 500 significant lines; this is 1175 over it, 3.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":"crates/product/ironclaw_webui/src/webui_v2/descriptors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f4b16f95c28294195ad149c3dfeeb6b2c950330ff958cc5bfa5c46b2b7f98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultExecutorPipeline.execute: MethodTooLong \u2014 execute runs 335 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 235 over it, 3.35\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":"crates/loop/ironclaw_agent_loop/src/executor/canonical.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a23529675586a192be42ac9e06f90c3df6ab83126771cef6e4f2f054cf0a46"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunDeliveryObserver.deliver_final_reply: MethodTooLong \u2014 deliver_final_reply runs 333 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 233 over it, 3.33\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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4582f10891f62d6c99484dc162879d622b58fbc6af7191a079e4516937253ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/loop_driver_host.rs: FileTooLong \u2014 1633 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 1133 over it, 3.27\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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13cf53ce0739a236edd6ea87c5e076a7ee729da3d15695f88b0972c9f06475"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GsuiteExecutor.dispatch: MethodTooLong \u2014 dispatch runs 321 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 221 over it, 3.21\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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9d165072ad9967c6c3778bde4d00053d54bb93607148722c48d53fa22b47be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/memory.rs: FileTooLong \u2014 1604 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 66% of them inside a single declaration: InMemoryConversationServices (8 blocks, 35-1391). The bar is 500 significant lines; this is 1104 over it, 3.21\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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1458a71b1a85af4d0077a5a25abf15af89c1bada737ac8ebeb9ec99ede05f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/outbound_state_store.rs: FileTooLong \u2014 1583 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 75% of them inside a single declaration: OutboundStateStore (7 blocks, 223-2314), declaring 39 free functions. The bar is 500 significant lines; this is 1083 over it, 3.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4992c2a4be6b32e5668e9a47cde6377abd9776a9074fc96ba86efa5668ae94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserTurnServices.run_operation_inner: MethodTooLong \u2014 run_operation_inner runs 313 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 213 over it, 3.13\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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ffb1574923402dfe45f069d3072b7855d5dbcac00803c0429f3d7fdb7d6e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/in_memory.rs: FileTooLong \u2014 1548 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 80% of them inside a single declaration: InMemorySessionThreadService (3 blocks, 43-1768). The bar is 500 significant lines; this is 1048 over it, 3.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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7458dea7e8a77c530e617a1e92e01f19dc8fa5cb41ab460191d07bc2d355074"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemorySessionThreadService: ClassTooLong \u2014 1235 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), 0 methods, 3 blocks, lines 43-1768. The bar is 400 significant lines; this is 835 over it, 3.09\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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ea819dbe44ab552c87ff0757ea08ace1fdd7fea92285a0040604b9e3b2749"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HostRuntimeLoopCapabilityPort: ClassTooLong \u2014 1233 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), 38 methods, 4 blocks, lines 1111-2980. The bar is 400 significant lines; this is 833 over it, 3.08\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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7a9c8849b2e7f994c040f4fe755ab4877e27ae248b9cd071dcdc9712516e53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device-link-panel.DeviceLinkPanel: FunctionTooLong \u2014 DeviceLinkPanel runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.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":"crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf341eca598656fd63f5113417aeea2f8ccdb8759b91b8e3e709ddfbc2d1235f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServeCommand.execute: MethodTooLong \u2014 execute runs 305 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 205 over it, 3.05\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":"crates/app/ironclaw_cli/src/commands/serve.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0abb5d5e4e8b45986ef392f0aec3a4a6364ef7440c415e5acd58a376a7a4f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skill_activation/activation.rs: FileTooLong \u2014 1522 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 37 free functions. The bar is 500 significant lines; this is 1022 over it, 3.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54eb6e2a3338c6eb2057e8b4bf8eab33c1cdd8884eb404940465ce71616e0de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-selection-policy-editor.ModelSelectionPolicyEditor: FunctionTooLong \u2014 ModelSelectionPolicyEditor runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8baeb37ed18805150f591564237716e76ac9621bcf1b9e5dcd894754c7cf69e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dispatch/mod.rs: FileTooLong \u2014 1518 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 76% of them inside a single declaration: HookDispatcher (2 blocks, 234-2141). The bar is 500 significant lines; this is 1018 over it, 3.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23299e51be5985afb0c555b81666e1f5a301dc64235c342aa02518e3f14cca08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RebornRuntime: TooManyFields \u2014 90 stored fields beside 66 methods. The bar is 30 stored fields; this is 60 over it, 3.00\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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f464a721e38075318d02b74031f1d4f322b51b708128838e0999afa772b9cb8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-bubble.MessageBubbleImpl: FunctionTooLong \u2014 MessageBubbleImpl runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"855667f5c5c3a42044199b4fd47d4cfac0a73bdece6a500cecdbb57df7b13c0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/postgres.rs: FileTooLong \u2014 1491 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 67% of them inside a single declaration: PostgresTriggerRepository (3 blocks, 48-1246). The bar is 500 significant lines; this is 991 over it, 2.98\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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731f7bcbe94707a5e9d3a754930709a347f408f98547c84eac3ec6e628655dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornServices.query: MethodTooLong \u2014 query runs 298 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 198 over it, 2.98\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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":4465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a06eca21f7c11eda4273e23050a02034d2fc94b3e7c9c8b7fddc25d759fea6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OutboundStateStore: ClassTooLong \u2014 1180 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), 16 methods, 7 blocks, lines 223-2314. The bar is 400 significant lines; this is 780 over it, 2.95\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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b2c29435534124da94589242dec3578ed07df29bfb68bcf52b2725282231fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/gemini_oauth.rs: FileTooLong \u2014 1470 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 970 over it, 2.94\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a9d93a18fcc4b10d46a00fe56bf381da0bcb28a30a29a799c85a75007c782e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: traces/mod.rs: FileTooLong \u2014 1459 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 54 free functions. The bar is 500 significant lines; this is 959 over it, 2.92\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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a03a767bc28bfef9ca5768711ce89285223fa1e69fc2f7a81aed3563d9483"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_webui::webui_v2::router::webui_v2_router_with_options: FunctionTooLong \u2014 ironclaw_webui::webui_v2::router::webui_v2_router_with_options runs 291 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 191 over it, 2.91\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":"crates/product/ironclaw_webui/src/webui_v2/router.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3e98e4c33d4b5d9eaae85efb07eba01ad18c217369f288042fbafcbe4bffb3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HookDispatcher: ClassTooLong \u2014 1160 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), 64 methods, 2 blocks, lines 234-2141. The bar is 400 significant lines; this is 760 over it, 2.90\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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598834aaba327feb85ccf4b6159842a3d88fa81a3b29e4f67062407b6695ed4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live-canary/notify_slack.py: FileTooLong \u2014 1448 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 948 over it, 2.90\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/live-canary/notify_slack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e4de352feb2198d5a9d73aac4e7b95ba8c155da5d485bba4d4d3fb19be96fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FirstPartyRuntimeAdapter.dispatch_json: MethodTooLong \u2014 dispatch_json runs 289 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 189 over it, 2.89\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":"crates/kernel/ironclaw_host_runtime/src/services/runtime_adapters.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef62009adfb7934bd3ac194c5f1f8c03a1b19b95e7a595ce0d6163859680dbe2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LibSqlTriggerRepository: ClassTooLong \u2014 1148 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), 5 methods, 3 blocks, lines 78-1572. The bar is 400 significant lines; this is 748 over it, 2.87\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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30ec5750bbbfb68a3b2b63653981cdae9eeb598bdbb539c413692cb0faa2aca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HostRuntimeServices: TooManyMethods \u2014 86 methods, declared across 3 files: services/builder.rs (58), src/services.rs (20), services/production_services.rs (8). The bar is 30 methods; this is 56 over it, 2.87\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/services.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c73ee79415039e8549276235fc3547dd4dad1de1cff8311f0598ef71811db48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChatEvents.applyProjectionItems: FunctionTooLong \u2014 applyProjectionItems runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e0d1715e9d98bacd8230dbaa5dcb02402a6da65056fa0993c987c1d2982b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: journal_store/rows.rs: FileTooLong \u2014 1400 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 42 free functions. The bar is 500 significant lines; this is 900 over it, 2.80\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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e9da642bfa1371f89ce2db3b88df8dd412f87d722a9c5a6174c8c8ea715df4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::validate_args: FunctionTooLong \u2014 ironclaw_stress::validate_args runs 280 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 180 over it, 2.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c83eb58d904f7a098c51cc6368347f4ac365c62062803d387b57771bd06998d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/inbound_batches.rs: FileTooLong \u2014 1395 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 895 over it, 2.79\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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4ab5322a759d45155ec79c55b6dfd0648be9b13d802b90f28ba19036b470e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: select-menu.SelectMenu: FunctionTooLong \u2014 SelectMenu runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a55261f4838eaf89593f74512b7bd5f8867e7f57665ddf06e1a91f2a521f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/workflow.rs: FileTooLong \u2014 1388 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 51 free functions. The bar is 500 significant lines; this is 888 over it, 2.78\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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7407009ff9cdfcb0c02d9a9b398469cab4c9541ed53fff3d3b624e0e85a546c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_loop_host::model_gateway::complete_model_request: FunctionTooLong \u2014 ironclaw_loop_host::model_gateway::complete_model_request runs 274 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 174 over it, 2.74\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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922398c17700de8940ddde31fa3585847cec9038fdd4d35f09ad3f8050ff7b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run_delivery/observer.rs: FileTooLong \u2014 1368 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 78% of them inside a single declaration: RunDeliveryObserver (3 blocks, 218-1856). The bar is 500 significant lines; this is 868 over it, 2.74\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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ae1b9afd56f6bce569394faa43332d54d3685a47fe91785a099b1daa33d950"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.authorize: MethodTooLong \u2014 authorize runs 272 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 172 over it, 2.72\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":"crates/kernel/ironclaw_capabilities/src/host/authorize.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"80499b9a8598212784a6b7557eac42da7c8eb03c1400ebedef29ea26d45b1bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelStage.process: MethodTooLong \u2014 process runs 270 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 170 over it, 2.70\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":"crates/loop/ironclaw_agent_loop/src/executor/model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a1f9cb1da8b050366b420526a16dd9ce11f45ef9c95f89b2c233d7b9a69cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RebornRuntimeStores: TooManyFields \u2014 81 stored fields. The bar is 30 stored fields; this is 51 over it, 2.70\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":"crates/app/ironclaw_composition/src/factory.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe270aa1ad44ab234cc0ca0237014a0c8720e0df340f7f42dd544db501223198"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunDeliveryObserver: ClassTooLong \u2014 1067 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), 23 methods, 3 blocks, lines 218-1856. The bar is 400 significant lines; this is 667 over it, 2.67\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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ce4e2db36b81239fdbce8c708417d9ae2c05b2fe8cd6cd3f6536f55b0b8649"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemoryConversationServices: ClassTooLong \u2014 1066 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), 14 methods, 8 blocks, lines 35-1391. The bar is 400 significant lines; this is 666 over it, 2.67\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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86fcd2f493b7add88768a8266183e12ffab9f97a487616752d4900f75b1de26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: automation-detail-panel.AutomationDetailPanel: FunctionTooLong \u2014 AutomationDetailPanel runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a630aff9f95390333a08e42f18dd4a8b9e15d0cd72447a53f282faa3922fdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-list.MessageList: FunctionTooLong \u2014 MessageList runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3e61f1b577fa94c379350fc52e743839147ca8b3f0d715fb5018e58044935a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/nearai_chat.rs: FileTooLong \u2014 1301 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 801 over it, 2.60\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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882b11a5159193a87e692c23a498923b670091634f022c54e9c6b9dd7620d270"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.auth_resume_json: MethodTooLong \u2014 auth_resume_json runs 260 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 160 over it, 2.60\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":"crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4020430d1928e011d0b3eaababd8a1fa0e1d10359855f1ad2d8aa2cdcdf4c3ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/inbound_turn.rs: FileTooLong \u2014 1298 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 798 over it, 2.60\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":"crates/product/ironclaw_assistant/src/inbound_turn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9670663257d51e98c2c0b2f9746d57d8a7c2b5429263fbcd2287757f3e6866"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/auth.rs: FileTooLong \u2014 1288 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: RebornProductAuthServices (5 blocks, 589-2081). The bar is 500 significant lines; this is 788 over it, 2.58\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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d8710f5644011ab22f9ee97c62f2deaf02d735d981ab5d0fa5fbbaefb6727e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessJournalMaterializedState: ClassTooLong \u2014 1028 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), 32 methods, 3 blocks, lines 53-1490. The bar is 400 significant lines; this is 628 over it, 2.57\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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85772d99f84d40ea2679e27412d5eccb1887028669111cd27df9b8563702494"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product_auth/mod.rs: FileTooLong \u2014 1280 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 33 free functions. The bar is 500 significant lines; this is 780 over it, 2.56\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":"crates/product/ironclaw_webui/src/product_auth/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b77f6905fdf51114f48f3b6e292e70c72ee6576ae7057564f99dc2e69dcff1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/projection.rs: FileTooLong \u2014 1274 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 45 free functions. The bar is 500 significant lines; this is 774 over it, 2.55\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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"495cfa5922c01688349ea6ba6e4d44991d98a2aa677ce8d4a48c2a478887a5fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useInspector.useInspector: FunctionTooLong \u2014 useInspector runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f6c2717f3c27539a8d3b4adc992866dba0e705ef0e7f5c8e062335bb1915a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: factory/production_backend_assembly.rs: FileTooLong \u2014 1268 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 768 over it, 2.54\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":"crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8824ffcf82b935d28f3dd73d13a2964b531a4b2260111bdb02654425645d5b9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fakes.rs: FileTooLong \u2014 1262 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 77% of them inside a single declaration: InMemoryAuthProductServices (10 blocks, 107-1511). The bar is 500 significant lines; this is 762 over it, 2.52\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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5d56fc9339e3ec78376caea382448eda3ae6dddca00db0fbfd571b595ab3ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: logs-page.LogsPage: FunctionTooLong \u2014 LogsPage runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce2b2f0b23cea469ecb5ad7ffdcdee6b59ac9824e42f88ed94ecfceabf87891"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PostgresTriggerRepository: ClassTooLong \u2014 994 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), 3 methods, 3 blocks, lines 48-1246. The bar is 400 significant lines; this is 594 over it, 2.49\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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93ca321565e6ce33ebb61c9375f16e518ef72599b70a5500dab457b8d6e025c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibSqlRootFilesystem.ensure_index: MethodTooLong \u2014 ensure_index runs 248 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 148 over it, 2.48\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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cbfd91a1c657c560df280dafc0e4e4169f8c2cc207506be4e9cc268365af7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityStage.handle_capability_error: MethodTooLong \u2014 handle_capability_error runs 245 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 145 over it, 2.45\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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"86100c827473a8dbd2876ed4051d3e6069ee854e8e8d2f4803b0edd82ac1baaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemoryAuthProductServices: ClassTooLong \u2014 977 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), 12 methods, 10 blocks, lines 107-1511. The bar is 400 significant lines; this is 577 over it, 2.44\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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff4fbba72a6730c0805ba5b9df8fba90a1709f1344269ccf3cdcc8048f18c71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostRuntimeServices.validate_production_wiring: MethodTooLong \u2014 validate_production_wiring runs 243 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 143 over it, 2.43\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":"crates/kernel/ironclaw_host_runtime/src/services/production_services.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4fb6f29bcd6312fec6c650a21456bf69ad5abf51594cdcdb197205fc98600d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSSE.useSSE: FunctionTooLong \u2014 useSSE runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b15361184b69c84822baaca2e88e615b58986885445296a4dc9e63762cece6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/v2.rs: FileTooLong \u2014 1203 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 703 over it, 2.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":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863a712f4ec207997f366c9120024869e8f2acc4bed6e3902ff5ef62a7e9d394"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilesystemSessionThreadService: TooManyMethods \u2014 72 methods, declared across 5 files: src/filesystem_service.rs (42), filesystem_service/thread_index.rs (25), filesystem_service/transcript_migration.rs (3), filesystem_service/message_read.rs (1), \u002B1 more file(s). The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a4359bfda5a4aa18d4fd44c90a7cc9b19585907248ff760f79e51d2b8d41f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/product_wire.rs: FileTooLong \u2014 1193 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 693 over it, 2.39\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":"crates/contracts/ironclaw_product_contracts/src/product_wire.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"779546fad05cc5fa27154183ba875317606091556051f35a0dd4ea13b74248bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trace-commons-tab.TraceCommonsTab: FunctionTooLong \u2014 TraceCommonsTab runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4d2844da42f2a74248eaadd92a746d563846dce368a09d7298b1d9e70715bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ci/ws12_workflow_contracts.py: FileTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 659 over it, 2.32\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/ci/ws12_workflow_contracts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baa9b755e61321fd0fb941bde420db94a2e57dbcf73787cf4a92b30d3e5998c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm_admin/llm_config_service.rs: FileTooLong \u2014 1157 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 33 free functions. The bar is 500 significant lines; this is 657 over it, 2.31\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":"crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392cbba6b7b5963ce27d34cd460ea7d0588acb7c6899a3b273c6cc37da8e5b90"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebornProductAuthServices: ClassTooLong \u2014 924 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), 54 methods, 5 blocks, lines 589-2081. The bar is 400 significant lines; this is 524 over it, 2.31\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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e199b439ccb9d67da1302f3cfd9ac6e90647c4858b21dc3754c3c1683c19271"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/inspector_store.rs: FileTooLong \u2014 1155 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 655 over it, 2.31\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":"crates/product/ironclaw_assistant/src/inspector_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adbb8eb4bd4e4864321e59a938c8d52a27542173e15ff7412298cc60760b44e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gsuite/handlers.rs: FileTooLong \u2014 1151 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 58 free functions. The bar is 500 significant lines; this is 651 over it, 2.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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476a04b699aa010adaf69f7e756778907cddc8df42c150720f2a521e170c494"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useHistory.useHistory: FunctionTooLong \u2014 useHistory runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ff6304ec4864224cad55841fb3624a39448daa5a456f3843b7d49c988dde7c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessJournalStore: ClassTooLong \u2014 910 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), 24 methods, 15 blocks, lines 151-1491. The bar is 400 significant lines; this is 510 over it, 2.28\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":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"516f6aee0475d7f66e5c7f3a64a68a7146d1733d51fd6ac4ef614f449cb5fd7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.authorize_spawn: MethodTooLong \u2014 authorize_spawn runs 227 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 127 over it, 2.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":"crates/kernel/ironclaw_capabilities/src/host/spawn.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d963af125be3b3b865cd6cb883f17197f955853d6113952c4d381439509726"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-secrets-panel.UserSecretsPanelView: FunctionTooLong \u2014 UserSecretsPanelView runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-secrets-panel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5763c67a1f61eb8379920f8dee196fb3dcb1d30d8c66a54bad858733970d8329"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/journal_store.rs: FileTooLong \u2014 1125 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 81% of them inside a single declaration: ProcessJournalStore (15 blocks, 151-1491). The bar is 500 significant lines; this is 625 over it, 2.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbd93639da35d1d2c28d54b0430c60a078bdd9dc20e4fe675966e64de37a55c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PostgresRootFilesystem: ClassTooLong \u2014 897 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), 10 methods, 4 blocks, lines 78-1436. The bar is 400 significant lines; this is 497 over it, 2.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b45e46b59f3597a1f38b2d306c8b334961a68a8d8b5b3130162abc803e24cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/outbound.rs: FileTooLong \u2014 1116 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 616 over it, 2.23\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":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4184b2e61a239aa07804fe77060e9792e41eb0184bac420bb9d09d2c0366b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/subagent_spawn_port.rs: FileTooLong \u2014 1115 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 60% of them inside a single declaration: SubagentSpawnCapabilityPort (3 blocks, 388-1442). The bar is 500 significant lines; this is 615 over it, 2.23\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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07d74fe094ec38ceead227c899621ceb42cea43abd14a6c079429e05b0cfffe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProductCommandHandler.invoke: MethodTooLong \u2014 invoke runs 223 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 123 over it, 2.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":"crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f46ad7340b8cb1192a13e6bd98939e4fea9c21e76ab90dab0cfe169b01ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/responses_workflow.rs: FileTooLong \u2014 1109 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 67% of them inside a single declaration: OpenAiResponsesWorkflow (2 blocks, 70-1029). The bar is 500 significant lines; this is 609 over it, 2.22\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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bc4d7b748d715bc8f5a585012044486953929e5745db3492bd88ebdbebada"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-card.ProviderCard: FunctionTooLong \u2014 ProviderCard runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5ec4a3b833b7b705ad79c273fc8be89eac07901c492363ff3fc38553a489a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebornRuntime: TooManyMethods \u2014 66 methods, declared across 2 files: src/runtime.rs (62), runtime/test_support.rs (4). The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e41eb6bdab7af7115761bfb206e628992e009b5f25c8956ced5c20482f2b1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_turn_runner::runtime::build_default_planned_runtime_inner: FunctionTooLong \u2014 ironclaw_turn_runner::runtime::build_default_planned_runtime_inner runs 218 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 118 over it, 2.18\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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f8bbea2fb22e4b682e220131c3138e0e22ad967a56409c7786b4a5d4ba9c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionInstallationStore: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"93105f7f726127c8c1aef21a8ea90407fd0e974ca724b763420e08c0ac43ccb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/production.rs: FileTooLong \u2014 1079 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 579 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c013f2e3848b0002c4653ed67e13e55bd277b3dfd6a906c9853b6d390364b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/mod.rs: FileTooLong \u2014 1071 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 61 free functions. The bar is 500 significant lines; this is 571 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/runtime/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c05cd85f8f51c66717824b38d68716f3ec3c6e43079b81dff2a776bd52674f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionLifecycleManager: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c980c5adeefb4f905b3e3fba498b361c07175f9391484e6998bfeeebad6191"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HookDispatcher: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f645113d65db203bdf44752008ca65f942e962858c3e60cf4d2be593e16e08e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool_disclosure_port.rs: FileTooLong \u2014 1063 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 77% of them inside a single declaration: ToolDisclosureCapabilityPort (3 blocks, 121-1548). The bar is 500 significant lines; this is 563 over it, 2.13\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":"crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31154e38157197749f8cc68ea256a05a975f636cd21d23d16d7e698960de81f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: custom-mcp-registration-modal.CustomMcpRegistrationModal: FunctionTooLong \u2014 CustomMcpRegistrationModal runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/custom-mcp-registration-modal.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f112e48450eb5faf44ae9e32e77412d2fe963f702318dd846aa058f64a5560"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: journal_store/state.rs: FileTooLong \u2014 1055 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 97% of them inside a single declaration: ProcessJournalMaterializedState (3 blocks, 53-1490). The bar is 500 significant lines; this is 555 over it, 2.11\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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425ffa5551982b78ef0ca55a4085ce41e92a7c78dfe02c96d217ab8f104db15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: first_party_tools/trigger_management.rs: FileTooLong \u2014 1046 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 45 free functions. The bar is 500 significant lines; this is 546 over it, 2.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/trigger_management.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a59957eb1c85f0cd4f8ea5c8302a9cf87a7aac8c80244f8dcd2fd2b442c02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/secret_store.rs: FileTooLong \u2014 1046 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 40 free functions. The bar is 500 significant lines; this is 546 over it, 2.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa589cc0ab53bc65edcd360da2dfb52e4c3e70e3b17ad663738416362cd9c06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1045 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 40 free functions. The bar is 500 significant lines; this is 545 over it, 2.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_authorization/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809e05491163fa2be3454e28ef01a638ab99b1c0cc4ba0f2bf8f6eacb8080ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeminiOauthProvider: ClassTooLong \u2014 829 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), 12 methods, 3 blocks, lines 930-2277. The bar is 400 significant lines; this is 429 over it, 2.07\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"19198a30993427210b79729e8469b81e7c792d6affab19ad6bc3fa0a0094dea2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolDisclosureCapabilityPort: ClassTooLong \u2014 821 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), 25 methods, 3 blocks, lines 121-1548. The bar is 400 significant lines; this is 421 over it, 2.05\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":"crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"889daa527282b08a81cb406ad393a15ae4ba4b621069a752c60b2ebe6f6612e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::openai_codex_provider::parse_sse_response: FunctionTooLong \u2014 ironclaw_llm::openai_codex_provider::parse_sse_response runs 205 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 105 over it, 2.05\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":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"111dbe18867188c164e6508f3bfcc2e9c823425ce929ae2ca30f37878b55113e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_processes::journal_store::rows::load: FunctionTooLong \u2014 ironclaw_processes::journal_store::rows::load runs 205 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 105 over it, 2.05\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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d5133a83b4cefd3b7a23501be3804c45c5bee9ea9bd3f78eea31910db140fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::factory::production_build_assembly::build_production_shaped: FunctionTooLong \u2014 ironclaw_composition::factory::production_build_assembly::build_production_shaped runs 204 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 104 over it, 2.04\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":"crates/app/ironclaw_composition/src/factory/production_build_assembly.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e59bce069bdb07c789aa6b389109a266c9236ac583ab8fa54b69b4ef06435d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.dispatch_resumed_capability: MethodTooLong \u2014 dispatch_resumed_capability runs 204 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 104 over it, 2.04\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":"crates/kernel/ironclaw_capabilities/src/host/resume_support.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ea33b16779c0ecb48e3685c6308880e76aae916ccdcb0cca87bbd2048f8e18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityStage.handle_capability_outcome: MethodTooLong \u2014 handle_capability_outcome runs 204 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 104 over it, 2.04\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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e205186d13a5c20716e5e832ab6b4962ff52895b3aa897292b7407170230f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rig_adapter.rs: FileTooLong \u2014 1012 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 512 over it, 2.02\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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee6e334493e541b1dfe0d7ddd8ddc0192432a1c1240de5309682c19f451c79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibSqlTriggerRepository.run_migrations: MethodTooLong \u2014 run_migrations runs 202 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 102 over it, 2.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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9343e19f06c790b215730bb6bf0be8a7a79dae47400555f694afbbb179761"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostedMcpPreparationService.attempt_hosted_mcp_preparation: MethodTooLong \u2014 attempt_hosted_mcp_preparation runs 202 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 102 over it, 2.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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b971f5d06aee2350cb0bb91e8dad1fd59d481d5b49d31f46c05a8ccdcf071"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserTurnServices: ClassTooLong \u2014 807 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), 14 methods, 2 blocks, lines 168-1827. The bar is 400 significant lines; this is 407 over it, 2.02\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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bc0764dee7b5615d737ce335a1e92c9c1b8d9326aa165ba484875987ff3cef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1007 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 507 over it, 2.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":"crates/domains/ironclaw_triggers/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa77fb08ce714ddc201c61b451499cec83a797dce5e0d10fb4ea3847e213c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reborn_webui_v2_live_qa/slack_helpers.py: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\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/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bc0833b5a25726d06b3d53473cc2d3452df3e11ec7541e35196995d6e63e68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/db_probe.rs: FileTooLong \u2014 997 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 37 free functions. The bar is 500 significant lines; this is 497 over it, 1.99\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":"tools/ironclaw_stress/src/db_probe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5045b0b5434a9a3cc9396d87bb5666c19ed7f188961242e24c48bc6381ee6387"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/anthropic_oauth.rs: FileTooLong \u2014 996 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 496 over it, 1.99\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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad15c3b1add464548c47bb181e997f38200adc7e530d5e0b2b07c2896a2a499f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChatEvents.useChatEvents: FunctionTooLong \u2014 useChatEvents runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a7dd2269d234047d6c62fbde5ea17de70a05c824bdd5d9fff68255c838cbe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llm_admin/openai_compat_serve.rs: FileTooLong \u2014 987 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 487 over it, 1.97\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":"crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceef03f56ebef3b11e781d88569bb51236877b6513c4cb62bdd0966144761ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: process_projection/runtime.rs: FileTooLong \u2014 985 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 485 over it, 1.97\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":"crates/kernel/ironclaw_turns/src/process_projection/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3d323a23e9ab1cc867d57aef709f1d7b9d93c1800273ef3735f2534610b564"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/api.rs: FileTooLong \u2014 984 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 52 free functions. The bar is 500 significant lines; this is 484 over it, 1.97\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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5043951ab9e937469f7c60894776731caafd77f0515e9bc20e17eaa9c207090"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run_delivery/triggered.rs: FileTooLong \u2014 984 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 484 over it, 1.97\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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232dbbeaab4c13c51a954204e0a082b21875c9b627615d508132ca9bb6cfd7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadBackedLoopModelPort.stream_model: MethodTooLong \u2014 stream_model runs 196 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 96 over it, 1.96\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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3064025fae36e67a4ffbe1dc4c47fb9b63297b87c4eba13990736d4ba47fcae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornRuntime.submit_user_turn: MethodTooLong \u2014 submit_user_turn runs 193 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 93 over it, 1.93\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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"056e432a113f71383505e376eabb775f5950b30f05347266b48c9d8b8a5481cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/journal.rs: FileTooLong \u2014 964 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 464 over it, 1.93\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":"crates/kernel/ironclaw_processes/src/journal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d682b520b2768d57458a06776c9844828cf874f61d2001ff6a1eeb5aa8e18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contribution/submission.rs: FileTooLong \u2014 961 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 38 free functions. The bar is 500 significant lines; this is 461 over it, 1.92\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":"crates/domains/ironclaw_trace_commons/src/contribution/submission.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"832e633db09727760299731be3e77fb7cf23d21fbf34e2ea58294ec92a3dbf71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornConfigFile.validate: MethodTooLong \u2014 validate runs 192 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 92 over it, 1.92\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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf2c228d5eda60ce5b61db06b4e88f8eca4915d818acfdb29c6f1beaa4141a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentSpawnCapabilityPort.finish_spawn: MethodTooLong \u2014 finish_spawn runs 191 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 91 over it, 1.91\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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5fe5b724abb67ddf1bb0f72dea6cc8973e839624a9379fcce9a52e39532e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/web_access.rs: FileTooLong \u2014 951 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 41 free functions. The bar is 500 significant lines; this is 451 over it, 1.90\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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95025038d1e4a68cb1b47dc7651ec8517d029e37c98c6829cb57ac548f676f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialManager.perform_oauth_login: MethodTooLong \u2014 perform_oauth_login runs 190 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 90 over it, 1.90\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc5c1da3da5acd4d47c5275c6b52ccde40728c3b29d5392144c463071612121"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_loop_host::result_read::parse_result_read_input: FunctionTooLong \u2014 ironclaw_loop_host::result_read::parse_result_read_input runs 190 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 90 over it, 1.90\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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"600da8cf0b01a4fa29f65ebde80d19e673312643875b767dd2e85e71e6e8fde3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-detail.UserDetailView: FunctionTooLong \u2014 UserDetailView runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf7b8c5fb9a1bf11cfcefb96006745c0660c7e2ac7a5ea2068bb0e71d0c703"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: users-tab.AdminUsersTabView: FunctionTooLong \u2014 AdminUsersTabView runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"48880b4508b153f91fa452d6a67c55ca97b97f1efe52ade075af704caf26ea1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/credential.rs: FileTooLong \u2014 948 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 448 over it, 1.90\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":"crates/domains/ironclaw_auth/src/credential.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf64a0119a933feb2a5d6b5016de1c5849a9ebf97436dc6d5df13ad8ddeb9943"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::delivery_coordinator::publication::worker::run_target: FunctionTooLong \u2014 ironclaw_assistant::delivery_coordinator::publication::worker::run_target runs 189 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 89 over it, 1.89\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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc635034ef2cda80b85233646f9412b2846ad325b8159fa088ad7e62e2d8a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notification-panel.NotificationPanel: FunctionTooLong \u2014 NotificationPanel runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"crates/product/ironclaw_webui/frontend/src/components/notification-panel.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c772e18f47a64afe5a2595c268a047d9cdf9f079fcb68cda544b2e98f7b117"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebornLoopDriverHostFactory: ClassTooLong \u2014 748 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), 36 methods, 5 blocks, lines 1031-2795. The bar is 400 significant lines; this is 348 over it, 1.87\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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7166f7979bec065d42a9ae27a4af739e92c10b8387a66b428f4551cd6806205b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/runtime_adapters.rs: FileTooLong \u2014 931 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 431 over it, 1.86\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":"crates/kernel/ironclaw_host_runtime/src/services/runtime_adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b83ecbc370bd7eceb4d5ceaf162226044c92c425174dd2d207fe466bd7b6346"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAiResponsesWorkflow: ClassTooLong \u2014 742 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), 31 methods, 2 blocks, lines 70-1029. The bar is 400 significant lines; this is 342 over it, 1.86\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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2152ea86821d4e46e22780060b88c2f10c4320bd6533ce23eee23b75069719c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstructionBundleBuilder.build: MethodTooLong \u2014 build runs 185 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 85 over it, 1.85\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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d46f8e540e72a4f1e34f7ce0245c479d328971ba5185d40920e6180311d889"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_docs_tool::api::create_table_with_data: FunctionTooLong \u2014 google_docs_tool::api::create_table_with_data runs 185 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 85 over it, 1.85\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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"111443155922fc7cf012572d175504b86901612396ee05ebf2d84244358b1c74"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AwaitEdgeResolver: ClassTooLong \u2014 739 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), 23 methods, 6 blocks, lines 52-1368. The bar is 400 significant lines; this is 339 over it, 1.85\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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1585e6046276f8f99f027ff2b5f8d42ed62b1b1b8e60f87412e84c22402876c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: await_edge/resolver.rs: FileTooLong \u2014 922 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 80% of them inside a single declaration: AwaitEdgeResolver (6 blocks, 52-1368). The bar is 500 significant lines; this is 422 over it, 1.84\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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e1a36a1d6910411d2f1e868cec1515ad596022caa1ad44aab8619b19eaf7af"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexChatGptProvider: ClassTooLong \u2014 736 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), 21 methods, 3 blocks, lines 173-1358. The bar is 400 significant lines; this is 336 over it, 1.84\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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ffbf083d3269e9663f30fa89405300630e4328f850b1f8c93092426d385b5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RunSummary: TooManyFields \u2014 55 stored fields. The bar is 30 stored fields; this is 25 over it, 1.83\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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d97fdb5636bfc48a6bd2ebc8d2ff65276391043508d20b3e21c47ad8298d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime_event.rs: FileTooLong \u2014 912 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 412 over it, 1.82\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":"crates/events/ironclaw_event_log/src/runtime_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75da2e3c704b76d401e5dd1e795e2e06ac129f17310bf3c8c8ad5fef622e1a8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool_result_reference.rs: FileTooLong \u2014 910 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 43 free functions. The bar is 500 significant lines; this is 410 over it, 1.82\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":"crates/domains/ironclaw_threads/src/tool_result_reference.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42877d8c07166a9dde9a76d2c77dc3e4a9544a68a30ebf527380644b77d35756"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemoryConversationServices.resolve_or_create_binding_inner: MethodTooLong \u2014 resolve_or_create_binding_inner runs 182 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 82 over it, 1.82\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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"74849325b8e87aed50da0cf6d1cec274e06e5d9df981b8819f0cc71bdd826c33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeminiOauthProvider.to_gemini_request: MethodTooLong \u2014 to_gemini_request runs 182 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 82 over it, 1.82\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03a147ae75eebf1405b5650d4c3b61c942902a455ab964df7263632c9b60a18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.resume_json: MethodTooLong \u2014 resume_json runs 182 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 82 over it, 1.82\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":"crates/kernel/ironclaw_capabilities/src/host/approval_resume.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e80b163c92dc1db65b5359b82433795d55cd5703f8ac877d818152e59af2582"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/api.rs: FileTooLong \u2014 907 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 61 free functions. The bar is 500 significant lines; this is 407 over it, 1.81\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":"crates/extensions/packages/slack/wasm-src/src/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c180841a78af140cc356d91c1843d7b711819f036bc414f98339f8f48218d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebornProductAuthServices: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c454ecfb3f596da38caf405051ae1196ebc3579b36b95096f36d059dbee9496"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HostedMcpPreparationService: ClassTooLong \u2014 718 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), 15 methods, 2 blocks, lines 37-947. The bar is 400 significant lines; this is 318 over it, 1.80\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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af446d87e0ab16629d24f1bdf89f437ae1fdd3f154ecf9075a1a25fd9fb3e04c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_host_runtime::egress::pipeline::execute_inner: FunctionTooLong \u2014 ironclaw_host_runtime::egress::pipeline::execute_inner runs 179 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 79 over it, 1.79\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":"crates/kernel/ironclaw_host_runtime/src/egress/pipeline.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6180195191717e1b592c8f3a291a0f5b0a7d91a74d809a91c35428b4725561"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth_live_canary/run_live_canary.py: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 394 over it, 1.79\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/auth_live_canary/run_live_canary.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c67751c6a575f58b8d2ee0594c19171a1987f74dc6d72e42fea1509f4981a16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ci/reborn_changed_coverage.py: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\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/ci/reborn_changed_coverage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e253cf0735fdd9c2ed59589029fb898e01542514dbe473a81fb398cd7d40cd6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemInboundBatchStore: ClassTooLong \u2014 708 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), 18 methods, 5 blocks, lines 160-1088. The bar is 400 significant lines; this is 308 over it, 1.77\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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"60220de20d578bb65fcbff604e7136d6b51da13dc9257659abfeeab2019cc668"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/claim.rs: FileTooLong \u2014 885 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 385 over it, 1.77\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":"crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b9ff8cb53fe2effd3b684fdf5fd2ae77362b70c49c0b47038b2dc02c7ba1e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extensions-page.ExtensionsPage: FunctionTooLong \u2014 ExtensionsPage runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"156aa84ec08fb4a2d7b1a7b96c1aaf178dc089f8cf7e2b09a292f1b5a703e569"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/capability_host.rs: FileTooLong \u2014 881 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 381 over it, 1.76\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":"crates/app/ironclaw_composition/src/runtime/capability_host.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22851bb8e5a6f3fe1ba0c23c5725155a8a57078ecec03f877f008ea71c52cfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/useChatEvents.ts: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ad28da82814cf05cc21b08c177d453583ea1d5d05ffa2f1604cb9c0ea42a9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: automations-list.AutomationsList: FunctionTooLong \u2014 AutomationsList runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/automations-list.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2787b5b0043e468a7baa025b758649695d6ecac9818aa885a943d85cc65f6c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionLifecycleManager.remove_locked: MethodTooLong \u2014 remove_locked runs 175 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 75 over it, 1.75\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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"955004296cffcc6b7e40acc9e9bdc129bd944f4cacd9e368e860182858f4f9d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_extension_support::web_access::call_exa_mcp_tool: FunctionTooLong \u2014 ironclaw_extension_support::web_access::call_exa_mcp_tool runs 175 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 75 over it, 1.75\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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b814928df7ca3f78113e3e37d57aef866383a002e5856941edb8f45b572db452"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProductCapabilityHandler.invoke: MethodTooLong \u2014 invoke runs 175 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 75 over it, 1.75\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":"crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f2c32f07624569c343501374aaf8b155156a2beaad3bce2ea01bcd92f3b10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeminiOauthProvider.send_request: MethodTooLong \u2014 send_request runs 174 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 74 over it, 1.74\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d847796cf55ec9a5656642ffe732902a7d343e388fe21e96188013d97f93fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NearAiChatProvider: ClassTooLong \u2014 694 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), 14 methods, 3 blocks, lines 264-1268. The bar is 400 significant lines; this is 294 over it, 1.74\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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ae14c41e30686b385be85dc1dcaac3bf033743a8bea4f8924520685e949f07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 866 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 366 over it, 1.73\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":"crates/events/ironclaw_event_projections/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2941e489364488b067129166ff2880c100ef62fa6c578c5584e5cf09890a08"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useChat: ClassTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 292 over it, 1.73\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34536cdf8d49b6faf19f453f565b6024e190e0a3b3be8b622d9f3bce9b17f91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 864 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 364 over it, 1.73\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":"crates/events/ironclaw_event_store/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259997ca798c3e0abaefb2f873e6e8d4462f20b55df47d1b7622a252c8c7b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SelectableSkillContextSource: ClassTooLong \u2014 690 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), 33 methods, 3 blocks, lines 360-1361. The bar is 400 significant lines; this is 290 over it, 1.73\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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f790077fca026d5f0508aa6a09ee085b06ae420a0cd02d773d0fd9d1dc79b1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: first_party_tools/schemas.rs: FileTooLong \u2014 856 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 356 over it, 1.71\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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"243d616bfdaaf3516cc82f8b81021bb7201d6ea668ebfb06762deb72c065c5c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebornLlmConfigService: ClassTooLong \u2014 684 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), 21 methods, 3 blocks, lines 201-1155. The bar is 400 significant lines; this is 284 over it, 1.71\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":"crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"377190451262539247a87f17133f0bc44cae48192cdb0f3f66a0335c70e0b8b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NearAiChatProvider.send_streaming_request_inner: MethodTooLong \u2014 send_streaming_request_inner runs 171 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 71 over it, 1.71\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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d6e360cee4e11b5e0d167e51ce3fce93aa59a04ac199b3662923a68e00a3d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionHostLifecycleProductService.execute_action: MethodTooLong \u2014 execute_action runs 171 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 71 over it, 1.71\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":"crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e5dd3260cdf82d6a7a94801f9f35440b74a71b8702411198a4e2f3ec3c4e18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/available_extensions.rs: FileTooLong \u2014 848 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 348 over it, 1.70\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":"crates/extensions/ironclaw_extension_host/src/available_extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc48710f65d728dcfdb804cb6cb1f7070170f3e80f9fec78c818f298dc8495"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 845 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 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a9b7ee05106ffc55f9485447ace582ea48da5e87be2890925352e1309f4dbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: obligations/handler.rs: FileTooLong \u2014 845 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 38 free functions. The bar is 500 significant lines; this is 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad9e1991d03b159fbb20518d19fffcca5085bb516c870afe0696f721dcb1c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityDeclV2.from_raw: MethodTooLong \u2014 from_raw runs 168 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 68 over it, 1.68\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":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfbc6584bd32d59db006d5f7cc1c46abb1265aecdf7a880d18a4539ba0d6b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pairing-web-code-panel.PairingWebCodePanel: FunctionTooLong \u2014 PairingWebCodePanel runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77f6239381e4d01ad078711fee9d8fb85856d06569a9dcb668c589bca6c31d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useExtensions.useExtensions: FunctionTooLong \u2014 useExtensions runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f1d9df9f3f5cd67d3f6067d915faad124836070f62ea461f05ec477f7d9965"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useChat.ts: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: useChat (153-1215). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"600c6f2f184ab8f8892ff847c03f9630f675f62366a7d75d8c1dd9704dfc209f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/codex_chatgpt.rs: FileTooLong \u2014 836 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 88% of them inside a single declaration: CodexChatGptProvider (3 blocks, 173-1358). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91efc4ebd3125eb67b9ddf0703e859f6f5105b8004665f40bd79d2f5cc47c3ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveProjectionPublisher.publish_reply_revision: MethodTooLong \u2014 publish_reply_revision runs 167 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 67 over it, 1.67\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":"crates/product/ironclaw_assistant/src/projection/live_progress.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4720018dd827d321bf6cd35e37ef3393a99fa6e3e5ae15732d20a6943b841b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubagentSpawnCapabilityPort: ClassTooLong \u2014 666 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), 16 methods, 3 blocks, lines 388-1442. The bar is 400 significant lines; this is 266 over it, 1.67\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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78d1e5fdf2595e4fad15c6618c06578e229daa25082d8a2a2ca0bfa964e958b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemMemoryDocumentRepository: ClassTooLong \u2014 665 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), 24 methods, 5 blocks, lines 86-1055. The bar is 400 significant lines; this is 265 over it, 1.66\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":"crates/extensions/packages/memory-native/src/repo/filesystem.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72edf77d2f32d59d9620ab2ee658e6a1dd2054734c706f1bcc503d02a3a61eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeliveryCoordinator.drive_prepared: MethodTooLong \u2014 drive_prepared runs 166 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 66 over it, 1.66\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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"3957cb3f20908eeb57d985dcb7e984ee0e3229a5a63308a85e1b6dfd05bc26ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-tree.WorkspaceTree: FunctionTooLong \u2014 WorkspaceTree runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62f35799c586bd65c172d9075338d275c0242a90d1d93d3d17849d3965c59d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/delivery_coordinator.rs: FileTooLong \u2014 826 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 326 over it, 1.65\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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c884559349903b45c49da53f96ac65152637ea7716b0852a95f21d44760bdc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::product_surface::build_product_surface_with_channel_connection: FunctionTooLong \u2014 ironclaw_composition::product_surface::build_product_surface_with_channel_connection runs 165 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 65 over it, 1.65\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":"crates/app/ironclaw_composition/src/product_surface.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa02289b2f37cf0f2b0126e85d0a733940abbce3831416ec51b3d67cc7482d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemSessionThreadService.accept_inbound_message_with_replay_metadata: MethodTooLong \u2014 accept_inbound_message_with_replay_metadata runs 165 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 65 over it, 1.65\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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f95984dddb99c965cc723dc48d77ae19e9fecf8fe176e8839b4c156de94bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contribution/queue.rs: FileTooLong \u2014 820 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 48 free functions. The bar is 500 significant lines; this is 320 over it, 1.64\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":"crates/domains/ironclaw_trace_commons/src/contribution/queue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c892a8f40bdbd48e65d36df5fbb660179192c0138c59f9cb29b0bc785cc4e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inspector/inspector-panel.tsx: FileTooLong \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 320 over it, 1.64\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f996e8140c34b972c7f74ae6deadd8c76e0c4a00bd85f1e73fd7052d308c176c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config_file.rs: FileTooLong \u2014 815 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 315 over it, 1.63\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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84292577c88d30e3cca4b26705e000387f9703681ec10fd5c3ddb69010a90850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_processes::journal_store::rows::ensure_indexes: FunctionTooLong \u2014 ironclaw_processes::journal_store::rows::ensure_indexes runs 162 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 62 over it, 1.62\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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8573ea29b1919ddddd18389866542002f06c71e4f229dcfc62c5619dfc9098"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcceptedProductInboundTurn.submit: MethodTooLong \u2014 submit runs 162 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 62 over it, 1.62\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":"crates/product/ironclaw_assistant/src/inbound_turn.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbb8df39a16e6cb6726f09f33d15e2a1cc223c99ecfe0b5d8d7862414c964f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemoryDiagnosticStore: ClassTooLong \u2014 645 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), 17 methods, 5 blocks, lines 347-1490. The bar is 400 significant lines; this is 245 over it, 1.61\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":"crates/product/ironclaw_assistant/src/inspector_store.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a863a08868067e40adef1583ec07f8bcd5ff650b756ba39de05548105fc6dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: first_party_tools/trace_commons.rs: FileTooLong \u2014 805 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 305 over it, 1.61\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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83b69194be9dbd4e1e67d5988d10ad3e8f93c8ba3b4e45a800c73edf5ab855"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jobs-page.JobsPage: FunctionTooLong \u2014 JobsPage runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"crates/product/ironclaw_webui/frontend/src/pages/jobs/jobs-page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a80253f258a47dc0e6a0dff864478b2c1186771c013a8810f150f706c9a8157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/input.rs: FileTooLong \u2014 802 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 302 over it, 1.60\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":"crates/app/ironclaw_composition/src/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f5f3c35b5da49614c79aeb03f94fe902988ffccf920294abe4f03b0d06f708"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebornHostBindings: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"crates/app/ironclaw_composition/src/input.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61ffc70005e57cbef0d4a16ed2c28dc2c1741934caa60c4137a6c5c3814c28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::sweep::run: FunctionTooLong \u2014 ironclaw_stress::sweep::run runs 160 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 60 over it, 1.60\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":"tools/ironclaw_stress/src/sweep.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a284e79a928f2671f0ddb2da53580b7a9409a271bd63b34dd43a800214a8a8c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/channel_pairing.rs: FileTooLong \u2014 798 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 298 over it, 1.60\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":"crates/extensions/ironclaw_extension_host/src/channel_pairing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee12558e5e6fff94622f10cc3c4b4084a4bf1f32926576a495648e7d72730783"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultHostRuntime: ClassTooLong \u2014 636 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), 23 methods, 5 blocks, lines 116-1163. The bar is 400 significant lines; this is 236 over it, 1.59\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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"98773f521ce47987c9897917d52d74c9b5f260952abf4fd7819579589938c445"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/suggestions_store.rs: FileTooLong \u2014 795 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 295 over it, 1.59\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":"crates/product/ironclaw_assistant/src/suggestions_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20709bae329b40e0fe005c3f540c9f1cbc0fe4c9c846e37eb3a10da8af0c531"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ci/check-guidance.py: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 287 over it, 1.57\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/ci/check-guidance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171d1bf33850a6cbde20c152475aa1d95b274a03c9b2292ceea3458edefb20e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hosted_mcp_preparation.rs: FileTooLong \u2014 783 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 92% of them inside a single declaration: HostedMcpPreparationService (2 blocks, 37-947). The bar is 500 significant lines; this is 283 over it, 1.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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9432095bcdf34b8ec5f1ba4f1a77d34f04f8f7a7ad8412a606c18acb8501df9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/management.rs: FileTooLong \u2014 782 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 33 free functions. The bar is 500 significant lines; this is 282 over it, 1.56\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":"crates/domains/ironclaw_skills/src/management.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba6d6f4adee30bd7de8072bae8de5d110dc6792535efe00e93fb0a6250eed9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 782 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 282 over it, 1.56\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":"crates/substrates/ironclaw_secrets/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31883706de0703b4ca8c2139a5167ed44ac954609f23cdd192c052750d34b2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/api.ts: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\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":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cefc9219f9cabf0f82abcc725d76fd48834b644a16a514a734e753eb26759c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/recording.rs: FileTooLong \u2014 780 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 280 over it, 1.56\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":"crates/domains/ironclaw_llm/src/recording.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"040b7fdea495f76a0ede6b7884cdae53e76e07c5e9f7f18711fc55c0b603d15a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionLifecycleManager.remove: MethodTooLong \u2014 remove 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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"1151817b61a7fc9b80549dfd2c70d9ee287efa14d43dae2002f76e322ceb6793"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills-tab.SkillsTab: FunctionTooLong \u2014 SkillsTab runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7afcd55d003f46e879d646400c2b959ab3a88aea222ba20069a8a5d549ed42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IronHubService.install: MethodTooLong \u2014 install runs 155 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 55 over it, 1.55\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":"crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"397888c117ed21034137f7e386f6690f21d05119d27c89fbfdb0faa9eb2d86dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_slides_tool::execute_inner: FunctionTooLong \u2014 google_slides_tool::execute_inner runs 155 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 55 over it, 1.55\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":"crates/extensions/packages/google-slides/wasm-src/src/lib.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ff828073cd91fb5cff85695d63db5c0e9fa655b9472c5f93f57e2b7dedb032"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: first_party_tools/mod.rs: FileTooLong \u2014 774 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 35 free functions. The bar is 500 significant lines; this is 274 over it, 1.55\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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48d5226b1e96991b41ab789807e4bd2a4a320309f83692efaa5919f0f31e49c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/human.rs: FileTooLong \u2014 771 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 38 free functions. The bar is 500 significant lines; this is 271 over it, 1.54\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":"tools/ironclaw_stress/src/human.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ee8aa1dd323d43346d4e85cb334852a93f736f7ae21b96c789710011b54bec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/inbound.rs: FileTooLong \u2014 768 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 268 over it, 1.54\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":"crates/contracts/ironclaw_product_contracts/src/inbound.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360f58350b5b255c7b07eb07c04709450686c02602caa1b27f9441786f86a86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/run_outcome_observer.rs: FileTooLong \u2014 766 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 69% of them inside a single declaration: RunOutcomeProcessCommitObserver (5 blocks, 27-765). The bar is 500 significant lines; this is 266 over it, 1.53\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":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e53029cadf208285d821869eb6fad8e52f12c254b954f5385431820e44ef3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/local.rs: FileTooLong \u2014 765 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 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/local.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d2df1b94d5ff8316a8d5f1608ad513d61e60c40367bb4b831b8df89bc619dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurableLoopHostMilestoneSink.runtime_event_for_milestone: MethodTooLong \u2014 runtime_event_for_milestone runs 153 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 53 over it, 1.53\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":"crates/loop/ironclaw_turn_runner/src/milestone_events.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d80dc5aae6a45dd47c26396fb1103e3948813fb041cf2e37fcb6292cb0f158"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsPipelineScene.SkillsPipelineScene: FunctionTooLong \u2014 SkillsPipelineScene runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"docs/internal/architecture-video/src/scenes/SkillsPipelineScene.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca4293d7ffa43a38c026cb4136f09ebb51a917cd1912cdc846f07e0cd2a8d77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/in_memory.rs: FileTooLong \u2014 763 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 88% of them inside a single declaration: InMemoryTriggerRepository (2 blocks, 49-896). The bar is 500 significant lines; this is 263 over it, 1.53\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":"crates/domains/ironclaw_triggers/src/in_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26995780cb99982708e1f370e4abf5db1cb159fa95b607a6510a640f6b574783"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemInboundBatchStore.stage: MethodTooLong \u2014 stage runs 152 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 52 over it, 1.52\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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05302a0e07b3ed925ef4dfe865c5935eb47a6119b31b7a8eecd5a8dd9f966b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostManagedLoopPromptPort.build_prompt_bundle: MethodTooLong \u2014 build_prompt_bundle runs 152 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 52 over it, 1.52\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":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b28e1a37ff9af25e7127303c473216a1c5a000048ae7a2b91cbeae39ae0a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/factory.rs: FileTooLong \u2014 758 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 258 over it, 1.52\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":"crates/app/ironclaw_composition/src/factory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6fe77c239b4022ddb11d42516cfbca5a347d9394e5ca878dfc9ce33434448"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contribution/privacy.rs: FileTooLong \u2014 758 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 258 over it, 1.52\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":"crates/domains/ironclaw_trace_commons/src/contribution/privacy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b432e8ead2ddab8f6bb84522c2f5a62e982d7683105dccc9a942c098ab30258"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/channel_host.rs: FileTooLong \u2014 758 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 258 over it, 1.52\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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2163c7cad6f8fa22b006f3abf14f82e7683ed447683185cfad4c3a2a1fcd4d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/instruction_bundle.rs: FileTooLong \u2014 757 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 257 over it, 1.51\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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e4930b222210cb0d591119fccbdee0e6cf80b1681a5da6d9dcfb83a7dbe60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/db_write_idle.rs: FileTooLong \u2014 755 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 255 over it, 1.51\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":"tools/ironclaw_stress/src/bin/db_write_idle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca3d30c2911a6cfd5ca6bb358df6066083f5660ba6b87d7c841ada3165f1cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornProductAuthServices.handle_oauth_callback_with_optional_provider_identity_check: MethodTooLong \u2014 handle_oauth_callback_with_optional_provider_identity_check runs 151 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 51 over it, 1.51\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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"50985594f98746aca0664c8154f611cca6ba2d9091d9fd2f875816aa5fd31331"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: suggested-task-surface.SuggestedTaskSurface: FunctionTooLong \u2014 SuggestedTaskSurface runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/suggested-task-surface.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b185dfab864f5e1d3ee2bd5c7f65a876eba1377b6add247b3be9ee2dc8c02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inspector-panel.InspectorPanelCore: FunctionTooLong \u2014 InspectorPanelCore runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8d7526468e264638d9db396260bdfaf53dd1b6bf83bcab26c6bcd94fede54d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemAuthProductServices.sweep_all_accounts: MethodTooLong \u2014 sweep_all_accounts runs 150 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 50 over it, 1.50\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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"947b13ddeb43c46bec29dfdab463eb086ff12c76841938e843a57d9fefe2d05a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::run_child_processes: FunctionTooLong \u2014 ironclaw_stress::run_child_processes runs 150 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 50 over it, 1.50\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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6373e79893b47f3662d5ed5228e1cd790d67f045cba8e0560a209ec304c627"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiResponsesWorkflow.create_response_request: MethodTooLong \u2014 create_response_request runs 149 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 49 over it, 1.49\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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"36689d4725c68de1ac9a468cb8a9bb4d54edafd197fb3cc51e36a1fbe8887d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notification-channels-panel.NotificationChannelsPanel: FunctionTooLong \u2014 NotificationChannelsPanel runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ae1e97e33fe4b34c168893ae7f7f5ca5f70ed2a1430c6f14b7f3cfb1af1e11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/inspector.rs: FileTooLong \u2014 743 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 243 over it, 1.49\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":"crates/contracts/ironclaw_product_contracts/src/inspector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011268b338d81e7221926d964b96c5a104675c38489d165dbebe7b99327cd160"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 742 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 242 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/latency/runner/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b185a7d4ff5c648c10be3b937c0cda542a71df2113680fc5382dee9519081808"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadBackedLoopModelPort.resolve_model_messages: MethodTooLong \u2014 resolve_model_messages runs 148 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 48 over it, 1.48\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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d86226802279117e377e4f96abdbfda65b74b0927a4677f7361586565a50b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemAuthProductServices: ClassTooLong \u2014 589 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), 38 methods, 3 blocks, lines 84-983. The bar is 400 significant lines; this is 189 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536e85ce349734c03bd9c7c614129b3578e77a94a00579650621803d88ecf7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadBackedLoopModelPort: ClassTooLong \u2014 588 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), 19 methods, 5 blocks, lines 1496-2289. The bar is 400 significant lines; this is 188 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e752f8b85acc01d955bb0c8488ba8083a59c3c160b4e7d639ee5b48e8f5d204f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/predicate_state.rs: FileTooLong \u2014 733 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 233 over it, 1.47\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":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c665692fef4fb7e159d56fe04d244b4ae44bb76768b0986caf33477d0532dcd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projection/turn_events.rs: FileTooLong \u2014 731 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 231 over it, 1.46\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":"crates/product/ironclaw_assistant/src/projection/turn_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2be1eb4536dc01aa1d03751b7468404c355677a083a42fcdfd8cc11139a51e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 725 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 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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d71792f63d6f6bb19685cb32be5864e1f900e1c7393bcd7faacc651c1ef4b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CoordinatedModelChannelDelivery.deliver_for_model: MethodTooLong \u2014 deliver_for_model runs 145 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 45 over it, 1.45\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":"crates/product/ironclaw_assistant/src/model_channel_delivery.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1bbdc7b011c5e1c452d092444efd718fad90005db14085c0eb164341adc344"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAdminUsers.useAdminUsers: FunctionTooLong \u2014 useAdminUsers runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabd54be800a42e3acf767659e13e8f9599218198f3744aef33e2fe3d9fa6660"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extension-card.ExtensionCard: FunctionTooLong \u2014 ExtensionCard runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12b583bdfa7335a7664192c970abb90a686db1ffd9cdeb075eb29459f9dfb52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-card.SkillCard: FunctionTooLong \u2014 SkillCard runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-card.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb048e0b55ad67bce15cd67383670d69fad34b00492bbdb4e99c9e871e97dddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OutroScene.OutroScene: FunctionTooLong \u2014 OutroScene runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"docs/internal/architecture-video/src/scenes/OutroScene.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c005facec190d661c5e040e617536cb32310e6e595e721ce6e75e97d2d7dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentTurnProcessRuntime: ClassTooLong \u2014 576 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), 11 methods, 4 blocks, lines 122-835. The bar is 400 significant lines; this is 176 over it, 1.44\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":"crates/kernel/ironclaw_turns/src/process_projection/runtime.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cf48da1145715776c2a84a2712239060c80a94a39e59c617663f2d9bb6a142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 720 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 64% of them inside a single declaration: NativeMemoryService (6 blocks, 127-807). The bar is 500 significant lines; this is 220 over it, 1.44\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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eb27131ff030467c322aad98b379631034a662781b21558d7a24d1c4e017d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResultReadHandler.invoke: MethodTooLong \u2014 invoke runs 144 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 44 over it, 1.44\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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b15d55671fbdbe10d02170568c8e19433781a96e937786acd788680935484"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/backend.rs: FileTooLong \u2014 719 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 70% of them inside a single declaration: RepositoryMemoryBackend (3 blocks, 261-944). The bar is 500 significant lines; this is 219 over it, 1.44\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":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b297d3a77c652146dc9c7c055a60fb6ce6ecce256b93ea79f7a85fc2cc5daf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: filesystem_service/thread_index.rs: FileTooLong \u2014 718 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: FilesystemSessionThreadService (83-798). The bar is 500 significant lines; this is 218 over it, 1.44\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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bee498b078de88f93b24ea7d97815c6655e33da3b42c5d3c21e9663272111a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repo/filesystem.rs: FileTooLong \u2014 717 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 93% of them inside a single declaration: FilesystemMemoryDocumentRepository (5 blocks, 86-1055). The bar is 500 significant lines; this is 217 over it, 1.43\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":"crates/extensions/packages/memory-native/src/repo/filesystem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c957d3879d1b27873e3c1cd133b6448274f9b9850a1c0919e9fc76537e5e8495"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contribution/maintenance.rs: FileTooLong \u2014 716 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 52 free functions. The bar is 500 significant lines; this is 216 over it, 1.43\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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5870237c9df2c39b9494a5cd8f22a48e93eee248fcab505d2a91bc5541729f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProductAdapterError.from: MethodTooLong \u2014 from runs 143 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 43 over it, 1.43\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":"crates/product/ironclaw_assistant/src/error.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e276b41ee985765b84d6d67bd301515228a5c97fa0e5e08f74030f530cf6a93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar-threads.SidebarThreads: FunctionTooLong \u2014 SidebarThreads runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8730d648d55199c5f364cbe18bdf116913f54f43560202f105a602605b24862"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingress/router.rs: FileTooLong \u2014 712 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 212 over it, 1.42\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":"crates/extensions/ironclaw_extension_host/src/ingress/router.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f59333929367c7ad27a13b80cd5fab51c655ddb176e5513196eaa4390873c1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projection/display_preview.rs: FileTooLong \u2014 712 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 31 free functions. The bar is 500 significant lines; this is 212 over it, 1.42\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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c49cf4c51ac8d4678ce41ab35a7b0dd875900c19424faa42b1ed58bb8c8d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool_disclosure.rs: FileTooLong \u2014 711 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 211 over it, 1.42\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":"crates/loop/ironclaw_loop_host/src/tool_disclosure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba71dfc556d7dbfb3ea9b45fdd79ae074148b515c625cb86b102687eab82e2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/services.rs: FileTooLong \u2014 706 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 206 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":"crates/kernel/ironclaw_host_runtime/src/services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7d610ae587aadcd6a8f334d8179559ada0e1f61d6e59360066cee01e040971"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publication/worker.rs: FileTooLong \u2014 706 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 206 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cbafab7f7e348c84e4ff03b8492bff934b1650d829eb231d4bcfd73aec8ff5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TriggerPollerWorker.process_claimed_fire: MethodTooLong \u2014 process_claimed_fire runs 141 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 41 over it, 1.41\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":"crates/domains/ironclaw_triggers/src/worker/due_fire.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5adfeb3fcd57723958d5f835baee29ff3e01299b61d09a7ae880ad4c699cc19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventStreamManager.subscribe: MethodTooLong \u2014 subscribe runs 141 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 41 over it, 1.41\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":"crates/events/ironclaw_event_streams/src/manager.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0e6661f6f52dea696b2886f928f5007ed80b75faf21b628c6a01c8cc4fde9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: thread-scraping-panel.ThreadScrapingPanel: FunctionTooLong \u2014 ThreadScrapingPanel runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/thread-scraping-panel.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b81188f19e7db208587098af4e9d1094a7c85cf5d01431816cbbe6ff2fe99c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw::commands::traces::show_queue_status: FunctionTooLong \u2014 ironclaw::commands::traces::show_queue_status runs 140 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 40 over it, 1.40\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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c671d1e99e9bec85369553d3865224653533d024fba27c35b9dd6edf3acfb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefreshingCapabilityPort.build_inner: MethodTooLong \u2014 build_inner runs 140 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 40 over it, 1.40\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":"crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d990d9c0af3f73ed62c70296a8d1a7db8b3e6d22970b3f5224d1ccb40ef7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawTraceContribution.from_recorded_trace: MethodTooLong \u2014 from_recorded_trace runs 140 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 40 over it, 1.40\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":"crates/domains/ironclaw_trace_commons/src/contribution/capture.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea1f851a92af02df44b578b4f5b82b16d6ab5ba3d047e819d2c7c4617d802a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github_tool::webhook::github_enriched_payload: FunctionTooLong \u2014 github_tool::webhook::github_enriched_payload runs 140 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 40 over it, 1.40\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":"crates/extensions/packages/github/wasm-src/src/webhook.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d29f63c05b0421ed20f3e2d20b842d7165d7cb4ba79ec621a82b19e5036a9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibSqlRootFilesystem.query_ordered: MethodTooLong \u2014 query_ordered runs 140 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 40 over it, 1.40\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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4183cc75bfad1d1ab96ccb011f088cb8a7f6f5fadc6c58704552f1fb9d47c8a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: delivery_coordinator/publication.rs: FileTooLong \u2014 699 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 199 over it, 1.40\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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fb2a51cb29f582c05cd174ffd2f3942c23018b29cc17148edd40616348b084"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: durable/flows.rs: FileTooLong \u2014 696 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 94% of them inside a single declaration: FilesystemAuthProductServices (4 blocks, 54-958). The bar is 500 significant lines; this is 196 over it, 1.39\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":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96742f01c8d1353be0b169080de987a0e39ad63e2d06a56f355e88c7c554eac0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CapabilityStage: ClassTooLong \u2014 556 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), 8 methods. The bar is 400 significant lines; this is 156 over it, 1.39\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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fbc22cdd47c3606e335f89f406ece1d91e92ff507a780e2d74665f7ebc6f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/in_memory.rs: FileTooLong \u2014 695 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 61% of them inside a single declaration: InMemoryBackend (4 blocks, 71-691). The bar is 500 significant lines; this is 195 over it, 1.39\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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a2657257ff117ba0e23baa752f698b0140b99ba303101b5eb7c4e9ca750479"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_memory_native::safety::enforce_prompt_write_safety: FunctionTooLong \u2014 ironclaw_memory_native::safety::enforce_prompt_write_safety 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":"crates/extensions/packages/memory-native/src/safety.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8441fb981402812351aebbd7b8e93293749edf7bf010aa33c52694aa882f9d17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::delivery_coordinator::publication::worker::handle_step: FunctionTooLong \u2014 ironclaw_assistant::delivery_coordinator::publication::worker::handle_step 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/worker.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"648e51346627d7398ca17364da84180eb8a8a7d171478a955cd2148d35576faa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gateway-layout.GatewayLayout: FunctionTooLong \u2014 GatewayLayout runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"crates/product/ironclaw_webui/frontend/src/layout/gateway-layout.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bb2c843ad3139656605e6200d3e9eb6c406f61bd2b1f2104756d77d9324b3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolDispatchScene.ToolDispatchScene: FunctionTooLong \u2014 ToolDispatchScene runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"docs/internal/architecture-video/src/scenes/ToolDispatchScene.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b939fb958003f9a64ed7492cbb1370a2ead45fc25fdf2be4a2a36ef8d56d21c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wasm/runtime.rs: FileTooLong \u2014 694 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 194 over it, 1.39\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":"crates/loop/ironclaw_hooks/src/wasm/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"234035c113529e19faf6b170c02a8f5ecdabfc41050c54657058e7ce034bae61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/turn.rs: FileTooLong \u2014 692 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 192 over it, 1.38\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":"crates/contracts/ironclaw_host_api/src/turn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81d24f74c1e38eeb2c913ea03e008aeb2c5d0849a0e2caee0ba0af4388295aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemSessionThreadService.accept_subagent_result: MethodTooLong \u2014 accept_subagent_result runs 138 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 38 over it, 1.38\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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"450cbdd70b099e811551f3c0c0d2cb09b3058f751cad1ad974ffbb2d9a335238"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StructuredFinalizationCoordinator.finalize_candidate: MethodTooLong \u2014 finalize_candidate runs 138 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 38 over it, 1.38\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":"crates/loop/ironclaw_turn_runner/src/structured_finalization.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a665f84ab136ea8015f5f9fcd11206d31dfaacdf8f40cdb783a3d6087fb066e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExecutionLoopScene.ExecutionLoopScene: FunctionTooLong \u2014 ExecutionLoopScene runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"docs/internal/architecture-video/src/scenes/ExecutionLoopScene.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4c9eadb0c4a5a96185fa242c4912905d81467fd5026a0851032a44963b568d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/operator_service_lifecycle.rs: FileTooLong \u2014 687 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 187 over it, 1.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":"crates/product/ironclaw_operator/src/operator_service_lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aab07edba3000ee12c18aeb37a3c9b12b339f0a13b930234926a83f86c9d1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useThreadScrape.useThreadScrape: FunctionTooLong \u2014 useThreadScrape runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useThreadScrape.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1372b39b19928d649c246b266e5e6c4c46899e1da3ae47cf4959be55c7520be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HostRuntimeServices: TooManyFields \u2014 41 stored fields beside 86 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/services.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"09daca72f2b896b2bf3b428d1d8d2da0f600ea1f14a417daf6a0f238a21a1e45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/device_link_driver.rs: FileTooLong \u2014 680 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 68% of them inside a single declaration: SnapshotDeviceLinkDriver (2 blocks, 212-940). The bar is 500 significant lines; this is 180 over it, 1.36\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":"crates/extensions/ironclaw_extension_host/src/device_link_driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaefc481d5324182ba5a5425b23f3707a2da76d9410953c59a7a1a94a67cea1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionIngressRouter.verify_and_dispatch: MethodTooLong \u2014 verify_and_dispatch runs 136 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 36 over it, 1.36\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":"crates/extensions/ironclaw_extension_host/src/ingress/router.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2165f9bc34c9ceba2b63f1a2427d88c06adff9030e55f1613bae0ae7314566ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tool_discovery_benchmark/run_benchmark.py: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 178 over it, 1.36\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/tool_discovery_benchmark/run_benchmark.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d796bba7ebeb902f19a7eb26b2785a485d2d1f61185899b352c6cbf4fc875b83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scripted.rs: FileTooLong \u2014 678 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 31 free functions. The bar is 500 significant lines; this is 178 over it, 1.36\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":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52301de908f7f9a32bd089a2cf5062bb39238c79459d4ef0420fe66f3c50e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/v3.rs: FileTooLong \u2014 676 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 176 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":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7403b4d3c0e17d86e09f88d51ee0e4e6d107703b1d46b3db0f9c825070bf52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openai_codex_provider.rs: FileTooLong \u2014 675 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 175 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":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae55e1c4454a3571a3458a3ecde738c2020f90d73152808e4f6f191a332e287f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/reply.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":"crates/contracts/ironclaw_extension_contracts/src/reply.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e9555a93ca09b33f6b8769e73f3aa935ff68204a88b08c03e24e7d32d99e56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scoped.rs: FileTooLong \u2014 671 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 65% of them inside a single declaration: ScopedFilesystem (3 blocks, 47-827). The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/scoped.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e5a4dd148441bb472242a6973868cef943d5a0595beaac06a21adccbf9e3ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_docs_tool::execute_inner: FunctionTooLong \u2014 google_docs_tool::execute_inner runs 134 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 34 over it, 1.34\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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe114ac13672f6e6160411cce16dcf601ef491025bbe5f9c6d06183d7eda58c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reborn_webui_v2_live_qa/google_auth_helpers.py: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/google_auth_helpers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6f76e03c10c5a14382d5eed3513bb4e047b647430b1f234c58eebd56c71091"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TriggerPollerWorker.clear_terminal_active_fires: MethodTooLong \u2014 clear_terminal_active_fires runs 133 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 33 over it, 1.33\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":"crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"43663bca8a726c8d64b7a33f65b0a8178445547fad40126a2af6de6e186c10d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_webui::webui_serve::webui_v2_app_with_lifecycle: FunctionTooLong \u2014 ironclaw_webui::webui_serve::webui_v2_app_with_lifecycle runs 133 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 33 over it, 1.33\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":"crates/product/ironclaw_webui/src/webui_serve.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1e1feddeead9f9ee61e1b995d914241cd55015f9abbb1442dd5414acac847b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ThreadStateScene.ThreadStateScene: FunctionTooLong \u2014 ThreadStateScene runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"docs/internal/architecture-video/src/scenes/ThreadStateScene.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1af8486c81519b7b63789fdc19b0eaa6369cb241fccfd6706aec38e92603c31"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionLifecycleToolHandler.dispatch: MethodTooLong \u2014 dispatch runs 132 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 32 over it, 1.32\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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff68a049f86b865e455545f42ae815b0a89e9a1bd7db0b4effb24bf507151810"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.invoke_json: MethodTooLong \u2014 invoke_json runs 132 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 32 over it, 1.32\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":"crates/kernel/ironclaw_capabilities/src/host/invoke.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd06c300f1361e24bb2575582d41f5550ad68a39eef80b16e4ef2688ac120d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: markdown-renderer.MarkdownRendererImpl: FunctionTooLong \u2014 MarkdownRendererImpl runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b006aa0f1b9a1a65b200b62897658d25de84dc857261b8edd007ee8deb566dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/coordinator.rs: FileTooLong \u2014 658 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 66% of them inside a single declaration: DefaultTurnCoordinator (4 blocks, 182-950). The bar is 500 significant lines; this is 158 over it, 1.32\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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a37c4d8e2610044b07f3693de1a040990e633bdc0501398bdf5d339df3ba14"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunOutcomeProcessCommitObserver: ClassTooLong \u2014 525 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), 13 methods, 5 blocks, lines 27-765. The bar is 400 significant lines; this is 125 over it, 1.31\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":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b8475589f2f76ec7cf7a4a9caf5033a6b1dd146dfd8caa3292797b187c372a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/builder.rs: FileTooLong \u2014 654 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 96% of them inside a single declaration: HostRuntimeServices (27-908). The bar is 500 significant lines; this is 154 over it, 1.31\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":"crates/kernel/ironclaw_host_runtime/src/services/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a89f01409fe1f1024ce5a4c1da9ca3c372fc6d8d4cc967d65c0494c082be4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/result_read.rs: FileTooLong \u2014 654 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 154 over it, 1.31\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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7375c72c37998ab12d5cab604fa2d00434f12c2053af4e9e73886eaaf76145e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemResourceGovernor: ClassTooLong \u2014 521 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), 15 methods, 2 blocks, lines 69-871. The bar is 400 significant lines; this is 121 over it, 1.30\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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab1075a159de040c6a58f32728462a54e69429d31a01a196015e1ed4d0592b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RebornServices: TooManyFields \u2014 39 stored fields beside 181 methods. The bar is 30 stored fields; this is 9 over it, 1.30\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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0772161bb53457f2246281cf41744c2d39f79533bac97536df10f85493330003"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::run_delivery::triggered::notification_plan_for_state: FunctionTooLong \u2014 ironclaw_assistant::run_delivery::triggered::notification_plan_for_state runs 130 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 30 over it, 1.30\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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd74a045b12c2f1f8b4e480a0594117497d3163cde926bffb62559f63bc53a9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DefaultPlannedRuntimeParts: TooManyFields \u2014 39 stored fields. The bar is 30 stored fields; this is 9 over it, 1.30\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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aae51154c0ff9d57e88d478026e6924a40a48b854bea83fd48a47c6ba9f79da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider.rs: FileTooLong \u2014 649 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 149 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":"crates/domains/ironclaw_llm/src/provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db44ef14ccdc7666f62cdc79bf17282b940859514b19c400243400a8e4c05106"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/store.rs: FileTooLong \u2014 649 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 149 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":"crates/domains/ironclaw_notifications/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87d7140b695a8444081dba204dd47d984de39f33e9b1d4e64631e4b5ccf7bf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::projection::display_preview::input_summary: FunctionTooLong \u2014 ironclaw_assistant::projection::display_preview::input_summary runs 129 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 29 over it, 1.29\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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a297ccac2534d7e2c10069de7c062a50aeb3b3f2b0b86ffb66e25f5d4634bbff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filesystem.rs: FileTooLong \u2014 644 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 144 over it, 1.29\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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfd505b55076f931a63187da3a0995af4eb64539494650c18928224f81788fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/chat-input.tsx: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ChatInput (30-896). The bar is 500 significant lines; this is 144 over it, 1.29\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61a2b64f26acf2910603ed5531a7928a37208788ec3d4bfbd1b565defb2ee6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemoryConversationServices.accept_inbound_message: MethodTooLong \u2014 accept_inbound_message runs 128 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 28 over it, 1.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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d985752a8fb1901a13a45f92928a37414ad67762a6348ea0c620957a72a116"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::projection::reply::fold_milestone: FunctionTooLong \u2014 ironclaw_assistant::projection::reply::fold_milestone runs 128 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 28 over it, 1.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":"crates/product/ironclaw_assistant/src/projection/reply.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe98551adee49b12d55aae02e87cf4f10b4d1c87d9666a1334fd4c6f4b28962"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/chat_workflow.rs: FileTooLong \u2014 639 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 62% of them inside a single declaration: OpenAiChatCompletionsWorkflow (2 blocks, 128-661). The bar is 500 significant lines; this is 139 over it, 1.28\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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3a3d63590081df142585c23253bd0b47013d33fd44531387c1cf2b3e3e8e61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_threads::prepared_context::prepared_seed: FunctionTooLong \u2014 ironclaw_threads::prepared_context::prepared_seed runs 127 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 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":"crates/domains/ironclaw_threads/src/prepared_context.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"34944369025b7c60a79aa3a11bd9b039b245d094314e10be76ed278f3dca0eac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessJournalMaterializedState.apply_submit: MethodTooLong \u2014 apply_submit runs 127 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 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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc2a25d5e8cf2520b7d95fb6b7eef34fb2df5d7273d8e6bc1e19dfe7573b962"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projects-page.ProjectsPage: FunctionTooLong \u2014 ProjectsPage 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b555347f57d5ab821af39fb594268f6beff04b864b9fe320991f6a8be7a0be2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_webui::webui_v2::descriptors::webui_v2_routes_with_artifact_flags: FunctionTooLong \u2014 ironclaw_webui::webui_v2::descriptors::webui_v2_routes_with_artifact_flags runs 127 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 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":"crates/product/ironclaw_webui/src/webui_v2/descriptors.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a2ea093d177633a26fc0fcce23b43df4719bf806b280cdbe22bdd8ec880efa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilesystemAuthProductServices: TooManyMethods \u2014 38 methods, declared across 4 files: durable/mod.rs (26), durable/flows.rs (7), durable/interactions.rs (4), durable/accounts.rs (1). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7628a205694fcb32c955da42311eb9cd477f182fb6fd21281ce73d78cd6ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HostRuntimeLoopCapabilityPort: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"897bd71ac9ea654be3710886180b1f073ba74b2c3de5dcb3a074d35439cda8aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: root/product_live_adapters.rs: FileTooLong \u2014 633 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 133 over it, 1.27\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":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f834b5439d7c32c64dac1809a075be98d06022a42b058c3310c53fb0eb7ac9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: journal_store/migration.rs: FileTooLong \u2014 632 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 32 free functions. The bar is 500 significant lines; this is 132 over it, 1.26\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":"crates/kernel/ironclaw_processes/src/journal_store/migration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec1e1bd3a6c5e0e85658ff8f4bc06bd0d54f15163017808bd6483ad41ed416"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RepositoryMemoryBackend: ClassTooLong \u2014 504 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), 8 methods, 3 blocks, lines 261-944. The bar is 400 significant lines; this is 104 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba2daa9a2d817d219031fad7c92e89f5da9bfeeb28a7f59dccc3d983fe8875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::llm_admin::nearai_mcp::bootstrap_nearai_mcp: FunctionTooLong \u2014 ironclaw_composition::llm_admin::nearai_mcp::bootstrap_nearai_mcp runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/llm_admin/nearai_mcp.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a07c24c9fbed39e7b24bcc3f711f8a3ec485dbff680f5188f0d3b2c88f2a16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelsRoutingScene.ChannelsRoutingScene: FunctionTooLong \u2014 ChannelsRoutingScene runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/internal/architecture-video/src/scenes/ChannelsRoutingScene.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb004a608666d6fd1fa81ab4884ffa42ad67b743015983b36a3b5d263b8d54e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: durable/mod.rs: FileTooLong \u2014 629 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 94% of them inside a single declaration: FilesystemAuthProductServices (3 blocks, 84-983). The bar is 500 significant lines; this is 129 over it, 1.26\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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8182e07b0541e40f4754d012333c6dabf8c54a631cecd3688c11926613708f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/admin_configuration_store.rs: FileTooLong \u2014 629 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 129 over it, 1.26\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":"crates/extensions/ironclaw_extension_host/src/admin_configuration_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e3c893776624f2a2db20f31f104deea653ea3e3b05b2837c8a1f85d6babfcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 627 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 127 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":"crates/lanes/ironclaw_mcp/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7c13f080b9b702b89f9645f947425dd5d7aeca1b8b5c00f870cf5c18851d09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ironhub/service.rs: FileTooLong \u2014 626 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 70% of them inside a single declaration: IronHubService (2 blocks, 135-675). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"260682a7896276a3734d3269328b460d18e657ad06f36bc56647ac01621a9dd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProductProjectionItem.deserialize: MethodTooLong \u2014 deserialize 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":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe6814b497f689a5b81ea5e96ca630a1bd4fb45723bf283b79a9d6968fb479c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_filesystem::postgres::ensure_postgres_static_ordered_projection: FunctionTooLong \u2014 ironclaw_filesystem::postgres::ensure_postgres_static_ordered_projection 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ae69c9e144695ae27517e8e6a45e6b0914ec90b74a229af9f54f61e666b73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChannelConfigService.save: MethodTooLong \u2014 save runs 124 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 24 over it, 1.24\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":"crates/extensions/ironclaw_extension_host/src/channel_config.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49afa2ef0a4d03241ddfd60b68fe66ec654846fec893846f3629253b35ebf63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_processes::journal_store::rows::encode: FunctionTooLong \u2014 ironclaw_processes::journal_store::rows::encode runs 124 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 24 over it, 1.24\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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd60522486d1e4a678d425c38c6e310d5cbeacfcf889c64296e7d50646995d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-filesystem-panel.ProjectFilesystemPanel: FunctionTooLong \u2014 ProjectFilesystemPanel runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a26be08e7a2455b589d344b297fe9d6c23cb48515d09da647018e28f0fa3475"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LlmDecoratorScene.LlmDecoratorScene: FunctionTooLong \u2014 LlmDecoratorScene runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"docs/internal/architecture-video/src/scenes/LlmDecoratorScene.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"775770e7e47548802176cf894fafd6c2348b449562915ca00d3e2fe93eee52ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::api_capacity::run_scripted_full_flow: FunctionTooLong \u2014 ironclaw_stress::api_capacity::run_scripted_full_flow runs 124 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 24 over it, 1.24\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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9eeb25317ae2d7ca5c0b1b0d638235ff55b727b627aeff300b239aad96e2c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Reconciler: ClassTooLong \u2014 493 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), 17 methods, 2 blocks, lines 128-962. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"448f69d08fce81e2eee031f9a26889ec82cb3f77b7a8d8477b2385613f086f56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: link-payload-panel.LinkPayloadPanel: FunctionTooLong \u2014 LinkPayloadPanel runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/components/link-payload-panel.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f7cb4b2b2b212f1d4adca79dc3a6bc38f10828b3341639bdf8bef747bf6c7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: approval-card.ApprovalCard: FunctionTooLong \u2014 ApprovalCard runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa638eb959c820a45133c2e8b6c4ec39b5522c69a0cd3c80eca4076e922c05f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/configure-modal.tsx: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: ConfigureModal (44-581). The bar is 500 significant lines; this is 114 over it, 1.23\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853dd3b77349131456481adeb90942d0b8ad3daebc493d22e0d5cde592bfba0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultInboundTurnService: ClassTooLong \u2014 490 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), 13 methods, 4 blocks, lines 290-982. The bar is 400 significant lines; this is 90 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/inbound_turn.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff1358659310bc0896b1f132c01aa3bc72ccd1c500fb0d50483f680e8987ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/serve.rs: FileTooLong \u2014 612 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 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1556d8c033500f5b0bdcb7871e5ee90c42799465be24ab5e84010a2d8800c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexChatGptProvider.handle_sse_event: MethodTooLong \u2014 handle_sse_event runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"21836599f45c5b81220161529f64f21b5dd8afb7ded2fdefe54f15f54616474b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessAuthorizationReminter.remint: MethodTooLong \u2014 remint runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_capabilities/src/process_authorization.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"be41fe5214bb18f3723c397709634850d83cbeb7eaa08d8f97c2d3fac3642140"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth.useAuthSession: FunctionTooLong \u2014 useAuthSession runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/app/auth.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f992d4b9c293ea36be1c5668e27390943eace402a5cf511e583385d8893cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeliveryCoordinator: ClassTooLong \u2014 486 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), 29 methods, 2 blocks, lines 427-1176. The bar is 400 significant lines; this is 86 over it, 1.22\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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e51a520efafba1bee705f6beb32eaf796f0bba7a61af3418f276b6bd8054a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 607 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 107 over it, 1.21\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":"crates/events/ironclaw_event_streams/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb542a4623efd390d585f456079339d1abb4fed5a0793de57828cef54be2c1e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/suggestions.rs: FileTooLong \u2014 606 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 106 over it, 1.21\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":"crates/product/ironclaw_assistant/src/suggestions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff422d2b4b1144d567076ce99991ba84daa89c52b36ecf5bf1775723a9212c22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useHistory.ts: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c71f032c913b4a4670f7143cf3f0a3d12aa861deb2088ddead1f1c5a2ebe8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_host_api::failure::summary::reborn_failure_summary_for_category: FunctionTooLong \u2014 ironclaw_host_api::failure::summary::reborn_failure_summary_for_category runs 121 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 21 over it, 1.21\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":"crates/contracts/ironclaw_host_api/src/failure/summary.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"092659ec2fcf3bd881b00d460f269ce09e480ccbe114326ba4218ace8f413a97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeMemoryService.write: MethodTooLong \u2014 write runs 121 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 21 over it, 1.21\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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b9f613944241d1caedca77ba9b191bcd5eb98d6b890b68275651320ddc256"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeDispatcher.dispatch_json: MethodTooLong \u2014 dispatch_json runs 121 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 21 over it, 1.21\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":"crates/kernel/ironclaw_capabilities/src/dispatch.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a399810dde059acaf3a35b1183e13e7d943b1c1e6bf7db61d5dd89b87add56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentTurnProcessRuntime.retry_turn: MethodTooLong \u2014 retry_turn runs 121 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 21 over it, 1.21\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":"crates/kernel/ironclaw_turns/src/process_projection/runtime.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07de31e51a04ecdd12ef764945d03a5a406e6229fb438b12555c1b39188f83e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GateStage.process: MethodTooLong \u2014 process runs 121 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 21 over it, 1.21\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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b0db73c32d95709245cb6912be11bc8cab99f941b37ea5f4466883dea9494"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadBackedLoopContextPort.load_loop_context: MethodTooLong \u2014 load_loop_context runs 121 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 21 over it, 1.21\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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1748e36eb1960b19890191e31082bedf53bc20af843a8fcb0c2e186405fe275e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: registry-tab.RegistryTab: FunctionTooLong \u2014 RegistryTab runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e338c8ba5bd4054987c8524bb4e504ec78f41ffb556b43aa168e09b4a69faed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-dialog.ProviderDialog: FunctionTooLong \u2014 ProviderDialog runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2851ce6287c55c3b2ebc7aa3abe33e753a4ed070260cb4f147d4536c5aa4f82"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostgresRootFilesystem.query_ordered: MethodTooLong \u2014 query_ordered runs 121 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 21 over it, 1.21\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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"755d69764baf08a978ade39f9374c7286a1ef2ad33109e270dd6b9e4228334ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebornLoopDriverHostFactory: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab2102646c36f5cc90c00e8efcddfe52fd258d19f6b70ce965bc1ada2c685a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: LoopExecutionState: TooManyFields \u2014 36 stored fields beside 4 methods. The bar is 30 stored fields; this is 6 over it, 1.20\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":"crates/loop/ironclaw_agent_loop/src/state.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ce996b54dfa51fcd2afe1359096caedc5a0c2b1ced9dc18c5f0f9a6f463aad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityHost.spawn_json: MethodTooLong \u2014 spawn_json 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":"crates/kernel/ironclaw_capabilities/src/host/spawn.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fcb930a27dcf5987813258aff8abbf9b9cabe32f4f0bbe662a6877d7d2cac5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/capabilities.rs: FileTooLong \u2014 599 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 93% of them inside a single declaration: CapabilityStage (61-887). The bar is 500 significant lines; this is 99 over it, 1.20\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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6537d143f777b10fefe30d19d0290343afbd67c29a2beb99c455c94f3c57943a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compaction_task.rs: FileTooLong \u2014 599 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 99 over it, 1.20\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":"crates/loop/ironclaw_loop_host/src/compaction_task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"695c25ca526fc964efae5f398cbe53acc98783a5b3f07a35f6d80da2b789c4dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coding/file.rs: FileTooLong \u2014 598 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 98 over it, 1.20\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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41c32f63a779a55b127595ec3a8c41b5c82940e68dd455ad406d23006ed8624"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/input_queue.rs: FileTooLong \u2014 598 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 98 over it, 1.20\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":"crates/loop/ironclaw_loop_host/src/input_queue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1ba10a68a57408d0ba0b6a6833e56222ffc0c0460deb2a5d033f4fb3f06a4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/smart_routing.rs: FileTooLong \u2014 597 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 97 over it, 1.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":"crates/domains/ironclaw_llm/src/smart_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50f816e31c46d1f086a84aefc84f5f05185bd76b7a0301a66b3b3daffa5d5ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reply_sink/mod.rs: FileTooLong \u2014 595 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 83% of them inside a single declaration: Reconciler (2 blocks, 128-962). The bar is 500 significant lines; this is 95 over it, 1.19\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":"crates/extensions/packages/slack/src/reply_sink/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd27b09811754665fe8e5364d6b2216d9abb6d746f1b0354f00f15b0b59601d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InboundTurnService.handle_inbound_turn_inner: MethodTooLong \u2014 handle_inbound_turn_inner runs 119 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 19 over it, 1.19\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":"crates/domains/ironclaw_conversations/src/inbound.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b4b8373cf5611fdbd524878564498ea33adfb6d309b994e027ea86ea8be68c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_loop_host::model_gateway::tool_response_to_host: FunctionTooLong \u2014 ironclaw_loop_host::model_gateway::tool_response_to_host runs 119 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 19 over it, 1.19\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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d643bafcaa2aae2e94665c4bffa9c37425453df8b0a70633d2f574a7411fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contribution/envelope.rs: FileTooLong \u2014 592 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 92 over it, 1.18\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":"crates/domains/ironclaw_trace_commons/src/contribution/envelope.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db0fef01da1f28e77b6760401d8d0e68642964ea6f09ef2337d59ecad6c8244"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TraitsScene.TraitsScene: FunctionTooLong \u2014 TraitsScene runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"docs/internal/architecture-video/src/scenes/TraitsScene.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8cbd129adc9bcebf7e51f1ccca2391283e78f12dc5a01f502146f3c1214cee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::api_capacity::run_window: FunctionTooLong \u2014 ironclaw_stress::api_capacity::run_window runs 118 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 18 over it, 1.18\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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ad08c0275800e522cf3cdc220ba5ffc8cef21c663c087f7236ee8e38a40435"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/loop_exit.rs: FileTooLong \u2014 589 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 89 over it, 1.18\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":"crates/kernel/ironclaw_turns/src/loop_exit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83e781a746335890bec8cd4006d19048a0d33512fe41acfb3ca710e3449e2d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/prompt.rs: FileTooLong \u2014 589 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 89 over it, 1.18\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":"crates/loop/ironclaw_agent_loop/src/executor/prompt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29827a60c0bf0dc190d5f7394ba800bcd4cb92833c7feeddea7bc455771a355"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/product_surface.rs: FileTooLong \u2014 585 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 85 over it, 1.17\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":"crates/app/ironclaw_composition/src/product_surface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e08af4380cbdadd05c5ffa9fdd9e524757057b4a17ec348f4e56cae59ad394"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiResponsesThreadProjectionReader.wait_for_response_completion: MethodTooLong \u2014 wait_for_response_completion 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":"crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"350213032d47df055dcaa0256b6d6f20f05dfa301e8052f1ab3a417f33f0dd17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::smart_routing::score_complexity_internal: FunctionTooLong \u2014 ironclaw_llm::smart_routing::score_complexity_internal 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":"crates/domains/ironclaw_llm/src/smart_routing.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"333cfbd004ffbb1bcaa2741bfeb952deeaa22613dcc352ac4e293eeaa01773f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_host_runtime::egress::credential::apply_credential_injection: FunctionTooLong \u2014 ironclaw_host_runtime::egress::credential::apply_credential_injection 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":"crates/kernel/ironclaw_host_runtime/src/egress/credential.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e95295f632e37abc77c72e283df41108b60a5c6fb4c187d63e6a0cd1f54b481"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RuntimeEvent: ClassTooLong \u2014 466 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), 27 methods, 4 blocks, lines 93-856. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_log/src/runtime_event.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e430e959792dd17faaad68ffa84f0525e44da137a383278c1f47e825ff5898"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projection/reply.rs: FileTooLong \u2014 582 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 82 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/projection/reply.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"052440f1d85ac642889b165d214d370820268260eafdd47986252391d5650959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product_auth/oauth.rs: FileTooLong \u2014 581 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 81 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/product_auth/oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747bbb5066a432fa1b39c9344b727d2b246c194325718d25c20a4e8dbb19dbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/operator_logs.rs: FileTooLong \u2014 580 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 80 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_operator/src/operator_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fb06be0df43d88c07e49e470ff829ace1e1945aa8a8fa2aeec598c7af3d052"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeminiOauthProvider.from_gemini_response: MethodTooLong \u2014 from_gemini_response 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"103d5336f48e3e0cafd99458dec2f3635e3ffefa02ecfe54d735e7a019f7d3a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::nearai_chat::parse_nearai_models: FunctionTooLong \u2014 ironclaw_llm::nearai_chat::parse_nearai_models 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52792c0c241d9c042b9092013b5174d5fa29c752c1d7aa826b80b077633c14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemSessionThreadService.append_tool_result_reference: MethodTooLong \u2014 append_tool_result_reference 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7f831e462a8df2c18e29da507789f4f2acfa00fbedeacf745b5b16d631528"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandPrivacyFilterAdapter.redact_text: MethodTooLong \u2014 redact_text 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":"crates/domains/ironclaw_trace_commons/src/contribution/privacy.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"458db67ad772b664ce65d3f5911bd9e094609556a4bacd5e9f1b1f5767c132c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelGatewayBackedSystemInferencePort.call_system_inference: MethodTooLong \u2014 call_system_inference 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":"crates/loop/ironclaw_loop_host/src/system_inference.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02443e0ea3604683f59fa862aadb90e0b293576ed5057b392dd732a3ed7d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inspector-panel.PromptShell: FunctionTooLong \u2014 PromptShell runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3d2b7954593c62143a65825650a9ca115d2f1e4036c828d9f7e3935d3e27c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::ramp::run: FunctionTooLong \u2014 ironclaw_stress::ramp::run 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"465c39704243eccd9303a848ee2077a85c197b1f8b05d16f0cf9ee9a30ced011"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reborn_services/product_capability_handlers.rs: FileTooLong \u2014 578 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 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a8a41ec664880620416e199b4995bde00cd40a3e0ff9eae79886b966de22d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SnapshotDeviceLinkDriver: ClassTooLong \u2014 461 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), 32 methods, 2 blocks, lines 212-940. The bar is 400 significant lines; this is 61 over it, 1.15\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":"crates/extensions/ironclaw_extension_host/src/device_link_driver.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9840ba2904b880a5fc6aec8f4ba66ecbd4a5a1ac944ec0f3fcecc852555cf46d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_extension_support::coding::grep_tool::grep: FunctionTooLong \u2014 ironclaw_extension_support::coding::grep_tool::grep runs 115 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 15 over it, 1.15\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":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a346de25d0a0a87a335c2a425f64d42f870754723a7d9c301a69201cd138973d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityInvocationError.fmt: MethodTooLong \u2014 fmt runs 115 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 15 over it, 1.15\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":"crates/kernel/ironclaw_capabilities/src/error.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cc65bf06cfe0a99e33948253daf3a0f7ffd10849cc87e70ea194f90a4c02b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiChatCompletionsWorkflow.complete_chat_request: MethodTooLong \u2014 complete_chat_request runs 115 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 15 over it, 1.15\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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d11d389f7fc796c08c341437cb1e94ee1b644b12e2dac1030cdd89e3c55d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-management.ProviderManagement: FunctionTooLong \u2014 ProviderManagement runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc768e06cb2d34a608fbc474275e778e172f456e297aea72d3cc7cf18ffcdad7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings-toolbar.SettingsToolbar: FunctionTooLong \u2014 SettingsToolbar runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-toolbar.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b709e45725fcdf1da2c652ca865d4dd3d8bbbc783d836dda9394014633286a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_webui::webui_v2::handlers::ws_drain_loop: FunctionTooLong \u2014 ironclaw_webui::webui_v2::handlers::ws_drain_loop runs 115 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 15 over it, 1.15\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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaddffde399c62f2e36f6347e345743260e0267f4c8d1b6ff6e435952055442"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension_host_assembly.rs: FileTooLong \u2014 573 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 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/extension_host_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d3866ca1f112e83d3c3f4d4aa96e10db3791db264c7100ca3eabbdf92852b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeMemoryService: ClassTooLong \u2014 458 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), 12 methods, 6 blocks, lines 127-807. The bar is 400 significant lines; this is 58 over it, 1.15\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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b2bc3628d6042063c06249f6ca9d60ba8c5c6cddfbacbd736eff7314f7fe6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/channel_identity_store.rs: FileTooLong \u2014 572 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 77% of them inside a single declaration: FilesystemChannelIdentityStore (6 blocks, 77-698). The bar is 500 significant lines; this is 72 over it, 1.14\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":"crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb406e4dd265038cde7e1b0b3a0f9de13dfcfb9436ed22fb35701586905a3ee0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/attachment_transfer.rs: FileTooLong \u2014 571 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 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e696e624aecdff2e8bf46e6c619d046100a1a8da822548918a365259ae460"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChannelPairingService: ClassTooLong \u2014 456 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), 18 methods, 5 blocks, lines 465-1204. The bar is 400 significant lines; this is 56 over it, 1.14\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":"crates/extensions/ironclaw_extension_host/src/channel_pairing.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"417f0d25540f5252dee2375b1c3fe5098805e993db7751627d58778dc11daaf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/capability_dispatch.rs: FileTooLong \u2014 570 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 91% of them inside a single declaration: CapabilityStage (3 blocks, 69-840). The bar is 500 significant lines; this is 70 over it, 1.14\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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be13808fff3ba36423db254bf4e55497f4e3c9d73582a4c1f93a45ff145ef42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw::commands::traces::contributor::dispatch: FunctionTooLong \u2014 ironclaw::commands::traces::contributor::dispatch 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":"crates/app/ironclaw_cli/src/commands/traces/contributor.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"af21217ab0bcd05aabf600d249e04da4a96597f0755e272bc4a8962b1d5cbabe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_trace_commons::contribution::submission::flush_trace_contribution_queue_for_scope_with_credential_provider: FunctionTooLong \u2014 ironclaw_trace_commons::contribution::submission::flush_trace_contribution_queue_for_scope_with_credential_provider 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":"crates/domains/ironclaw_trace_commons/src/contribution/submission.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1174b38a2787fdda751efcaedf76e043a1b71cd32cd120d4b0a3c9c78ff11b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::suite::run: FunctionTooLong \u2014 ironclaw_stress::suite::run 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":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb24341c83a9152db3ffd10e6e58cee1da1b8fa33e9f3fc3e1bd9d3c9592ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live_canary/auth_runtime.py: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/live_canary/auth_runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"814079587d940c52dd361879724d4b72c4cc59a9efdad4ca7bf1a1c570ae3e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ironclaw_turn_runner::planned_driver_factory: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 over it, 1.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":"crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b67f8a7cd4c53582d34e31ec3b5b989aac3f47373341183e4627fdc783547d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScopedFilesystem: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.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":"crates/substrates/ironclaw_filesystem/src/scoped.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3db6cc4cb95ced2540b47583de3e176d495d08e586d12668e7f2c61eefde31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 566 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 66 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8daa6fbf4c117af9430c2ea94ecc4d17142b271addbc7c66cc9508286a44770"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeminiOauthProvider.aggregate_cloud_code_sse: MethodTooLong \u2014 aggregate_cloud_code_sse runs 113 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 13 over it, 1.13\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ac38839acb174a212e50392f2278a0df18f500fac770c74641b886b19ca55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AwaitEdgeResolver.deliver_background: MethodTooLong \u2014 deliver_background runs 113 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 13 over it, 1.13\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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"634b9ce1f72b773abbf5e360c186b4504a589b8af14a9fbec2c08c4c9a0ee9f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboarding-pairing-card.OnboardingPairingCard: FunctionTooLong \u2014 OnboardingPairingCard runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d3fc7b73e5eace4d3c07575197c7de8619b46ac619fb2a7cd7193bcf2ff89c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: thread-sidebar.ThreadSidebar: FunctionTooLong \u2014 ThreadSidebar runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/thread-sidebar.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b631c42722ad6371a18291f95410cb51b92e7ae678f1cc76e05fc8eac176fe1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_latency_runner::main: FunctionTooLong \u2014 ironclaw_latency_runner::main runs 113 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 13 over it, 1.13\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":"harness/latency/runner/src/main.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9193262765bb82159364f5bdc48534fe6db96d82b949394cc4afc6290b14de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 564 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 64% of them inside a single declaration: GitHubAction (27-428). The bar is 500 significant lines; this is 64 over it, 1.13\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":"crates/extensions/packages/github/wasm-src/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181d50d6f248e0508c35af7ae903650ea0d8d31bea7fa57b1686aad28b3c8bd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HookRegistrar.install_one: MethodTooLong \u2014 install_one runs 112 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 12 over it, 1.12\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":"crates/loop/ironclaw_hooks/src/registrar.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e9682cc4073144b92071ee1bfefb648b85b619d89802a18640251b27e68331"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: linked/login.rs: FileTooLong \u2014 559 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 68% of them inside a single declaration: TelegramDeviceLinkAdapter (3 blocks, 96-724). The bar is 500 significant lines; this is 59 over it, 1.12\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":"crates/extensions/packages/telegram/src/linked/login.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"104959183779a1f63e15468cb0448558f76ed1b882677b708c0570f123ab8d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnthropicOAuthProvider: ClassTooLong \u2014 447 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), 9 methods, 3 blocks, lines 95-701. The bar is 400 significant lines; this is 47 over it, 1.12\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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e60881505d3b7350f74411399c2a84d1f0502d00960ad9892fb6aedf00257c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/invocation_state.rs: FileTooLong \u2014 557 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 79% of them inside a single declaration: ProcessInvocationStore (3 blocks, 140-704). The bar is 500 significant lines; this is 57 over it, 1.11\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":"crates/kernel/ironclaw_processes/src/invocation_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3ba7b5a4e43a76613e014ffeccc6c185f6949081c0298ada19020e024d347c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reborn_qa_matrix/run_hermetic_qa.py: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\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/reborn_qa_matrix/run_hermetic_qa.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45612b377fc48621d89960a5249703281aa95e0f062444d1fb7a9209b5ff4c9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bedrock.rs: FileTooLong \u2014 556 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 56 over it, 1.11\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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ee15759cb15986bf778e94537607140e7fef1723d8312d70cd195f73d89f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lifecycle_product_service.rs: FileTooLong \u2014 556 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 63% of them inside a single declaration: ExtensionHostLifecycleProductService (3 blocks, 39-613). The bar is 500 significant lines; this is 56 over it, 1.11\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":"crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e3f8efb33bb02b1e7ec2b2310de5cebe67659a9861e668e58f6dd2903345c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filesystem_governor.rs: FileTooLong \u2014 555 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 94% of them inside a single declaration: FilesystemResourceGovernor (2 blocks, 69-871). The bar is 500 significant lines; this is 55 over it, 1.11\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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c77b86747fd68a0066e92659b18a2eaa31f0a1e395d29ae650b566223999f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_extension_support::packages::gsuite::google_calendar_assets: FunctionTooLong \u2014 ironclaw_extension_support::packages::gsuite::google_calendar_assets runs 111 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 11 over it, 1.11\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":"crates/extensions/ironclaw_extension_support/src/packages/gsuite.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"12165503315cd98c52790a6494f157f1503574ba469896645175c3758a0e8fdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_filesystem::libsql::put_libsql_inner: FunctionTooLong \u2014 ironclaw_filesystem::libsql::put_libsql_inner runs 111 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 11 over it, 1.11\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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1933}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b55106ba9b32ea4bdb798234f3719cadc574d513ef6b7e5af8359bd5629416d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TitleScene.TitleScene: FunctionTooLong \u2014 TitleScene runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"docs/internal/architecture-video/src/scenes/TitleScene.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46d7638bd051d2b691cf81c647228cdfd12a55c89cfa316a69f212444f2bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/resolution.rs: FileTooLong \u2014 553 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 53 over it, 1.11\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":"crates/domains/ironclaw_llm/src/resolution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bf8a1135de42de89dd8940cb5a724d307e7680356315e80c779120040f623f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension_lifecycle_capabilities.rs: FileTooLong \u2014 551 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 51 over it, 1.10\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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e53aaecf9498e2ae9ad9a7cb0afe2c0e3357c1dd1b89378f3a5428479f47cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SelectableSkillContextSource: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0479154feb5ddc396721e41fb93f01eb3a92e35bba2c169229ae6a56c73ee56"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessInvocationStore: ClassTooLong \u2014 440 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), 20 methods, 3 blocks, lines 140-704. The bar is 400 significant lines; this is 40 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/invocation_state.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d92ab93ba9a9268f49344813d3e203e29ed46ef3e58a2dc78173ca13f73b944"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle: FunctionTooLong \u2014 ironclaw_extension_support::skills::url_install::zip_bundle::extract_skill_bundle runs 110 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 10 over it, 1.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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/zip_bundle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"840d1b706965ffa8f0526a41bae87e0cb5f0ea80ec814b0a67b0c303863ff510"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlockedAuthResumeFanout.fan_out: MethodTooLong \u2014 fan_out runs 110 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 10 over it, 1.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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef7afe883e82109673c53e400ce43555c359b431f6b0b9278855fd04281ff1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar-threads.ThreadItem: FunctionTooLong \u2014 ThreadItem runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b0d01e07e8798b37345e396f920a2da62d38a275ccc083f2e5236eaa2a01f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::bin::db_write_idle::run_with_root: FunctionTooLong \u2014 ironclaw_stress::bin::db_write_idle::run_with_root runs 110 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 10 over it, 1.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":"tools/ironclaw_stress/src/bin/db_write_idle.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74fd845dcf2661ceec1897648fc3237808703590ec34ab7285f92eb81112f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SecretStore: ClassTooLong \u2014 439 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), 11 methods, 5 blocks, lines 211-866. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1509c3a1760578404755bb0963e0ffe7c32c833d391d30d8af1c5a5549f7624"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/supervisor.rs: FileTooLong \u2014 548 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 48 over it, 1.10\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":"crates/kernel/ironclaw_processes/src/supervisor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840bc856af840339f425adae0298682e43cb7c017bddfb2e62be19754a0610d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/conversation_binding.rs: FileTooLong \u2014 548 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 48 over it, 1.10\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":"crates/product/ironclaw_assistant/src/conversation_binding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe8927df050b908143bd1157234c0b1b1ec87fc1010ddd96b57cb6f5d89c8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/streaming.rs: FileTooLong \u2014 548 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 48 over it, 1.10\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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5581e285f2b138419de2f70b5ef5b3b50085824bd443eee26dca7a3218369876"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemChannelIdentityStore: ClassTooLong \u2014 438 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), 13 methods, 6 blocks, lines 77-698. The bar is 400 significant lines; this is 38 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ed6970926088a3c4839304767f97634b0cbfd7bded5e56f36643b4e7294e29"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IronHubService: ClassTooLong \u2014 437 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), 16 methods, 2 blocks, lines 135-675. The bar is 400 significant lines; this is 37 over it, 1.09\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":"crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"442138fb98abb273efcef433eb54a420afd6c25aba3c924ef43ad84b9dfcb0e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 546 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 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c431399781e1113d7b6ec601d6e3f27518c390f9a53f17c780bf101e16662e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScopedFilesystem: ClassTooLong \u2014 436 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), 34 methods, 3 blocks, lines 47-827. The bar is 400 significant lines; this is 36 over it, 1.09\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":"crates/substrates/ironclaw_filesystem/src/scoped.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f8172450cdb322715401db13e329dce4ab85f9b070309709653f88fc61e7de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemoryConversationServices.reset_conversation_binding: MethodTooLong \u2014 reset_conversation_binding 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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"97243a318d87c7398e0370aa06f5d22dec932a110bca62df4b631a8985752301"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_triggers::libsql::mark_successful_fire_result: FunctionTooLong \u2014 ironclaw_triggers::libsql::mark_successful_fire_result 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a6f23e52de4d0e6494d1a2ab0409701351fe449ec8e106bf0d6b0218112249"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SlackChannelAdapter.send: MethodTooLong \u2014 send 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":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"43df25333c7c6c75c51b07ff12228345f9ac57345482cd7bf2eb06d08fb43d61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompactionTask.validate_range: MethodTooLong \u2014 validate_range 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":"crates/loop/ironclaw_loop_host/src/compaction_task.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b23c77e443714f5c95fadb90b26f4b30d5a059a1a397976aff26190bd6cea7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentSpawnCapabilityPort.invoke_capability_batch: MethodTooLong \u2014 invoke_capability_batch 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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc533a463fb5a68b474d864e6eb53dc38e10ecd1851607a43922f754e5430b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornTurnRunExecutor.invoke_driver: MethodTooLong \u2014 invoke_driver 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":"crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f526bc4156a18133bd44acd866bfd4d777bdc814a48befebeff9ac0a03e444"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunDeliveryObserver.notification_for_actionable_state: MethodTooLong \u2014 notification_for_actionable_state 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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"931abaf4f37265390e5834dc25d5716f37f96dd8fa0d88927d78ee8f23ad92f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReqwestNetworkTransport.execute: MethodTooLong \u2014 execute 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":"crates/substrates/ironclaw_network/src/transport.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5293f00f72b0b5bb013d9e9d95266a23a488ede625b80c155ff56e4145c61598"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PrimitivesScene.PrimitivesScene: FunctionTooLong \u2014 PrimitivesScene runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"docs/internal/architecture-video/src/scenes/PrimitivesScene.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ab6305fb68cfd7701a5bb2eec28673f0444aa205a4248d270876ff91ea2628"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payload.rs: FileTooLong \u2014 544 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 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/telegram/src/payload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9825e7ce3f71f11e03ef35444135fb1f04ebc183d47baafe602bb26e5fee166"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useExtensions.ts: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c37f25dc3823080f89e5d9eccaf85ae1f57667351013241a176fbd40a363d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultTurnCoordinator: ClassTooLong \u2014 432 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), 10 methods, 4 blocks, lines 182-950. The bar is 400 significant lines; this is 32 over it, 1.08\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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1529ed49a737984a6ad54f424d2e0c0cbc08d629052a5c90e58f1e4d582a99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension_ingress.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":"crates/extensions/ironclaw_extension_host/src/extension_ingress.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4fa7fa7504bfbf80ad7d494d9ef6309577663e5281b398f57e0489b7d20075"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/milestones.rs: FileTooLong \u2014 538 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 38 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":"crates/contracts/ironclaw_loop_contracts/src/milestones.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bbc0d85084441bf196f11a3d78c252869f63caffb36d637bf0649fa0f8e8bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: url_install/github.rs: FileTooLong \u2014 538 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 38 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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d491a8461bfe316b340a8769175fc5d6f1e982aba513150271a3250e1d60a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::extension_host_assembly::build_backend_extension_host: FunctionTooLong \u2014 ironclaw_composition::extension_host_assembly::build_backend_extension_host 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":"crates/app/ironclaw_composition/src/extension_host_assembly.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4238ce6002c4e2247a0c06de5c1d3dc7cf3e996d0ac04864b8dd9926a70e99e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PromptCompactionStep.run: MethodTooLong \u2014 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":"crates/loop/ironclaw_agent_loop/src/executor/prompt.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd73fce2178bdb375ca41823067fe57148c7731c4e87cbddb7066aec82550c4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProductRuntimeProjectionStream.forward_subscription: MethodTooLong \u2014 forward_subscription 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78de144035026e43d01a26354a12fbadaa5245b25cc9e9b9307a33bf8bee59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_assistant::workflow::dispatch_payload: FunctionTooLong \u2014 ironclaw_assistant::workflow::dispatch_payload 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f78b34ee3de876e1ed987ae94c1e3a49481ab3ed52f943046cab27082e205"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::run_user_turn_in_process: FunctionTooLong \u2014 ironclaw_stress::run_user_turn_in_process 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"632c3c599b8e05a81e7fef8a9f71df79a688f5052a5fadfee254e54c8213e3bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SnapshotDeviceLinkDriver: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"crates/extensions/ironclaw_extension_host/src/device_link_driver.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa799b9aae6e8a958ce5352ab927c029047a9c1293c4a8a98f72707da15d694a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ironclaw_extension_support::coding::paths: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\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":"crates/extensions/ironclaw_extension_support/src/coding/paths.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c4bdbc6b06e392b42d8cdf2361f824e8ca2d1db75033b783e218c21875c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessJournalMaterializedState: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f8a214a46812a9984f183b2857badd61c2868b8399d79dde3f289c89d6111f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ironclaw_loop_host::capability_port::provider_input: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\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":"crates/loop/ironclaw_loop_host/src/capability_port/provider_input.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"710ead3780722036a10ba228d17c246cfd0bb81f6a158e631cc5da9a91dcbec4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ironclaw_safety::display_redaction: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\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":"crates/substrates/ironclaw_safety/src/display_redaction.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"988706f7cea6bbbe5c6eb9747375188831da5e6f7d5b367c67852975b1af803d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RefreshingCapabilityPort: TooManyFields \u2014 32 stored fields beside 6 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f89e50d9973663a4c0aaf19b0a885ca4ee58ad7f86cd5ca329b709f34f807"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projection/live_progress.rs: FileTooLong \u2014 532 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 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/projection/live_progress.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c01cfd90a843ca799fead3ad764131b0a57371996349699a55bbabd8023ba0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hook_gate_refs.rs: FileTooLong \u2014 531 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 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/hook_gate_refs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0ed841617816e931d9e250d4b05881960dc8a3f71d84d0bddc3d7fe5f9717f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RigAdapter: ClassTooLong \u2014 424 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), 16 methods, 3 blocks, lines 45-1764. The bar is 400 significant lines; this is 24 over it, 1.06\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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0124dd1d1342e7d94345dd3c09ed65c2d8ae21ddc34f0425fa746d598eada5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemoryBackend: ClassTooLong \u2014 424 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), 1 methods, 4 blocks, lines 71-691. The bar is 400 significant lines; this is 24 over it, 1.06\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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbc224d3526d53751f7ab8c051da6ed7880cf93a68bf20e6bef2960c7382e50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::reasoning::find_code_regions: FunctionTooLong \u2014 ironclaw_llm::reasoning::find_code_regions runs 106 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 6 over it, 1.06\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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2e2f4cd95b9c0d80e44c7867bda7a2c75c3528257a938e05ef1017a83b3cbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemorySessionThreadService.append_tool_result_reference: MethodTooLong \u2014 append_tool_result_reference runs 106 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 6 over it, 1.06\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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"9516ed5b0e26577f15acb09c05b14bdeba5b02c9c7cfbbf455231b0a3af35786"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebornServices.execute_product_command: MethodTooLong \u2014 execute_product_command runs 106 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 6 over it, 1.06\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":"crates/product/ironclaw_assistant/src/reborn_services/product_commands.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"68346484ad5fedd4d85617ab4fc976597c909bc15f161e2bea3856aaf420a87c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultProductSurface.submit_inbound_inner: MethodTooLong \u2014 submit_inbound_inner runs 106 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 6 over it, 1.06\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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab2b868bdcb584a58b4968446f8d6245cf0996003dcc7dcf90653b08604b72c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth-oauth-card.AuthOauthCard: FunctionTooLong \u2014 AuthOauthCard runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"da86d478215f5c7cc5ee6377ccfe11b7e1f57118abeacdc21c6cc8fd6d892fa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useProviderDialogForm.useProviderDialogForm: FunctionTooLong \u2014 useProviderDialogForm runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee95032125dcab55386fb240682f9d0c239fc11e62990f30ce7a6f79baddee01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_webui::product_auth::oauth::vendor_oauth_callback_attempt: FunctionTooLong \u2014 ironclaw_webui::product_auth::oauth::vendor_oauth_callback_attempt runs 106 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 6 over it, 1.06\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":"crates/product/ironclaw_webui/src/product_auth/oauth.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4011a81c1b447ce9d8924bf956ead872d6a5f5aa8d283c7d2dff2afe50b3bcf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelImplsScene.ChannelImplsScene: FunctionTooLong \u2014 ChannelImplsScene runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"docs/internal/architecture-video/src/scenes/ChannelImplsScene.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfe1878156149e1b216a53e2193381907721055d5d29e4bc26681759be0678e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeActScene.CodeActScene: FunctionTooLong \u2014 CodeActScene runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"docs/internal/architecture-video/src/scenes/CodeActScene.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3acdd6cae0024e5c8b17f6fb62e9dd38b2f11bbdb84a91f1ad3454b427f039"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_link/driver.rs: FileTooLong \u2014 527 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 76% of them inside a single declaration: DeviceLinkFlowDriver (3 blocks, 104-667). The bar is 500 significant lines; this is 27 over it, 1.05\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":"crates/domains/ironclaw_auth/src/product_auth/device_link/driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960947f72351ce77cebaba7a851f72fd572e0f4ace116a771d5521e82fa0f2e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/conversation_state_store.rs: FileTooLong \u2014 527 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 27 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_conversations/src/conversation_state_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5e695e06ed10d0b44a6af08105628f5bb28bffda66a38305f57fa121811653"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/contract.rs: FileTooLong \u2014 527 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 27 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_threads/src/contract.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ecbf5c51c7e1218925956145a55f36b4d7a1cf9e8c2cb840bdf62b3a0f2b90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/skill_learning.rs: FileTooLong \u2014 526 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 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/skill_learning.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b82dab8d0a72211c95dfc6050de641d3d9b975a56fa7f5862cd280cb3bc45fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filesystem_ledger.rs: FileTooLong \u2014 525 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 25 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/filesystem_ledger.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f0d380e9ca59dc4de27d820667c1f4dd912a7b5f9c848d291cb88f066ceac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_composition::extension_host_assembly::build_backend_channel_pairing: FunctionTooLong \u2014 ironclaw_composition::extension_host_assembly::build_backend_channel_pairing runs 105 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 5 over it, 1.05\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":"crates/app/ironclaw_composition/src/extension_host_assembly.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a61aeead56a10204f351a303af15b453aa75227ecd4b22095d492eada32aed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoopRuntimeContext.render_model_content: MethodTooLong \u2014 render_model_content runs 105 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 5 over it, 1.05\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":"crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f030783020c715d5ce80477ab956a357f4a35da6b1d3a4da7e7f4a195d03a88a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::apply_decorator_chain_with_fallback: FunctionTooLong \u2014 ironclaw_llm::apply_decorator_chain_with_fallback runs 105 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 5 over it, 1.05\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":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3578ba2bbf6ffcec337047ac8b20d90f34eef8313a499e10077693d0bed9955a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_sheets_tool::execute_inner: FunctionTooLong \u2014 google_sheets_tool::execute_inner runs 105 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 5 over it, 1.05\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":"crates/extensions/packages/google-sheets/wasm-src/src/lib.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c55994063814b13784d484ff4d56fd9504c2e6e4bce6931d6c96b82244932f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_slack_extension::attachment_transfer::send_files: FunctionTooLong \u2014 ironclaw_slack_extension::attachment_transfer::send_files runs 105 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 5 over it, 1.05\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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5585e414c629e6128ba19cfd15a5a056b6e2ce7902e6e0b705158d678e5f305"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemSuggestionsStore.begin_generation: MethodTooLong \u2014 begin_generation runs 105 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 5 over it, 1.05\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":"crates/product/ironclaw_assistant/src/suggestions_store.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a845e02a6b3e9967e373af38fc2836e6c8f311f7efce11d0a66089a7a8db39b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiResponsesWorkflow.stream_response_request: MethodTooLong \u2014 stream_response_request runs 105 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 5 over it, 1.05\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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecca43214e7fc381241f1f08641ac9fa8f0c28feafda217ce4b36d3c57a60d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-palette.CommandPalette: FunctionTooLong \u2014 CommandPalette runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"crates/product/ironclaw_webui/frontend/src/components/command-palette.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce84e0a2a522674161e3f2b2fe83eb4dfe44d4d9a9fd12d09bdc85c50babc853"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: factory/auth_engine_assembly.rs: FileTooLong \u2014 523 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 23 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f81cc1290310e365115247944907df4d2e538fdfbac524720d9ea7708f48b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAiResponsesThreadProjectionReader: ClassTooLong \u2014 417 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), 11 methods, 3 blocks, lines 313-978. The bar is 400 significant lines; this is 17 over it, 1.04\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":"crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64243d540e612e095db03d74c9d92fc609da2d89044247e77ffe5f547630ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesystemAuthProductServices.create_or_update_manual_token_account: MethodTooLong \u2014 create_or_update_manual_token_account runs 104 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 4 over it, 1.04\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":"crates/domains/ironclaw_auth/src/product_auth/durable/interactions.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d05137eb5f414cc0f34728c91b2011970ea4c8220b40ef7caf28338be1c26c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Sanitizer.new: MethodTooLong \u2014 new runs 104 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 4 over it, 1.04\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":"crates/substrates/ironclaw_safety/src/sanitizer.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c3b4a2e16e7fe58d579e5f208bc277825c86809c8cd0361ae73e019f825fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: first_party_tools/json.rs: FileTooLong \u2014 519 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 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b7e32237da3fc810279409e38e8ab35e0045ecfe87ae5a87b7318a2d39eefe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RebornLoopDriverHostFactory: TooManyFields \u2014 31 stored fields beside 36 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dfd3fc069109cb79e3892c0facdd2df82f79e005d2b47233bc9909f3e57940"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAiResponsesWorkflow: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e28717c4342d82cacabf3d5d91ed296a92cba094cb9bf18719e1335301fe2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payload.rs: FileTooLong \u2014 516 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 16 over it, 1.03\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":"crates/extensions/packages/slack/src/payload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a560f059ac7ffaf67bfc2d317244b1b31e2a678cd1cf34eb9538c84dba4174"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_loop_contracts::resolver::fingerprint_for: FunctionTooLong \u2014 ironclaw_loop_contracts::resolver::fingerprint_for runs 103 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 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":"crates/contracts/ironclaw_loop_contracts/src/resolver.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"62710da7c58299853fed2d5cf2c820c6e1cc50298300a4c23b1a70c9fb03c32e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_llm::rig_adapter::convert_messages: FunctionTooLong \u2014 ironclaw_llm::rig_adapter::convert_messages runs 103 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 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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059bdf4113a1461692af1ba12747c59f23cfb06c70faf8aa8e8a10d3ae93ab1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawTraceContribution.from_capture_turns: MethodTooLong \u2014 from_capture_turns runs 103 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 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":"crates/domains/ironclaw_trace_commons/src/contribution/capture.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06aa00740aa35e437ff764e61accc0ae008866a31ac30817a932346568aa31"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_host_runtime::first_party_tools::http::dispatch: FunctionTooLong \u2014 ironclaw_host_runtime::first_party_tools::http::dispatch runs 103 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 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/http.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a202d5027efea73fbd2089f481290dc7ffed4488a2e870aede2207aa34c478"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PredicateEvaluator.evaluate_at: MethodTooLong \u2014 evaluate_at runs 103 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 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":"crates/loop/ironclaw_hooks/src/evaluator.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a56c38336aea84016c5a4961926ea046724dbfa9a3254fa8bfe431daed4055"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page-header.PageHeader: FunctionTooLong \u2014 PageHeader 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":"crates/product/ironclaw_webui/frontend/src/components/page-header.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99858f442456c896bc657843de7785f7f8aea725d6b9a5cb2a5f3f8ddf3c8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attachment-preview.AttachmentPreviewModal: FunctionTooLong \u2014 AttachmentPreviewModal 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd97546fff45334796636845cd2fe19ce53005d26a5935f70b690c8153bad16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw_stress::api_capacity::run: FunctionTooLong \u2014 ironclaw_stress::api_capacity::run runs 103 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 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d748eeefc12597eeed42b48ee9a26776410f2fbc80e5ae40999b86b638d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dispatch.rs: FileTooLong \u2014 513 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 13 over it, 1.03\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":"crates/contracts/ironclaw_host_api/src/dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ab93c75711710d0bf4ee18f68a7207ba680523116db7cd203c55c22d54299"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/analysis.rs: FileTooLong \u2014 513 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 13 over it, 1.03\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":"tools/ironclaw_stress/src/analysis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1a180559707b6ed7d0636dfb5e598ace208ed843f4194b23be346278bc0c94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/production_readiness.rs: FileTooLong \u2014 512 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 12 over it, 1.02\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":"crates/loop/ironclaw_turn_runner/src/production_readiness.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d57bbe6c9e50c339fd7c28a3eb41c0b9849c38724fa2d6c34a81ffba7bfd08"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuiltinObligationHandler: ClassTooLong \u2014 409 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), 22 methods, 4 blocks, lines 47-663. The bar is 400 significant lines; this is 9 over it, 1.02\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":"crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"61284836a1b4e15815ed4406839e00dd2930b6888b4c8a43dab7b38bcf3d6a32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/webui_serve.rs: FileTooLong \u2014 510 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 10 over it, 1.02\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":"crates/product/ironclaw_webui/src/webui_serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe6df2650eb95ad5934a2619dfc3c0d2e86beeeb922bfae09256cf1d7488896"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_drive_tool::execute_inner: FunctionTooLong \u2014 google_drive_tool::execute_inner 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":"crates/extensions/packages/google-drive/wasm-src/src/lib.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5072f46a41804831b3e058701fc1b321ff79a656689148ea4c823c07cf928d19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: configuration-tab.ConfigurationGroup: FunctionTooLong \u2014 ConfigurationGroup runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"08273d893295970147fda1f0ec7701a0cfae18b5f57f27d8549a7a577f15c613"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostgresRootFilesystem.ensure_index: MethodTooLong \u2014 ensure_index 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b21cadf39a686ad0602f108e7fb68a65a0c68acaf8694a1d57c6e086e43329c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool_result_records.rs: FileTooLong \u2014 509 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 9 over it, 1.02\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":"crates/domains/ironclaw_threads/src/tool_result_records.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552bf4a4b062bcb68d61c520f054e45b4899a1ba02420bd5f821d4c932e38216"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dispatch.rs: FileTooLong \u2014 509 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 9 over it, 1.02\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":"crates/extensions/packages/github/wasm-src/src/dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecd2d5e9e21d0fdaf40311b2ffa35dd6a33fbcac3662893a7b6469639837f25"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialManager: ClassTooLong \u2014 404 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), 12 methods, 2 blocks, lines 335-928. The bar is 400 significant lines; this is 4 over it, 1.01\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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e2f2e9a86190abc19db661c5299c293385f917ffc4d6b9343beadf70eebbda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ironclaw::commands::config::init::config_stub: FunctionTooLong \u2014 ironclaw::commands::config::init::config_stub runs 101 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 1 over it, 1.01\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":"crates/app/ironclaw_cli/src/commands/config/init.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcaf2f63f286eb01280456ad7ca7218324993e8a3baac763373572779a4c659"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeterministicTraceRedactor.redact_trace: MethodTooLong \u2014 redact_trace runs 101 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 1 over it, 1.01\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":"crates/domains/ironclaw_trace_commons/src/contribution/privacy.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"90606336462d6682795b947d1cbaad2b17a977e8340bf11f8b8757e791b6274c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostRuntimeLoopCapabilityPort.invoke_auth_decline_dispatch: MethodTooLong \u2014 invoke_auth_decline_dispatch runs 101 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 1 over it, 1.01\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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"438b087056a3cf7fbc72a78eba5c7a4d94cd715ed6e89dac1fb4a2be55bc3857"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAutomations.useAutomations: FunctionTooLong \u2014 useAutomations runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/hooks/useAutomations.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a6087ce3cb059e7e5246db05c326819b3fd34e579e7fc66fbcc7cd5613dd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jobs-list.JobsList: FunctionTooLong \u2014 JobsList runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"crates/product/ironclaw_webui/frontend/src/pages/jobs/components/jobs-list.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc86e734580c0e165fbe37d75283164ce5054d60b25dbb2412a099b9b18bc45e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 503 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 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_memory/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dca27044eb1dd8244ce2a07c2d099e1d50eec2a94f92c2b0682a863b9c2595"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/budget_accountant.rs: FileTooLong \u2014 502 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 75% of them inside a single declaration: GovernorBackedAccountant (4 blocks, 48-688). The bar is 500 significant lines; this is 2 over it, 1.00\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":"crates/loop/ironclaw_loop_host/src/budget_accountant.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d413c62a0924e033118fdd06fab2212f999e3d013cba4390f8e95576a1ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 33 shared lines): crates/extensions/packages/memory-native/src/backend.rs:446-528 | crates/extensions/packages/memory-native/src/backend.rs:554-645 | crates/extensions/packages/memory-native/src/backend.rs:653-755 | crates/extensions/packages/memory-native/src/backend.rs:764-853 \u2014 These 4 members are variants of one another: a block of 33 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae039233ee6278b2af4368ec1096d343d8f9fa550634a7a28e8200c406ee6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 32 shared lines): crates/domains/ironclaw_triggers/src/libsql.rs:1040-1155 | crates/domains/ironclaw_triggers/src/libsql.rs:1160-1270 | crates/domains/ironclaw_triggers/src/libsql.rs:1275-1349 \u2014 These 3 members are variants of one another: a block of 32 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da2044cb42344fb36e1ffcfa11aa620c3a4e70bf4531e5638ac3bf51cf179bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): crates/substrates/ironclaw_filesystem/src/libsql.rs:860-1026 | crates/substrates/ironclaw_filesystem/src/postgres.rs:595-737 \u2014 These two members are variants of one another: 54 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbce5dddf53a85e8aa164648e2ac7fad607fc72ed0e2711687948a4e1ba79cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): crates/domains/ironclaw_llm/src/openai_codex_session.rs:351-481 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:520-589 \u2014 These two members are variants of one another: 47 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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"107681caf62f75b669da968408f3ca27e89ad8c627b157485a088cbab81e58a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): crates/substrates/ironclaw_filesystem/src/libsql.rs:2905-3013 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2484-2584 \u2014 These two members are variants of one another: 46 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"38771bb8f408d8ec158ff02fe2b1fc8befb771451a00658376a8b777d7fe6e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:692-749 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:776-832 \u2014 These two members are variants of one another: 43 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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fd4b4090a8fd983829c56a50b14817fe47706f62795b314eb08d1d85e16ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1445-1510 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:665-762 \u2014 These two members are variants of one another: 35 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"412cbbace5cfbd74f189f5e948967a2d4eb81fcc4706f256b46da38891924c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): tools/ironclaw_stress/src/main.rs:2246-2302 | tools/ironclaw_stress/src/process_pressure.rs:31-79 \u2014 These two members are variants of one another: 35 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c7dd4d94279b8dce9c9638f6aea8fd9f73581edc451bb63a29459425cebcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:110-273 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:299-386 \u2014 These two members are variants of one another: 34 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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c9a0d50bd0993b54c927e257845bd1625885009157f55939cd3c146baf65ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (29 shared lines): crates/domains/ironclaw_triggers/src/postgres.rs:696-745 | crates/domains/ironclaw_triggers/src/postgres.rs:750-799 \u2014 These two members are variants of one another: 29 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e2cf24b93da69ca1fd040e408baaa7828511556864ae28a7b3b7f0d1e1e3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (24 shared lines): crates/domains/ironclaw_triggers/src/postgres.rs:567-628 | crates/domains/ironclaw_triggers/src/postgres.rs:633-691 \u2014 These two members are variants of one another: 24 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7e9055187841386d3c1fb7efd2a6f1d2125fd156e46e0d990e656adcc3cb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/extensions/ironclaw_extension_support/src/latency.rs:110-133 | crates/extensions/ironclaw_extension_support/src/latency.rs:142-166 \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":"crates/extensions/ironclaw_extension_support/src/latency.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"609212865fef392979f1c64c0ef6425ee809218acfa7b47b558c02689d49968a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/loop/ironclaw_hooks/src/predicate_state.rs:829-846 | crates/loop/ironclaw_hooks/src/predicate_state.rs:921-937 \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":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b14ea76ee436f1fd965739cdfccb67ede1c9bc45610b096e677a596d63750d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/substrates/ironclaw_filesystem/src/postgres.rs:527-588 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1302-1341 \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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1404b8fb6bb7acc17191ea57d7a4af82a71e9b0a8f042fe5c3694a4673cef7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/kernel/ironclaw_host_runtime/src/production.rs:64-79 | crates/kernel/ironclaw_host_runtime/src/production.rs:87-103 \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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cfc1f7d15c705d3cd03f5894cf82b2abcfd6147bebafbdcc764a5b31448fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): scripts/reborn_qa_matrix/audit_defect_traceability.py:182-199 | scripts/reborn_qa_matrix/audit_workbook_completeness.py:149-161 \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":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eee145f8a0bff0f8c16f942b7d82e232a523f26fff78c5076433881fbc310dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/extensions/ironclaw_extension_support/src/web_access.rs:512-530 | crates/lanes/ironclaw_mcp/src/jsonrpc.rs:204-219 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"018f91c5610df5aa878fb98d71f708e9f08d06a68aefb80147a5900c584844ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs:68-81 | crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs:88-102 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc238e13036551a38aa8c02b1f5322de555517afad053bde1bc9d52ea58107b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/extensions/ironclaw_extension_registry/src/installations.rs:1976-2032 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2040-2108 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2116-2178 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2305-2350 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2399-2441 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3191-3236 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3434-3513 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3598-3678 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab1310228e68bacc71f15ede580612e9ab7f0ac9a622209f93686d31e54d64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/extensions/packages/github/wasm-src/src/api/actions.rs:120-140 | crates/extensions/packages/github/wasm-src/src/api/actions.rs:171-192 | crates/extensions/packages/github/wasm-src/src/api/issues.rs:431-448 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:208-225 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:279-309 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:369-386 | crates/extensions/packages/github/wasm-src/src/api/repos.rs:143-164 | crates/extensions/packages/github/wasm-src/src/api/repos.rs:208-225 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/github/wasm-src/src/api/actions.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eba46a51fea345fb819047e0add596f6f25beb4244aeb02df2eb28778f49fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/kernel/ironclaw_host_runtime/src/memory_context.rs:238-245 | crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:444-455 | crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:470-480 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:292-304 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:331-342 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:429-440 | crates/kernel/ironclaw_host_runtime/src/post_edit_check.rs:195-204 | crates/lanes/ironclaw_mcp/src/client.rs:122-134 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/memory_context.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e6e3d9b718548596e8b4b3044ea3192d4e690fc2e5d38a5e67d33bd0194669"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/extensions/ironclaw_extension_registry/src/installations.rs:1934-1969 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2243-2298 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2356-2392 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2447-2484 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2493-2525 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3152-3184 \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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e7580611ad3c3db802cd50af34cf02ff79d89a84adcfb483c90683545125f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs:33-49 | crates/loop/ironclaw_agent_loop/src/executor/latency.rs:22-44 | crates/loop/ironclaw_agent_loop/src/executor/latency.rs:52-75 | crates/loop/ironclaw_loop_host/src/lib.rs:253-270 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:82-96 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:103-120 \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":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db51b6932e37cebed1a69495efc8b0beaf4f622de4aec4a9d9c040e4b16435"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/contracts/ironclaw_host_api/src/audit.rs:57-81 | crates/contracts/ironclaw_host_api/src/audit.rs:88-112 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:535-587 | crates/kernel/ironclaw_authorization/src/lib.rs:837-846 | crates/kernel/ironclaw_processes/src/types.rs:324-334 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/audit.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aabb5390d3ae542362d7c341e00e75f242ba84f64f228b28e6e79e1e01ccec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:280-305 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:310-377 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:383-421 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:533-556 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:665-739 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ab8455e86dd81b2a17d2181deda86020ba6be76b9df7ce2d88f7fc987c36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/domains/ironclaw_triggers/src/libsql.rs:458-477 | crates/domains/ironclaw_triggers/src/libsql.rs:572-590 | crates/domains/ironclaw_triggers/src/libsql.rs:599-632 | crates/domains/ironclaw_triggers/src/libsql.rs:694-718 | crates/domains/ironclaw_triggers/src/libsql.rs:1658-1676 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffde6da9d6cf129912a842afc2a9655d375c27302bd9b9ee94d5e7be85b4191"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/extensions/packages/google-docs/wasm-src/src/api.rs:24-42 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:33-48 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:24-39 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:24-39 | crates/extensions/packages/slack/wasm-src/src/api.rs:211-239 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef97b65120d7e3c82208220f91e071240c85a45b3d4b07253db3dafb5f2a76f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:302-319 | crates/extensions/packages/google-drive/wasm-src/src/lib.rs:246-263 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:249-266 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:320-337 | crates/extensions/packages/slack/wasm-src/src/lib.rs:265-282 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"03798861b6f0dd56b4ea93406d336cb3cadb03701309a824af31e92ea4819499"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/extensions/packages/telegram/src/linked/ops/people.rs:79-168 | crates/extensions/packages/telegram/src/linked/ops/people.rs:226-277 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:41-91 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:123-183 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:229-289 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/telegram/src/linked/ops/people.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf03506b46edf553b3b01c961189e7eb558726df7d89d083412be90b5008430a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/product/ironclaw_assistant/src/reborn_services.rs:1697-1715 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3378-3402 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3409-3433 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3438-3474 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3585-3609 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de21bfe66cb97089ad09da038fca361e972e2a2cd3f360fb7905f42e7987ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/substrates/ironclaw_filesystem/src/libsql.rs:293-337 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1028-1056 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1062-1108 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1744-1787 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2166-2185 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17c43becd553e1e53b4360ecdbfebf05772ae3b52c48f0f0434c3b841ca281b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): scripts/workflow_canary/scenarios/bug_logger.py:104-198 | scripts/workflow_canary/scenarios/calendar_prep.py:92-224 | scripts/workflow_canary/scenarios/crm_tracker.py:132-265 | scripts/workflow_canary/scenarios/first_immediate_run.py:40-117 | scripts/workflow_canary/scenarios/hn_monitor.py:86-198 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/workflow_canary/scenarios/bug_logger.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df45e77d7ddaed70e20100d916d33023d0e911248fffa22921afb2acffe420"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/app/ironclaw_cli/src/commands/traces/mod.rs:2025-2047 | crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs:25-144 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1000-1023 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1027-1063 \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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a79d89055bac7960edd19d8642af13ff3d6894e6e701c7ce3e2742f7de86a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/app/ironclaw_composition/src/deployment.rs:298-325 | crates/app/ironclaw_composition/src/deployment.rs:328-363 | crates/app/ironclaw_composition/src/deployment.rs:387-422 | crates/app/ironclaw_composition/src/deployment.rs:481-511 \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":"crates/app/ironclaw_composition/src/deployment.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c976d1b74cd148694dd735a2bb474f2c9d0a6e79871da11009f3709e120573"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/domains/ironclaw_llm/src/nearai_chat.rs:886-963 | crates/domains/ironclaw_llm/src/nearai_chat.rs:969-1022 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1027-1141 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1147-1220 \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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d54a46e3b818a6743ffba2ac12bc13207c99dad5b3b308f5fa8801c8b9220"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/domains/ironclaw_llm/src/rig_adapter.rs:1389-1459 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1465-1535 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1540-1640 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1646-1742 \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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ace808dfb228176e7468a5aea5414084727d4b925c1270d312f6873caba2ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/domains/ironclaw_threads/src/filesystem_service.rs:3319-3355 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3360-3385 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3390-3425 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3430-3447 \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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3319}}}],"partialFingerprints":{"codehealthFindingId/v1":"61071aea31e60e5fc631f926443f69a9ba25f82adc0d682e5c839c8b254d716f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/domains/ironclaw_triggers/src/libsql.rs:479-502 | crates/domains/ironclaw_triggers/src/libsql.rs:512-566 | crates/domains/ironclaw_triggers/src/libsql.rs:724-759 | crates/domains/ironclaw_triggers/src/libsql.rs:769-823 \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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f98703be040077888a3e8758b6f6cc06dbad1be3c59bed7c1ad1da6ab7ca28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/extensions/ironclaw_extension_manager/src/admin_configuration.rs:145-155 | crates/product/ironclaw_assistant/src/reborn_services.rs:1546-1556 | crates/product/ironclaw_assistant/src/reborn_services.rs:6948-6958 | crates/product/ironclaw_assistant/src/suggestions.rs:408-421 \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":"crates/extensions/ironclaw_extension_manager/src/admin_configuration.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a354d34db57c5a481f3b3fb458dbeff56bd98192870d6187818ff9ab1669b850"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/extensions/packages/google-docs/wasm-src/src/api.rs:89-125 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:69-97 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:62-102 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:62-102 \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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc6f9d8a0872f246fe38244fc986456b17f24fc40766b4c0bf416d696632d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/extensions/packages/google-docs/wasm-src/src/api.rs:127-143 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:116-132 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:104-120 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:104-120 \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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dad2d27271da699b172fce906d21d1a7dcc564458918177e618787c853ed43"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:108-276 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:96-227 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:108-295 | crates/extensions/packages/slack/wasm-src/src/lib.rs:101-230 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8dd8bf72478a36edcb44519f1accac528bbb687a0a693d31bd0c40614b4e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/kernel/ironclaw_host_runtime/src/latency.rs:154-185 | crates/kernel/ironclaw_host_runtime/src/latency.rs:194-226 | crates/kernel/ironclaw_host_runtime/src/services/process_executor.rs:67-87 | crates/kernel/ironclaw_host_runtime/src/services/process_executor.rs:94-115 \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":"crates/kernel/ironclaw_host_runtime/src/latency.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa3d18a128d33567fc5d04a813a502484e54a968e41e9b7751e2548121d2e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/loop/ironclaw_loop_host/src/model_gateway.rs:431-483 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:489-541 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:547-603 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:610-666 \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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0459e7f74647985bceff9a281536fc4306c1f373ac03d5151e343dea4665b081"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/loop/ironclaw_loop_host/src/model_gateway.rs:806-851 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:857-902 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:908-957 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:964-1013 \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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65e303625696ef85c3c15386efcd983086d8ae50257ef9da1d7ea4f8e382d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:162-176 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:180-194 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:198-212 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:216-230 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ac9ad6515330ae9a7fc5ae5b16889f5805c948fd0bbf12d920d161b8a6b758"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/substrates/ironclaw_filesystem/src/libsql.rs:1222-1239 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1246-1313 | crates/substrates/ironclaw_filesystem/src/postgres.rs:883-901 | crates/substrates/ironclaw_filesystem/src/postgres.rs:908-962 \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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2307aa309830c6113bcc80023820d95217fd29ade769a3a7eb5773b639246e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/ironclaw_stress/src/child_io.rs:40-48 | tools/ironclaw_stress/src/main.rs:2608-2616 | tools/ironclaw_stress/src/progress.rs:141-149 | tools/ironclaw_stress/src/trace.rs:290-298 \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":"tools/ironclaw_stress/src/child_io.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d7963f52bc9d120659c554451edb7667b86332ac1168db7494007d0efc3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): scripts/reborn_webui_v2_live_qa/google_api_helpers.py:73-113 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:199-236 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:308-328 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:336-364 \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":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b6ed9814b42610b085435f4ddd685d6caacb6e2136be081808fce136fd11c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55\u201357 lines \u00D7 2): crates/extensions/packages/memory-native/src/backend.rs:565-619 | crates/extensions/packages/memory-native/src/backend.rs:663-719 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bfc8512a91a25f57368d70ed85053ac3aa7a1b7ee6c1dacfe9103ad7c510b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 2): crates/events/ironclaw_event_store/src/durable_log.rs:210-259 | crates/events/ironclaw_event_store/src/durable_log.rs:409-456 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7388012130bcd774f075e22b62df675d10e6ccafb95da74aa5ebc4d5983bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201348 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:884-931 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:179-223 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"60edc52551aa4abd14b1fcba2f4dc9c6e41e2349c12576ab9686d349b6958e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs:79-121 | crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs:129-171 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs\u0060 and \u0060crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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":"crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83fa164ad2f665f4f24c83e01613b71d138c9a66ec88f62d16b1f1cac48c645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201341 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:3695-3735 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3782-3811 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2583cac0a8bcd69f76ad7afb2961de5a256fa70f6594dbf515980bae841b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/responses_workflow.rs:212-250 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:399-437 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a82647d5059d7b500892b41bfeebd2b86c305c199db6360c92afc0db342a475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:442-479 | crates/extensions/packages/memory-native/src/filesystem.rs:849-886 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd2eaef3b2444fde7d838be1e89466713b09132a0d2392cf2e2efc430294c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): crates/loop/ironclaw_loop_host/src/model_gateway.rs:432-468 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:490-526 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:548-584 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:611-647 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b83137cfcc7c99ec617a45bb8d1856154a47919656b6d0506697103304f0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201335 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_delivery.rs:79-113 | crates/extensions/ironclaw_extension_host/src/channel_delivery.rs:131-161 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_host/src/channel_delivery.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad36d92f42232c830370a27df99cbb3763a8bc95ab73e53093ec17134cb37005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201334 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/extension_ingress.rs:609-642 | crates/extensions/packages/telegram/src/linked/mapping.rs:340-363 \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":"crates/extensions/ironclaw_extension_host/src/extension_ingress.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcaba419481b831f0c50f447c4fd0e291d31653a66c010752aee9474643b7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs:441-473 | crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs:524-556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0af5470143340398e947b3cd47df53a0146cd97d94b892b61cd1ea605479a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2112-2144 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2269-2301 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f583f9a0639656b4b035b585d506d2b148a7fd31acc3181393940a5c35994ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201332 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:160-191 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:162-189 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f24f678d4f32ab7011d4ceb5263ea37a30da985721221bd94d88f798644676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2575-2606 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1380-1410 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e611124402a3c4be958d86a8522c2b948d81f1c4265decbaf36eaf14401d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): tools/ironclaw_stress/src/human.rs:578-609 | tools/ironclaw_stress/src/human.rs:662-693 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/human.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b8c0705e38ccd459598a32f2707be19d6a2338626e33acc400457ad51829b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/domains/ironclaw_llm/src/rig_adapter.rs:1542-1572 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1652-1682 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"058cd70628abd4135c65773beb295df4a6483cf85a84c24856d95fa6b50358f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/events/ironclaw_event_log/src/runtime_event.rs:286-316 | crates/events/ironclaw_event_log/src/runtime_event.rs:321-351 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_log/src/runtime_event.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ceb5809fcd9dcc69c6908631f6a0174848e7f4a0dc5e23cf8a2d17473599ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): crates/loop/ironclaw_loop_host/src/model_gateway.rs:807-836 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:858-887 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:909-938 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:965-994 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb88fd0306923870fc8a4b1adac6cb18f09c8bb51f3bb28126484648918bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4536-4565 | crates/domains/ironclaw_threads/src/in_memory.rs:1899-1928 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1956fa143a8feeb769540f09410b668086aedce78ae2acb237faa3efd78ecbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/events/ironclaw_event_store/src/durable_log.rs:268-296 | crates/events/ironclaw_event_store/src/durable_log.rs:467-495 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eaaa9f513db2e66ac26b91b8bb2d47eee3188a2d3cda63e10f7a61a909f890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201329 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:624-635 | crates/substrates/ironclaw_filesystem/src/postgres.rs:456-484 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0363c8b65a734a38b186a095823cbff2ddabb1fad0a7541e2fc0b86918b118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/domains/ironclaw_llm/src/lib.rs:358-385 | crates/domains/ironclaw_llm/src/lib.rs:725-752 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd112b76fe7bb98820fdee1db7ccb342c05822e92db1b8bbcfe60359704b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201328 lines \u00D7 2): crates/loop/ironclaw_hooks/src/predicate_state.rs:639-666 | crates/loop/ironclaw_hooks/src/predicate_state.rs:719-739 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2d96b31c5c19620705a3d519553d2ae636ef04d0de2cc9bc889d98f085fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:762-789 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:1248-1275 \u2014 before extracting anything, compare \u0060crates/product/ironclaw_openai_compat/src/chat_workflow.rs\u0060 and \u0060crates/product/ironclaw_openai_compat/src/responses_workflow.rs\u0060 as WHOLE FILES: this scan already matched 4 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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2315f58a06b3f0dfae531eb7db5b72a9c4b64283e8e078da35b947d67018939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs:797-823 | crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs:836-862 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b38e4676067141cc4c42926ec6e5eb29241480ad9609206f683334917314c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/extensions/packages/memory-native/src/backend.rs:473-499 | crates/extensions/packages/memory-native/src/backend.rs:795-821 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a255af1190228fec031e13e0354180a86ba8929afa9f19e73e5f23d2851d6a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201327 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:217-243 | crates/extensions/packages/memory-native/src/filesystem.rs:311-330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c65bb94260026eb5bece9ca9820c23d12377d5554493352c85e1206b9de0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs:563-589 | crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs:669-695 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81202f8e4fc2893dbf6fcccdeff3a5368e1cc2484ee43683ee793123179a89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/product_wire.rs:943-968 | crates/domains/ironclaw_outbound/src/delivery_targets.rs:457-482 \u2014 before extracting anything, compare \u0060crates/contracts/ironclaw_product_contracts/src/product_wire.rs\u0060 and \u0060crates/domains/ironclaw_outbound/src/delivery_targets.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"crates/contracts/ironclaw_product_contracts/src/product_wire.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"62394e3cb2f1460b699d16b8b25180e7716aed96a4bbc0a378caf7241e3b1310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:419-440 | crates/domains/ironclaw_auth/src/fakes.rs:484-509 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ba58f26fb985ab8a2e7b84f01daf41214629537efdb7d663338a66c0ffb1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/domains/ironclaw_llm/src/rig_adapter.rs:1391-1416 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1471-1496 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e4cdb822b33769e45c0b136f1455a940595fc2d5fa63bac029160cdcdd110a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 3): crates/extensions/packages/slack/src/channel.rs:428-452 | crates/extensions/packages/slack/src/channel.rs:495-517 | crates/extensions/packages/slack/src/channel.rs:574-596 \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":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f12b2bf4a02f1ededf9ce3d0b57bc2d5d23312250d5b2a43d31e5b1cb2a6cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs:351-375 | crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs:432-452 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc5775af08e07176c7a9f37a761fb105bfa0509e0e1e90df8f23066b4c98019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:392-414 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:457-481 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed50e589ec4ddd22e233d34ea2830a1a75f1b22ffc3c349ec45f99f9f1d85079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:131-155 | crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:432-455 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e723a7a6b97612551e0e4289227d44b73a0746f0e54bb88e98fc00340d2edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): crates/domains/ironclaw_llm/src/rig_adapter.rs:1405-1428 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1485-1508 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1561-1584 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1671-1694 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"42471096b2f096085387c0fea18f9cb45884fa2296044001773c8a7343330309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/domains/ironclaw_conversations/src/memory.rs:455-478 | crates/domains/ironclaw_conversations/src/memory.rs:907-930 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e99dfd482b69eff987273926b5cb715fb026e0378a46dbad8584e1e2ad713e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/domains/ironclaw_conversations/src/memory.rs:974-995 | crates/domains/ironclaw_conversations/src/memory.rs:1021-1044 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c008dae7501a62849ee4d1e567828421f057f0ff30d67807b95256ddf267d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): crates/domains/ironclaw_llm/src/nearai_chat.rs:1033-1056 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1153-1172 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"59150ed6363650a88ae31cde1f88279a5c776791b09c1d27c6b227555d1988e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1108-1131 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1165-1184 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b371a0eba7ebb8a379d5df9099bbd5d71676fc715d308c45c86ff4bb395177f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201324 lines \u00D7 2): crates/events/ironclaw_event_store/src/lib.rs:1217-1240 | crates/events/ironclaw_event_store/src/lib.rs:1255-1264 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_store/src/lib.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed3067e8d9ceea7f67cb916517b4094e7777ef085ea97970b51768b04ce602a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/resolver.rs:79-102 | crates/kernel/ironclaw_capabilities/src/registry.rs:122-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/resolver.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ab41695853bf0ec1c092362881c570b2acfdfacf333284f768eb6512990a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs:1167-1190 | crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs:1204-1227 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9005b6a8e57541aa1fabf98c4c861ae0771b12a08e14d0050ee7cc743c70d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:552-570 | crates/kernel/ironclaw_host_runtime/src/production.rs:604-627 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca47c37334c2d87b2e1fea16d24952f1204422f40cf4e8171bb41cbd12d9c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/capability_port.rs:1943-1966 | crates/loop/ironclaw_loop_host/src/synthetic_capability.rs:608-628 \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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"038bf726b05c0ca9792c336dfb5d2e5c40ade96056cac28dbf57781466ca8594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): tools/ironclaw_stress/src/secret_ops.rs:114-136 | tools/ironclaw_stress/src/user_turn.rs:343-366 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/secret_ops.rs\u0060 and \u0060tools/ironclaw_stress/src/user_turn.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"tools/ironclaw_stress/src/secret_ops.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba3343084c2015278bc686304a7529daff13f3d8a2a9e628f0ebf0d147074b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:491-513 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:531-553 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:848-870 \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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec952d3ba81638cd3bb0698626e739819db4e8144faf0ecbee48169391b232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/production_build_assembly.rs:474-496 | crates/kernel/ironclaw_host_runtime/src/services.rs:926-948 \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":"crates/app/ironclaw_composition/src/factory/production_build_assembly.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2cc2320b871b4a58a659a5694da278e5a98e8cc6a3cf3b277ee319f833811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/domains/ironclaw_skills/src/learning.rs:121-143 | crates/domains/ironclaw_skills/src/learning.rs:201-223 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_skills/src/learning.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4bab151676e502e90d4668a0571f2e421a6606b9d7f429b90d31ee8915312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/latency.rs:160-182 | crates/kernel/ironclaw_host_runtime/src/latency.rs:201-223 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/latency.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fbcb6d69a9fe7ec0aa99bb910d4ca327d301a2182df3c6dc57ea0f02f2fd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): crates/loop/ironclaw_hooks/src/predicate_state.rs:602-624 | crates/loop/ironclaw_hooks/src/predicate_state.rs:692-710 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99203a40e6d8243047cff8035f8432685b6c00aeb29f53a7d19528adad5c374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection.rs:1369-1391 | crates/product/ironclaw_assistant/src/projection.rs:1409-1431 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"087074b7f38960820e7886357c7ed76df6854408a6e742d3c76801f00237d70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:671-692 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:691-712 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b61a15665108857bd3afb4f5144cd576bf5bb00dcf765538a730e149380f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/interactions.rs:197-218 | crates/domains/ironclaw_auth/src/product_auth/durable/interactions.rs:228-245 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/interactions.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c922bad87fba741a9653b394445f5e3ca663f656b2340208e21bb00ad95cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:326-347 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:560-579 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f0ee02db3576804eac2313b5b6fe1f9d05b24bedbba4a059c16c150440ab7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201322 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs:1773-1782 | crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs:1821-1842 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bc60a785ab82e1c277ef52d49409aaaa7816cc66c967391276428c92a3a76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:288-306 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:173-193 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca86a5256cb7c6516948420bbbaeaa78ef1c02418b9d5f2a5cabe26f5b859ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): crates/domains/ironclaw_llm/src/models.rs:154-171 | crates/domains/ironclaw_llm/src/models.rs:227-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/models.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2589309b8ab0c9570460dedf077ba3b4a9fe72be9b6f7ec664c70492d5697f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/domains/ironclaw_llm/src/reasoning.rs:601-621 | crates/domains/ironclaw_llm/src/reasoning.rs:699-717 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251ce3960ec7d5dde126d8f632bbbc9a641eaed83a52f0a92be45a204124fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/domains/ironclaw_threads/src/tool_result_records.rs:339-359 | crates/domains/ironclaw_threads/src/tool_result_records.rs:414-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":"crates/domains/ironclaw_threads/src/tool_result_records.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"421abe81b57adcbdf5c0803e1a670071181138ec416137b3bc5b37fa7782e746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/resolver.rs:110-130 | crates/kernel/ironclaw_capabilities/src/registry.rs:145-165 \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":"crates/extensions/ironclaw_extension_host/src/resolver.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a7e88e4b06b12a68882b739f0578a951e2bcb011cfe0c1f8b53442a59805f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:809-828 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:1131-1151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57d9751449cce85a9d6019d602db15c7de9075e3760b15d6fe8f3a7b925d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:247-263 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:357-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"da78fe29ae78492ed74ad6b77544232aac6ded75b5e4a0ef8138d43e0039994c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/mount.rs:241-261 | crates/product/ironclaw_openai_compat/src/mount.rs:267-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_openai_compat/src/mount.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f39c775aa0799ac38328254c37df901dc70a58a5c2455971ff17bfb21f4fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:460-480 | crates/substrates/ironclaw_filesystem/src/libsql.rs:508-528 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdf7f9524a5551ace4ec3fc8b146f553d78ef82f2455196dd9d01f355846a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:923-943 | crates/substrates/ironclaw_filesystem/src/postgres.rs:643-663 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"257e3e45cd40715bd2cc7a04b1c15e925b64f128f85f1b08fa74915e21ad9d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/extensions/packages/memory-native/src/backend.rs:507-526 | crates/extensions/packages/memory-native/src/backend.rs:623-642 | crates/extensions/packages/memory-native/src/backend.rs:726-745 | crates/extensions/packages/memory-native/src/backend.rs:831-850 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"1302d3e4e9fcf12e0b85caf3e75a4bde3ee1d6001c1083830de712c2af3d456a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:142-161 | crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:308-327 | crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:442-461 | crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:499-518 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f2c734bc385cb4655dcc1d3b87214ac7443fdcb3f7aefe8695cad237468ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/domains/ironclaw_triggers/src/in_memory.rs:533-552 | crates/domains/ironclaw_triggers/src/in_memory.rs:568-587 | crates/domains/ironclaw_triggers/src/in_memory.rs:602-621 \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":"crates/domains/ironclaw_triggers/src/in_memory.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"05df29adfea98eea7a3643dd81cb1e67ea9413d2575771c773a6777040ac28a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:86-103 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:104-123 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a146d4aaf7b294d64734d3712af8fca2d433e2e115de3d3e5db3ee43cfa3eb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/domains/ironclaw_llm/src/github_copilot.rs:272-291 | crates/domains/ironclaw_llm/src/github_copilot.rs:344-363 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/github_copilot.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f3a4ef650f1372ffd5feb2d73e700f2f1fc48b0b01bb063fcc7bc1beb9e88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): crates/domains/ironclaw_llm/src/nearai_chat.rs:892-911 | crates/domains/ironclaw_llm/src/nearai_chat.rs:975-990 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf00cec2d8110461f1916fdaf8a5a3370544bff72a3fe90beba252804d44290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/domains/ironclaw_llm/src/retry.rs:212-231 | crates/domains/ironclaw_llm/src/retry.rs:294-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/retry.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64368c898a1b9929e7a904b318869cf2ad3028b5e897fdb37eace3d7146d579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:115-134 | crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:136-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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"951ff231202351aeee8e268da752cba0a0433dc64139a3abaa5c3809267bfb12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4596-4615 | crates/domains/ironclaw_threads/src/in_memory.rs:1979-1998 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9d5de1b753d79a219101014790512447c4b5cc955f210ad1c8deb1a51090e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_command.rs:94-112 | crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs:458-477 \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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_command.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1f3241368df0cefd811fcf75ff2aad08ee0797932cd4a79b156e8aeab8a4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/extensions/packages/google-slides/wasm-src/src/api.rs:412-431 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:456-475 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-slides/wasm-src/src/api.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d010fe1ba69c0ff57855d6c47c7ad0056bd90c20630cd8d8c7deb4a0d43e1d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/extensions/packages/memory-native/src/safety.rs:307-326 | crates/extensions/packages/memory-native/src/safety.rs:329-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/safety.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6d11024d4198903647f832bc1fbe24d0a7ff7892a7523946720c5776058e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): crates/extensions/packages/slack/src/channel.rs:171-190 | crates/extensions/packages/slack/src/channel.rs:223-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a9ee9b22493199c3cf16dda2e9a50dd1fa478076e2b5df72f9e65d0527823f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:693-712 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:777-796 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b597dfcf26bb6eee7caa60a6cd1a20012b50db3df8e85d94a1aa64372ec761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:1015-1034 | tools/ironclaw_stress/src/api_capacity.rs:1105-1124 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15f91765cd34316e9c05aec8dc91d053d272c4db7e0a543825ac785a9ac261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): tools/ironclaw_stress/src/main.rs:2003-2021 | tools/ironclaw_stress/src/main.rs:2197-2216 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1812d43cef5e780e426c9d922377d031f1360f5d37c01e6b8f057df27277ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/ironclaw_stress/src/main.rs:2283-2302 | tools/ironclaw_stress/src/process_pressure.rs:60-79 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/main.rs\u0060 and \u0060tools/ironclaw_stress/src/process_pressure.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c84158c242920b38de2f3d3e6b0069224679ce79a25fe50f43e4008c7a3e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/domains/ironclaw_triggers/src/libsql.rs:1123-1141 | crates/domains/ironclaw_triggers/src/libsql.rs:1238-1256 | crates/domains/ironclaw_triggers/src/libsql.rs:1317-1335 \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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9e6617b1343ea5557614a793bcd63f770ddbc342d20ca92d4db2499289596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/domains/ironclaw_llm/src/bedrock.rs:112-130 | crates/domains/ironclaw_llm/src/bedrock.rs:180-198 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f373e19c856dc7b3a01f6f8306ccb530eb65fd3989cc73c106319eb02686a588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/domains/ironclaw_llm/src/bedrock.rs:132-150 | crates/domains/ironclaw_llm/src/bedrock.rs:204-222 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6152c17f9a901f49133f93d12ddec83615e197f17e29b36d91fdd97b24596f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/domains/ironclaw_triggers/src/worker/due_fire.rs:99-117 | crates/domains/ironclaw_triggers/src/worker/due_fire.rs:125-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/worker/due_fire.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"747f9087802a7656bf97eba371f524cad895e7f008548d053fdd0d61aba7c725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/capability_port.rs:2322-2340 | crates/loop/ironclaw_loop_host/src/capability_port.rs:2643-2665 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b926498709087a8ec1da9f96d49d692639e867a6e32ab32468508cc75b1a8054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection.rs:521-539 | crates/product/ironclaw_assistant/src/projection.rs:602-620 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f3d811c7106751447516be46be0ad00101c3f6584f15546332478ac45d207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:445-463 | crates/substrates/ironclaw_filesystem/src/postgres.rs:368-386 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"230bd8b7b23aa3026a518a9021c4e8db0602df8f789eef1b33aa0f830fec24db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/product/ironclaw_openai_compat/src/responses_workflow.rs:227-244 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:284-301 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:414-431 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:445-462 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0ce04432479b964b67fca1e36b4c09af594cb3e5b5f861549eab82a74501b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs:389-406 | crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs:621-638 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/llm_admin/openai_compat_serve.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27c4d389a005fcc1da3c316b426d10b0eb498719bb2cef9166aebab61aaf8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/host/validate.rs:145-162 | crates/events/ironclaw_event_log/src/runtime_event.rs:1108-1125 \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":"crates/contracts/ironclaw_loop_contracts/src/host/validate.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbcba1b12261388f8beb93995fdbf46f9e0f8a7b0f9e7672788ce903ed656e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs:623-640 | crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs:468-485 \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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e86d9656dbbe57263887fe66b9614fc5b5bbb3f648f3a82a207cef8bc2710fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs:669-686 | crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs:519-536 \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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6f2ed189e5298445b9218c7ade89120a9db0874470df45389f6de6c5c2cb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:976-993 | crates/extensions/packages/google-docs/wasm-src/src/api.rs:1045-1062 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"f283d0d8d774ec9cc3e76f70bc0f102356a307ef6f430c7d042d0176a0e35b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/extensions/packages/memory-native/src/repo/filesystem.rs:655-672 | crates/extensions/packages/memory-native/src/repo/filesystem.rs:742-759 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/repo/filesystem.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f494452332cb261fa164a63dfc215f1ecb14e16a4a77c3a3029314ad8e508f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/invocation_services.rs:480-497 | crates/substrates/ironclaw_filesystem/src/scoped.rs:857-874 \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":"crates/kernel/ironclaw_host_runtime/src/invocation_services.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebe1a896fc9413aa60511ded6cca4b57cc311cd62d1527066806a7d8578ad30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/product/ironclaw_assistant/src/automation_product_service.rs:327-344 | crates/product/ironclaw_assistant/src/automation_product_service.rs:422-439 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/automation_product_service.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca37bff0a785569964fe6a28e7133c9032a21a016cde170bd0ee25ba20c0ea6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:422-436 | crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:517-534 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"021a9fff80794b921d103f2f6a673a0e97ff9729766914282d1e72abf3f2157c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:4720-4736 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:4812-4829 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":4720}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f1447ba37e09b6036e934068dc28540ba3c386ce27fe661c6f8657aa83e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:754-771 | crates/substrates/ironclaw_filesystem/src/postgres.rs:495-512 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07b5fe9061852997639fa1551d1d6b4d4ff64ff01097bd105161ef0f1cc5670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:303-319 | crates/extensions/packages/google-drive/wasm-src/src/lib.rs:247-263 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:250-266 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:321-337 | crates/extensions/packages/slack/wasm-src/src/lib.rs:266-282 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/lib.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b926efaeca4087336544ab53442cc054f14185c12a2f9dbfe90f20ed1a8e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/domains/ironclaw_triggers/src/worker/due_fire.rs:101-117 | crates/domains/ironclaw_triggers/src/worker/due_fire.rs:127-143 | crates/domains/ironclaw_triggers/src/worker/due_fire.rs:153-169 \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":"crates/domains/ironclaw_triggers/src/worker/due_fire.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ecf45fd43dd6cf0fe88b1ed0035529accf6e938ffba5e2c891aa9b11a48da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/kernel/ironclaw_approvals/src/approval_store.rs:568-584 | crates/kernel/ironclaw_capabilities/src/replay_payload.rs:287-303 | crates/kernel/ironclaw_processes/src/result_store.rs:212-228 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/approval_store.rs\u0060 and \u0060crates/kernel/ironclaw_capabilities/src/replay_payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"crates/kernel/ironclaw_approvals/src/approval_store.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07e40d1d57936fbcfd2d0535c6a655e83b5f8a11ed10f572efd93a6c809ea11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): tools/ironclaw_stress/src/analysis.rs:584-600 | tools/ironclaw_stress/src/human.rs:938-954 | tools/ironclaw_stress/src/report.rs:49-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/analysis.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b41041f090c4ce12355172f3170850041ffaadbe891a31a25d18ec7ef4210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:706-722 | crates/app/ironclaw_cli/src/commands/traces/mod.rs:869-894 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"27101370240a942d8265e59f6806fe313e736cf3643d064157286d1bf62e7eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:49-65 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:69-85 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c2c71ded3859489358e2fab7223faf86f66f02093e30856de90ead2dee3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/production_build_assembly.rs:114-130 | crates/app/ironclaw_composition/src/factory/production_build_assembly.rs:149-165 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/factory/production_build_assembly.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf306a7fceecb03b1457139f8d93004b4c3e86b2cb3dd6d3fbf51c2d1a90fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/auth_prompt.rs:644-660 | crates/contracts/ironclaw_product_contracts/src/outbound.rs:65-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/auth_prompt.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"59151261d9e0b39e51851f7b14aee2b400a774c97b077a26fe7e4d7e02ae0065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:364-380 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:335-351 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"440243c868f1d1ae362cd08f701c2827537231acadf2ae14ad597a0bceca7838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/domains/ironclaw_llm/src/gemini_oauth.rs:494-508 | crates/domains/ironclaw_llm/src/gemini_oauth.rs:675-691 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b178bf04e1bc223a365b04973fed4e5ee5c6ba100c82e61c2e48e6e10ca4de37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:372-388 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1528-1544 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"46620ab6f1cbc437c8fbe615d4151b58ea5c02a12c65002cb5c7dffd067c7e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3320-3336 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3391-3407 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c79d3a8bff79ef6b2b281bc55d132005ae9f677e77fe5dc86f2ce628e64632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/remote/account.rs:415-427 | crates/domains/ironclaw_trace_commons/src/contribution/remote/account.rs:474-490 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_trace_commons/src/contribution/remote/account.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a7f1fe97fd6941605b158761100e517f13f049b853658f3643bf7a8f5d867e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs:267-283 | crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs:624-640 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_host/src/channel_identity_store.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacbb9d3789cb234436d6bdd3d0f028e1809629ecf585fa84b2c7df411d2b762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:201-217 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:355-371 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa44801c85ef678e44ba041bc5145b9cc0fd85008ca95a888ea6914708174c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): crates/extensions/packages/slack/src/payload.rs:330-341 | crates/extensions/packages/slack/src/payload.rs:688-704 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/src/payload.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"44396a8d9dcb3dc14f2899b38bb64065319b471c476e5434cc24c8e6e2b225b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services/lifecycle_setup.rs:133-149 | crates/product/ironclaw_assistant/src/reborn_services/lifecycle_setup.rs:178-194 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/reborn_services/lifecycle_setup.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"622bd1c4348158dc5481c776e457751676d8ce22684db07923887966bb6e0c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/product/ironclaw_operator/src/operator_logs.rs:415-431 | crates/product/ironclaw_operator/src/operator_logs.rs:440-456 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_operator/src/operator_logs.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d742cc4ce0333bbd615785c04091000f0e7cebfb9dab5222e3ead1c65b80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/substrates/ironclaw_documents/src/docx.rs:437-453 | crates/substrates/ironclaw_documents/src/xlsx.rs:391-405 \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":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"141a1d828d0e9747b5d717d2b74da94737bf51cc818f049d958f3d65b0fd9bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:1037-1053 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1082-1098 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c579f54891f62b3405aec7727498c3d587d64d3d3fca8598919beba269ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2934-2950 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2506-2521 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b723f5d1d855bc16072c9560ee932ededa4b912fae33d45afd8f3d41ca2abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201317 lines \u00D7 2): crates/substrates/ironclaw_safety/src/provider_validation.rs:202-218 | crates/substrates/ironclaw_safety/src/provider_validation.rs:224-232 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_safety/src/provider_validation.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"95737652d22fc6ba5cd806b06387759662eda3be99a645aa87f7a0d69666153d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 4): crates/domains/ironclaw_llm/src/nearai_chat.rs:887-901 | crates/domains/ironclaw_llm/src/nearai_chat.rs:970-980 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1028-1043 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1148-1159 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6cd9c32ca448183bdb50b045270c1c624b9c704ab55274fbe3326d64c4efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/extensions/packages/google-docs/wasm-src/src/api.rs:128-143 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:117-132 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:105-120 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:105-120 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c23d98d4df1aebc52477d2d2ff6f210f39b0508faf88753d634a5c46e2a387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/systemd.rs:268-283 | crates/app/ironclaw_cli/src/commands/service/systemd.rs:513-528 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/service/systemd.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aaae9bfe6e72f1b7c32ba7782e37995df62ef810c0e04a11cf76d2cbe558eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1447-1462 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:673-688 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/submission.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9284e2d3ce211ab8ba67cc0b9a553c84ad98d4adce4a328fa7e3396c57c5be12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/app/ironclaw_composition/src/capability_authorization.rs:219-234 | crates/app/ironclaw_composition/src/capability_authorization.rs:307-322 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1661312c178212910ec5509e695ef642444acacf436c334157b45b665b56e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:614-628 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:597-612 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a79bddab9dc3d4077688a9cde6bb2052e170cac422967211bf52be0c277f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201316 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:559-574 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:630-639 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ac180d2fbcc3ae9eac2655988533828ea38329bc3d181e498fd6bc2e17db6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:617-631 | crates/domains/ironclaw_llm/src/codex_chatgpt.rs:643-658 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99bc87ce191bec6e628cf806fa911c4909d6486ef1acb6afe7e2afb03a671c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs:124-139 | crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs:174-189 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs\u0060 and \u0060crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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":"crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056fd64eef7072a7633f3d1d05c1d13ef7d3807c92681c8714ba39883bcf8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:270-285 | crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs:206-221 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs\u0060 and \u0060crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b02a7f84b5422f7e992ce2fe93c43d85b2d5e624bd1d123fe9d7fec9719f2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/web_access.rs:722-737 | crates/extensions/ironclaw_extension_support/src/web_access.rs:769-784 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a91181e83f46eaadf8cec586cbeb46ca6fecb7f671aab4c0670613fe2ea68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/contents.rs:135-150 | crates/extensions/packages/github/wasm-src/src/api/contents.rs:189-204 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/api/contents.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aadfd00595766c27c2fd31f913b8601c2fabfa63516554e3408c6e39ddd7d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:184-199 | crates/extensions/packages/memory-native/src/filesystem.rs:584-599 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d889805048637650e0a4dcce85350f178ef16caf58957cdbb6dbd8c6efcffd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/extensions/packages/memory-native/src/repo/filesystem.rs:582-597 | crates/extensions/packages/memory-native/src/repo/filesystem.rs:725-740 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/repo/filesystem.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d8d71f480be47f3c5add5bf67bfd10afe25b8b937ae1751aa7e53925e0e485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/surface.rs:670-685 | crates/loop/ironclaw_loop_host/src/capability_info.rs:275-290 \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":"crates/kernel/ironclaw_host_runtime/src/surface.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fdf1c537602dbedcceb622e699e4cc3b5f2dfb1b613ca038a09e95b3804589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:198-213 | crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs:235-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd57c92e435f5b7670a8028625090733eb375cbe408af2bf307c6375f410807b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs:612-627 | crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs:819-834 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/capability_dispatch.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2912a19ec58c1f51109e431f6e7a52c72bce6f342a3bbe50bd76c96533f139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/product/ironclaw_assistant/src/delivery_coordinator.rs:551-566 | crates/product/ironclaw_assistant/src/delivery_coordinator.rs:651-666 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63b89ed17c56c9d38744409145cce5272a3e6a1457dd64f2384ccf36372e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:839-853 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2512-2527 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d6ebed9838b804f5ff532137e0127829710d12b01c771e790fb6b7ce080fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/secret_store.rs:447-462 | crates/substrates/ironclaw_secrets/src/secret_store.rs:479-494 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63a1cc9b4d66f6f11133ed843c122c6a5582dc9f7a80d71676abd2b69548a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): tools/ironclaw_stress/src/scripted.rs:1251-1266 | tools/ironclaw_stress/src/scripted.rs:1287-1299 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/scripted.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd295fb312b250fba9dd33784c09a364f698b9ea025ede5c36dc131a02a75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 4): crates/extensions/packages/google-docs/wasm-src/src/api.rs:28-42 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:37-48 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:28-39 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:28-39 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec23d009b4043a93d5c5c18bb62255491f9f862316764fd52649245a5182eea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/events/ironclaw_event_log/src/runtime_event.rs:589-603 | crates/events/ironclaw_event_log/src/runtime_event.rs:614-628 | crates/events/ironclaw_event_log/src/runtime_event.rs:665-679 \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":"crates/events/ironclaw_event_log/src/runtime_event.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bfa9a466cc5616a56f68a60fc20a452b0397e1e5cc0e09248d528bc1734898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/outbound.rs:466-480 | crates/domains/ironclaw_threads/src/capability_display_preview.rs:52-66 \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":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12233724c0fc27c1bb1e62ba63cf75e9ffebd8c3ac9757b441e2df594d7fa8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_auth/src/domain.rs:97-111 | crates/domains/ironclaw_auth/src/domain.rs:160-174 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/domain.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eead8cf25d4196ec43dbc06dc2d284d0b67fac64aebfc34f432b6f71844ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:784-798 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:845-858 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5595ba68b100111581df429ca79cabbb9c6f45e03ebf59f08546ebf7f358ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_session.rs:423-443 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:536-550 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaf61cb3afec9339b12a0a53a5ba51622d6f4a3749b972129306738a4f8c1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_llm/src/transcription/chat_completions.rs:122-136 | crates/domains/ironclaw_llm/src/transcription/openai.rs:105-119 \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":"crates/domains/ironclaw_llm/src/transcription/chat_completions.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad11079b953a76d9df084a8d1a0cfbbb6b0b912c15b7154d86dc85df05420d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:705-719 | crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs:55-69 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf5f9f4beed01cf6e1157a868ffaf729214d271427486d1adfba3a997794bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2886-2900 | crates/domains/ironclaw_threads/src/in_memory.rs:845-859 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2886}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff25046476c05b7bc428e7dc03bd58c6e319e244c52337d78a6af3c22fdedd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2992-3006 | crates/domains/ironclaw_threads/src/in_memory.rs:931-945 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee63787cabdc4272c3b9f066e5b2fbf4fdefdb9cb8bba732fff1cdb429db007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3146-3160 | crates/domains/ironclaw_threads/src/in_memory.rs:1065-1079 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fb1faedac0fb52ed393a7dc6d418507a5b8924ccb05aa9309f9728caeb917d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3206-3220 | crates/domains/ironclaw_threads/src/in_memory.rs:1120-1134 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7427f3de6ed5ec37c9901e460c4adbdd4df52faf43d94178382c4584871f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/capture.rs:374-388 | crates/domains/ironclaw_trace_commons/src/contribution/capture.rs:505-519 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_trace_commons/src/contribution/capture.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9c6be6620abc1a088db694ea85380d5bea68da7dbe27ddb030b26011e09da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:972-986 | crates/domains/ironclaw_triggers/src/postgres.rs:641-655 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/domains/ironclaw_triggers/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a2ad092367b5fd94d567b50748440a8d071ab1cce1af27d73d02984b249dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/events/ironclaw_event_log/src/in_memory.rs:254-272 | crates/events/ironclaw_event_log/src/in_memory.rs:363-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_log/src/in_memory.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56fc52ddfbdd1a64bb1a8dc786212c029707d8a6963072673288f5422a11a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:716-730 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:523-537 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc58efea4e7a7f488e3eb3927127a4a818a092dcb5c96db6ce2d0075f420d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/extensions/packages/google-sheets/wasm-src/src/api.rs:88-102 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:88-102 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"crates/extensions/packages/google-sheets/wasm-src/src/api.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bc355c8a858d5bb991ad22ec6d57021178efc468eba55fb8f0c0ed32d8a303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/extensions/packages/telegram/src/channel.rs:468-482 | crates/extensions/packages/telegram/src/channel.rs:553-565 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/telegram/src/channel.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dac24f8f056cdf17ffda1c4a1cc178b1f641e1125feb79fdef043b887765de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs:312-326 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs:391-405 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0812045aa8339352c3a4428cc7e0f8d3c6c27932d5ceba3a9bc9af164944b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:787-801 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:1110-1123 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a886b96f1666061de13e4b02f58b5471641cfe659b007bde1395fb5ea8585e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:871-885 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs:1218-1232 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/trace_commons.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"02633b1a1648f97231fd2c5fec12b5e4cbc0d71af7624843f94de6677f9c38ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/prompt.rs:308-322 | crates/loop/ironclaw_agent_loop/src/executor/prompt.rs:334-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":"crates/loop/ironclaw_agent_loop/src/executor/prompt.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbb9043a0aaddb95900a8265074b9e9c923a40f998563334e6dcc32c012db9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1421-1435 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1557-1571 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"112959ebe0eafa662e1c98974ec4002e75cd1e31b3283346673834deb29d9090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/capability_port.rs:1071-1085 | crates/loop/ironclaw_loop_host/src/synthetic_capability.rs:340-354 \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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97fd442f07b09e1e9c8b7ffc44402575d5fe09a5fdd2186c8b2e481b6f83426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/model_gateway.rs:1732-1746 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:1811-1825 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"587506bbdb6756adcd4516846ed932f6835a9dd8c2238d8d04c25f38a2f709e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection.rs:532-546 | crates/product/ironclaw_assistant/src/projection.rs:573-587 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d29e24d4a30974be54096cbbfebd3409d6177beb4cc774c2aebf2395cd0d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:592-606 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:663-677 \u2014 before extracting anything, compare \u0060crates/product/ironclaw_openai_compat/src/chat_workflow.rs\u0060 and \u0060crates/product/ironclaw_openai_compat/src/responses_workflow.rs\u0060 as WHOLE FILES: this scan already matched 4 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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71a701c5059e310d4c89a2fd4d028b7228f622628ed92024ee11aa4870f5085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/streaming.rs:255-269 | crates/product/ironclaw_openai_compat/src/streaming.rs:274-288 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"727528129604c672556a23c91371b8156bdad1857009df39021f667fc72e8067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/streaming.rs:289-303 | crates/product/ironclaw_openai_compat/src/streaming.rs:308-322 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"878043f4e0cc7da44646bdab5ba88d21cc3c43fe38a84bbd483364f288cd7611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3118-3132 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3171-3184 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":3118}}}],"partialFingerprints":{"codehealthFindingId/v1":"059520b59bd65b438257c63ae92adf26bd9929a8eae1de88de20026db19c03ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:796-810 | crates/substrates/ironclaw_filesystem/src/postgres.rs:529-543 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea9d702273ddc8ecff214f432d975efdebf1e4822c8c15888c5a20e3c0df2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/app/ironclaw_composition/src/deployment.rs:312-325 | crates/app/ironclaw_composition/src/deployment.rs:350-363 | crates/app/ironclaw_composition/src/deployment.rs:409-422 | crates/app/ironclaw_composition/src/deployment.rs:498-511 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/deployment.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df66dad2bf861bc8d1d962561113900210ad2da2f5b52fa5ee18eae2b0f7d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): crates/domains/ironclaw_skills/src/selector.rs:421-434 | crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs:2139-2149 | crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs:2173-2183 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_skills/src/selector.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094d4c036cbc4f75ce0ecc968dae5d20d418437719227897e149deb389a18f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/domains/ironclaw_triggers/src/postgres.rs:865-878 | crates/domains/ironclaw_triggers/src/postgres.rs:941-954 | crates/domains/ironclaw_triggers/src/postgres.rs:1020-1033 \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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf706330940c244d2031eec22f0af005fc697765cc53308c4f663bc04070ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:2034-2047 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1010-1023 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/queue.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91dc1caf7af114109266e9ebb8a6147f5cc6739f1b12e4e73eaa10b52718ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/capability_profile.rs:30-41 | crates/contracts/ironclaw_host_api/src/ingress.rs:69-82 \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":"crates/contracts/ironclaw_host_api/src/capability_profile.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f386353872fe03fc558e9feb097725f85ff78ec2b4e2fda885ad9c93f6160e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/resolver.rs:332-345 | crates/contracts/ironclaw_loop_contracts/src/snapshot.rs:76-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_loop_contracts/src/resolver.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c702011143a74d885b255930d61fcb918d4a17f6517652cc5ee22aceddc3bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:394-407 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1555-1568 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45bcc6d973e0dacffdf49fbad936cb378ee8031be4cca3ad2bc31a952c1198e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:749-762 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:802-815 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214c7752d45d790988708f26e66d70df41f2046f6cd7689f765304dd0854423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:1059-1072 | crates/domains/ironclaw_threads/src/filesystem_service.rs:1242-1255 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7873b80b60b4207166f4fd67d82e12c68f73a84978bb17ffcaa032e7d4090cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:1956-1969 | crates/domains/ironclaw_threads/src/filesystem_service.rs:2177-2190 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0896bca7289a22650424272884a70a7625c978523dc622052e36bdce91868c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4406-4419 | crates/domains/ironclaw_threads/src/in_memory.rs:1847-1860 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f77823e14f75c9b96d4d40a708756de400406b5b69816334a285e163251b3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/capture.rs:359-372 | crates/domains/ironclaw_trace_commons/src/contribution/capture.rs:490-503 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_trace_commons/src/contribution/capture.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96107d0c455bfee60e2fb2755fe3719d3bff6df11a686a45d3697405b0d1fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:2041-2054 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2117-2130 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e74cbfafceefe16ea79186082c085f81fac432e89e65abb335fa0e917e5e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers/gmail_message.rs:219-232 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers/gmail_message.rs:247-260 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers/gmail_message.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b8ad9a9fec6a9d6cfb33a2ceec27e9b0a7ca7b5b7d13247d455fe29d553061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:229-242 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:383-396 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7303ff852955b201126cfb8197286e5e856c9438c20b64a1fbae3ca58b3f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:951-964 | crates/extensions/packages/google-docs/wasm-src/src/api.rs:1020-1033 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6ead2e8429316576ffeffdb8b3c63ebb5439a24b2c33122ae6972e00588c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/extensions/packages/telegram/src/linked/ops/reads.rs:138-151 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:241-254 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/telegram/src/linked/ops/reads.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"22956c2c8c6c10c711fc9fccda8a1d7874b4a16e3d8f59ec13b4abab3c75edd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/kernel/ironclaw_trust/src/sources.rs:199-212 | crates/kernel/ironclaw_trust/src/sources.rs:464-476 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_trust/src/sources.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"650845f5ce68a52b28e2a5c6a417b153b528fa3d05aabdc6a390667fe54e2af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs:129-142 | crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs:649-662 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"20892354e2a4aa4bc1f9fe44d836140410e80ffaedb65438cd42c369c869c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1645-1658 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1732-1745 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"663bec67cdcf1a46f6fb4caa3603fa255c162aa3c14b65ed34e40d1d53b73401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/durable_input_queue.rs:264-277 | crates/loop/ironclaw_loop_host/src/input_queue.rs:833-846 \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":"crates/loop/ironclaw_loop_host/src/durable_input_queue.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6711bc456c1cd574a03c2bdef986ea4df8eb7ea9c51554d569d20cdb3a780b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/product/ironclaw_assistant/src/auth_interaction/service.rs:510-527 | crates/product/ironclaw_assistant/src/auth_interaction/service.rs:549-562 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/auth_interaction/service.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3cf7c58dea4c492041278b9691efb7b673ed8ac14ca723db639f21732fb0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:1180-1193 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:1209-1222 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db79b393090c1861f7b76d80f036c73a211c70557363eace75801a563f2944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:908-921 | crates/substrates/ironclaw_filesystem/src/postgres.rs:629-642 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad3b7464bc14944c519a0f0294bcfb7534cf84e0acab4259db5d512fefd151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2917-2930 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2493-2502 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2e2265b60ef209de324637c169ccd4b58eead3feecb5853311fa447739249a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:745-758 | crates/substrates/ironclaw_filesystem/src/postgres.rs:783-796 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24781502a7860ee0023f95b722ac43e06535c4666dde1e7e30087d6c5abdebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/keychain.rs:245-258 | crates/substrates/ironclaw_secrets/src/keychain.rs:286-299 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/keychain.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82645acf7525ef4bbd0eedd55672dc6ed9e4158dba5a99a9be4ead3d9e22a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/ironclaw_stress/src/suite.rs:121-134 | tools/ironclaw_stress/src/sweep.rs:199-212 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/suite.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b466790d1e384d034daaab03036354e22c1d1cc008f406cc5c0ce0beaa2cd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:168-180 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:200-214 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:229-241 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:354-368 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:383-395 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:482-494 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a87b3c899ca6baa06ab3df917ce81027936513d845206427f17d7253a5c70d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/extensions/packages/memory-native/src/backend.rs:491-503 | crates/extensions/packages/memory-native/src/backend.rs:605-617 | crates/extensions/packages/memory-native/src/backend.rs:703-715 | crates/extensions/packages/memory-native/src/backend.rs:813-825 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"25106372acc70065d2a401787bf980e9c27a9dab47368edeee8c1e4e413fa403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1325-1337 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1347-1359 | crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs:479-491 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9240a2d96c47120873fcdf478e9567e43002d7ba0aeea54f4f9c15598f2b83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/product/ironclaw_assistant/src/projection.rs:531-543 | crates/product/ironclaw_assistant/src/projection.rs:572-584 | crates/product/ironclaw_assistant/src/projection.rs:612-624 \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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfff99fbd1f8ea20278b9901be298bb3b3a78d7ae61216795fccfd5092faaef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/launchd.rs:120-132 | crates/product/ironclaw_operator/src/operator_service_lifecycle.rs:896-908 \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":"crates/app/ironclaw_cli/src/commands/service/launchd.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"504d7cba0e866f634504bc1551dda62539445c43eb5ca1282536bc45a32cdcc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:219-231 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:202-214 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab61d78a028473ea8c4ce3ac2a9798fe0027c9f593bca2bfe0f3c02d3ec2f667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs:1176-1188 | crates/app/ironclaw_composition/src/product_surface.rs:195-207 \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":"crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b93701c2dbfa5cfe5010e75b3963bf86f08efeff71eb52fe9b10b1d18bce21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_auth/src/engine/exchange.rs:80-92 | crates/domains/ironclaw_auth/src/engine/exchange.rs:158-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/engine/exchange.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fcecddc348cc264be7cd22a8d3d7db309d60a91f1f89b5db14f1307db8630a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:710-722 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:633-645 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4bf08c96a97c0facb6fa2cf5e61d33256621206de0f4f13a85d7c410330b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:870-882 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:168-178 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce29255af7a89f2f148ca81d791110de804dd7005c972cf8e6bdf8179d9659e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_extractors/src/lib.rs:640-652 | crates/domains/ironclaw_extractors/src/lib.rs:684-696 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0432de8e3d7efc349780e90dbb6760808f7b610e491596605b3dcea34ed52ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_llm/src/github_copilot.rs:359-371 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1112-1124 \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":"crates/domains/ironclaw_llm/src/github_copilot.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb71da02b8a170f0ba339c492c822e3ca9537e6caa0edc5ec4136f951d435b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_session.rs:615-625 | crates/domains/ironclaw_llm/src/session.rs:415-427 \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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88eebb88f0099bccda0b65ac6468fdb714ca313799cff858d966cc9369677d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_llm/src/provider.rs:1348-1360 | crates/domains/ironclaw_llm/src/provider.rs:1371-1383 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/provider.rs"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a1eacb3f07dcd04c161f81c15abe55cc5af53ba322cebaf36ac79379ab19d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/domains/ironclaw_llm/src/reasoning.rs:754-766 | crates/domains/ironclaw_llm/src/reasoning.rs:780-791 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7808d411ac27545b68a92963e09ffb7cf1ab0e9da1144eab08f232faad27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/domains/ironclaw_llm/src/recording.rs:735-747 | crates/domains/ironclaw_llm/src/recording.rs:754-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":"crates/domains/ironclaw_llm/src/recording.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f618a07a39f9057b9305c61bbcb4576cce57b6b2350db9ad4cb1ccebe5b128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 2): crates/domains/ironclaw_llm/src/rig_adapter.rs:601-613 | crates/domains/ironclaw_llm/src/rig_adapter.rs:649-655 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4c0191a77f3ed843bdce05546906781826de99ac9ff5c8859368ab0c25f959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_llm/src/smart_routing.rs:500-512 | crates/domains/ironclaw_llm/src/smart_routing.rs:811-823 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/smart_routing.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"136d04de33fca278a9e0ae7090de25110e63058e45556c67d2b5feba845c9911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3025-3037 | crates/domains/ironclaw_threads/src/in_memory.rs:961-973 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e601d7d6ef01e44e1c744e8cdadedc3ef047e782b8dc9db9c868997c2f20512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4503-4515 | crates/domains/ironclaw_threads/src/in_memory.rs:1864-1876 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4503}}}],"partialFingerprints":{"codehealthFindingId/v1":"424ebcd4ccb931ffee36acde8d562a071e29688c806869b5c5c0f5ef8d7c3c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs:113-124 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1035-1047 \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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9552eb7b3e990dab0e34c03a77620418f38eb994416248fc7d819b27ddd5a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs:513-525 | crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs:304-316 \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":"crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d93b6d466a23d62eb93fc33fef1475a944a467eb15f00e0c617797ed96268ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/notice.rs:153-165 | crates/domains/ironclaw_trace_commons/src/contribution/notice.rs:182-194 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_trace_commons/src/contribution/notice.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f62b3704af585f4e2d30a61246723baffc521956ef41d4c97c1a6c469f9e8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:812-824 | crates/domains/ironclaw_triggers/src/postgres.rs:894-906 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d45cde4f3eb5f11198670b23065c492d8b2a4b35d94b5a44004dcea557f4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/events/ironclaw_event_projections/src/lib.rs:580-592 | crates/events/ironclaw_event_projections/src/lib.rs:750-762 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_projections/src/lib.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d017e5a3d128853ba099cfb1554e4d1448fe908bbef6ed0fc9b2cc8779c377f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/events/ironclaw_event_streams/src/manager.rs:152-164 | crates/events/ironclaw_event_streams/src/manager.rs:201-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":"crates/events/ironclaw_event_streams/src/manager.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"10135bac122ec1e9fe33c081afae6b98dde48fd0e79341db9f94f4a08b537445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:1977-1989 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3192-3204 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8c678275fb761ca0b32c6a3298179251ccfa28b0c7e59a3a0e32c33f691db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:2306-2318 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2400-2412 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2997b17080b361d2760dac222c7716e5d36a1dd01550061a2ab66bd21926d602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:2533-2545 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2595-2607 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ead22c7b73f48f46db00a8c39a1be40752f0cf3ef14e7bc1b8363da8351733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/web_access.rs:513-524 | crates/lanes/ironclaw_mcp/src/jsonrpc.rs:205-217 \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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef35f180c629a92dd269b8e118a716e45112c8e72763fad743d0694441994de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/packages/google-slides/wasm-src/src/api.rs:561-573 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:599-611 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-slides/wasm-src/src/api.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"185984c320a6ad836a1f716243f0aff032419bcd6c30a8e5b3c884b72bd33745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/packages/memory-native/src/backend.rs:447-459 | crates/extensions/packages/memory-native/src/backend.rs:765-777 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/backend.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"94967161c86e1837cb99f13829317d4d0d05c6a1d17d450cfdfc4aa38a585579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:415-427 | crates/extensions/packages/memory-native/src/filesystem.rs:824-836 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dd7a848ac11aa1913cc0fbab408efea492ad6cbf8e3de674b7c3ec0d161b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/extensions/packages/memory-native/src/repo/filesystem.rs:945-955 | crates/extensions/packages/memory-native/src/repo/filesystem.rs:964-976 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/repo/filesystem.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"6845ec074d8211f07859607ddb27ba370f68f483737054fed245cc8caedc0af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/capability_permission.rs:442-454 | crates/kernel/ironclaw_approvals/src/policy.rs:500-512 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3ccd09b3881fba2bd675464ba55507c89927b4863d9d3cb5cb9c8415cb492a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/ironclaw_processes/src/capability_process.rs:131-143 | crates/kernel/ironclaw_processes/src/host.rs:45-57 \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":"crates/kernel/ironclaw_processes/src/capability_process.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301c29d6ab2984f1ff4460a079afeaed2709bf2bfbc42f67de3faa48cfc837b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/ironclaw_resources/src/lib.rs:2208-2220 | crates/kernel/ironclaw_resources/src/lib.rs:2279-2291 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_resources/src/lib.rs"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0d1499f4c67ac7fcdf2aedf05a23aaaaf863e527c5423a532f2bd63b23c0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:587-599 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:614-626 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642703119a94891ca34e695726e7ee4a40b45831279b039bf1f80ef669a34a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:687-699 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:714-726 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d91bf73b34862fc81d13a02dc1e21f0e4f9a3dd550c87a6209a3edc65693a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1005-1017 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1031-1043 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd893ef6ad2623b2a6a6dbf3e4961f9af96ed8227673f16ac1afc620c8d1ae11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1407-1419 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1543-1555 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08193d90ff3737443fa4ee849f11ae7df5c2fff7f4bd24a7dd06823f11a4d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection/reply.rs:495-507 | crates/product/ironclaw_assistant/src/projection/reply.rs:682-693 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection/reply.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1565bb1045dd68cc9d72ad2bdd6c98d09e8a63e9d9abe8c4e0aeed8578d94242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services.rs:7066-7078 | crates/product/ironclaw_assistant/src/reborn_services.rs:7099-7111 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":7066}}}],"partialFingerprints":{"codehealthFindingId/v1":"954afde4594a5bed51ed823cb573804838d26e84cd03561320382c222b7d30ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery.rs:310-322 | crates/product/ironclaw_assistant/src/run_delivery/observer.rs:952-964 \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":"crates/product/ironclaw_assistant/src/run_delivery.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"847cfdde9e4c6a3e862d3cc5f8dc6921b198e0fe85040e1d4c49ce69f895d6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:728-740 | crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:781-792 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e0a24fbbf38aabe1a94750a302aa5f5442c2888e331ef6c33e8aede7b4f3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_outcome_observer.rs:230-242 | crates/product/ironclaw_assistant/src/run_outcome_observer.rs:256-268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5054c698bd4a42ad8745f361286251ab19cf4aa89f1508a072da1468c216f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:613-624 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:773-785 \u2014 before extracting anything, compare \u0060crates/product/ironclaw_openai_compat/src/chat_workflow.rs\u0060 and \u0060crates/product/ironclaw_openai_compat/src/responses_workflow.rs\u0060 as WHOLE FILES: this scan already matched 4 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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"674cd07cd849fc9072f0adb773566d82f47ed3235a3c28e5384e16fb3af82930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/responses_workflow.rs:317-330 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:935-947 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba831491f6386ee464a7d1eaabb6bb3a8ce12c063f9ea872d721cdb60a814edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/streaming.rs:141-153 | crates/product/ironclaw_openai_compat/src/streaming.rs:242-254 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/streaming.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b0e954ebd160c40a916702b8e8ec8ce097fc14af55ac5e333fd89c175b8ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_operator/src/llm_admin/provider_admin.rs:37-49 | crates/product/ironclaw_operator/src/llm_admin/provider_admin.rs:76-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_operator/src/llm_admin/provider_admin.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5309f8b0afa53be1e4fbc31d9a0831f135a7405e16ecee3b8f9612cebc7e1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/in_memory.rs:480-495 | crates/substrates/ironclaw_filesystem/src/in_memory.rs:515-527 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bfbd8f5282b48fd790314d020d411d23bd9c52cf905e71884f7f94e9cddbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2991-3005 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2568-2580 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafd1e58fbbfed623cdb47fdaa914ac792b73a41613fc8435a5a28704fcef5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/crypto.rs:240-252 | crates/substrates/ironclaw_secrets/src/crypto.rs:260-272 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/crypto.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1326237b0605948e7aea4a613057f30f55363b41cfe2a79d7920dd2193ede726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/secret_store.rs:275-287 | crates/substrates/ironclaw_secrets/src/secret_store.rs:530-542 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58e47a6f41d2463542318040bdfde4b46c8ed71156585d7c034315530902d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:1089-1101 | tools/ironclaw_stress/src/user_turn.rs:1225-1237 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35cb6ee510e6b646d7019393d16e8187b6f03a34cd24b17494ba124c6ecfb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/extensions/ironclaw_extension_registry/src/installations.rs:1935-1946 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2244-2255 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2357-2368 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2448-2459 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2494-2505 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3153-3164 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80f1412f226b143e903b00fd9f13a3474ad1b58a4917076b9b42b64cbf57fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs:564-575 | crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs:617-628 | crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs:682-693 \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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a539157076d92354addcd82da5b60038145daf9d33062bdd0645da6fee03232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1092-1103 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1137-1148 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1191-1202 \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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bbad5de8b2bf1bbc84c40bcb584e1cd2584e714a5426919ddcc08aa728ed67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/lanes/ironclaw_mcp/src/client.rs:166-176 | crates/lanes/ironclaw_mcp/src/client.rs:444-455 | crates/lanes/ironclaw_mcp/src/client.rs:531-542 \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":"crates/lanes/ironclaw_mcp/src/client.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47fbf06cafbb9c5957f75ccc6131591321f48872e0572010dcf99460f086e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/app/ironclaw_composition/src/readiness.rs:195-206 | crates/kernel/ironclaw_host_runtime/src/services/production_wiring.rs:123-134 \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":"crates/app/ironclaw_composition/src/readiness.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"da09e40c3decbe870da5253e8550f26d13278fd8e4766f9fe4988da60d9ef54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs:245-256 | crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs:281-292 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313fa45cfb41475695916fbeb79e0d9e94a796e2b793e070c97ee082dfa435c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:393-404 | crates/domains/ironclaw_auth/src/fakes.rs:446-457 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedd5d9c5e505b58c8ba77cc48a50e3aab86f04671eb86204a74637aa648d4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:793-804 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:94-105 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ec81709275d76966308f9c4f66305f24acf054f41716b77f5a9ba48ac7161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:1169-1180 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:404-415 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8224f6620315fe320bf23dd2f8568010e804230a90a225e88f4e62619f26886e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_conversations/src/memory.rs:777-788 | crates/domains/ironclaw_conversations/src/memory.rs:835-846 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cdabae361d74ae1de36b437d857ba842e0d4e50b40ae45258f7ce188eaddbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:493-504 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:591-602 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273eaf73c5afde78d6ddf48e09ab9bee45ee3fe85da1f129a7ed6e57554f800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_llm/src/failover.rs:464-475 | crates/domains/ironclaw_llm/src/failover.rs:513-524 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/failover.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c104edb6f719bd9f955a564e8010405fb9b53406d950c3ada380eb1f40e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/domains/ironclaw_llm/src/github_copilot_auth.rs:305-315 | crates/domains/ironclaw_llm/src/github_copilot_auth.rs:367-378 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/github_copilot_auth.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dda7ba610fe2e2dafd7cb87043b808256bbefcf82eeb1564f89ba0b764da7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_session.rs:467-478 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:574-585 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef88fdda224dba061d5cff55c19fb0645475bf31b7afd3f8ddbf82fd1ce07b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_llm/src/rig_adapter.rs:1596-1611 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1702-1713 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac9dd025ee316bf94d14cba3673fc9eaca4e7897609f75f6ac4455d90d95799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3453-3464 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3518-3529 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da44e926fa0caed9e4ea5ced3679de229de0b30f23b3a002cca161a52b06657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/domains/ironclaw_threads/src/in_memory.rs:476-487 | crates/domains/ironclaw_threads/src/in_memory.rs:1786-1796 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4804d722a1e4973cc46bde5ae9402459451c83006f484bfe14d380b81e9914f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:1618-1629 | crates/domains/ironclaw_triggers/src/postgres.rs:1614-1625 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/domains/ironclaw_triggers/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f23f9b6c2b1c0816d1d5ffe8ec0e1c30ec64ddd3a3499c02603ef6111f18ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/admin_configuration_service.rs:161-172 | crates/extensions/ironclaw_extension_host/src/admin_configuration_service.rs:273-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/admin_configuration_service.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c55569817f6a75175aeb998f5b9d006174a26d11b94fefe00d1646e0bd2267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs:78-89 | crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs:112-123 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f311a83c149e6ba26913d7df18ed640a50e3573f56332f90f0d42a155bc12c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:2097-2108 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2167-2178 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbf8c4bb196e74e84f49465440037e175fa20941457b0008c33ed287fe59bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/contents.rs:118-129 | crates/extensions/packages/github/wasm-src/src/api/contents.rs:175-186 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/api/contents.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f68604175022680b0e428ab80b736a3b60a811945f7eeb72d979270160e364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/packages/google-sheets/wasm-src/src/api.rs:304-315 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:337-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/google-sheets/wasm-src/src/api.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b095268ae387c6912d909093eb06ce0cd0f0beadfef2941dcc49074a9370036e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:695-706 | crates/extensions/packages/memory-native/src/filesystem.rs:801-812 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"644ea07e213fe695f129f53ad25783143c5af2285c329909825858dd47e491e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/ironclaw_processes/src/invocation_state.rs:525-536 | crates/kernel/ironclaw_processes/src/invocation_state.rs:562-573 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/invocation_state.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b035dee349c5fc05e4ff22a71c2905a7967096e1558b2783a618ebad4b93f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:731-742 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:814-825 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4df02fb21b482387f27a8619889110084b2acf3e24f58a080405d490b64568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:532-543 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:557-568 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd03f5852d82f9d755b81c471cb20cb08492e24a9b16b52c976737fc572c649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:643-654 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:666-677 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cb115178bb5b51b3456bcc52030112be35e541705814789e64abc4292815f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_hooks/src/evaluator.rs:337-348 | crates/loop/ironclaw_hooks/src/self_authored.rs:188-199 \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":"crates/loop/ironclaw_hooks/src/evaluator.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea443c19cb60cb62e204bbc6a400f024c5e9aaf4391ea92ba6d5a38e8724ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_hooks/src/wasm/runtime.rs:882-893 | crates/loop/ironclaw_hooks/src/wasm/runtime.rs:930-941 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/wasm/runtime.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"1014c8629f57dffd3a129c797c2073f7af9aae1a5dfc126750e6abf42f90479d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/product/ironclaw_assistant/src/workflow.rs:1315-1326 | crates/product/ironclaw_assistant/src/workflow.rs:1486-1497 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b44a0649131ec6a4f147b84cb74c341550db0ad870a04815e296e53dbf1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:168-179 | crates/substrates/ironclaw_filesystem/src/libsql.rs:595-606 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4004824299bea32af224374c49790a8537daabb41bd05a79f39e54a89448425e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2244-2255 | crates/substrates/ironclaw_filesystem/src/libsql.rs:3142-3152 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d5e8a1e94d85828269b9f15e427aa11505698a380ec71757f88f5cb0855f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2625-2636 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1424-1435 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"930fd5dbc91a358185e23afa05a041117ecffec43a02e6955f1695a42643c262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:577-588 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1330-1341 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafb58977d52aa25185b9403e29ecc57490a7b3d00beab886ac339f4a5343daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:1836-1847 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1863-1874 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f0b936a0248482359b5faeab8b27dd3a2ee23ed9f9b5ec4b5d259cff672a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/ironclaw_stress/src/analysis.rs:186-197 | tools/ironclaw_stress/src/analysis.rs:215-226 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/analysis.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"88107da46299d2dcd1949274f11cd6cf2f6125f8ffce55b14e6f4a02d8d72bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): tools/ironclaw_stress/src/ramp.rs:92-103 | tools/ironclaw_stress/src/sweep.rs:168-178 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3b393d6475097abda6c54cea21e3c06140ede8ca4200f820342129a3a3eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/ironclaw_stress/src/secret_ops.rs:146-157 | tools/ironclaw_stress/src/user_turn.rs:377-388 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/secret_ops.rs\u0060 and \u0060tools/ironclaw_stress/src/user_turn.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"tools/ironclaw_stress/src/secret_ops.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3829148c9d8a25728b8c1a697f4e0aaf699d01a736ccaaaecde29008ce5d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/extensions/packages/google-docs/wasm-src/src/api.rs:25-35 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:34-44 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:25-35 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:25-35 | crates/extensions/packages/slack/wasm-src/src/api.rs:214-224 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41d58d97db7107a41698eeeebe1c082ced748a1cd77e11431e3ed0adaa721c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 4): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:1003-1010 | crates/domains/ironclaw_llm/src/codex_chatgpt.rs:1023-1030 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:927-936 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:952-962 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_llm/src/codex_chatgpt.rs\u0060 and \u0060crates/domains/ironclaw_llm/src/openai_codex_provider.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef35d8a2cca3836ba1e52e7a6046159d4cfa68006e9755a74fb57c9c6f11e8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/extensions/ironclaw_extension_registry/src/installations.rs:1979-1989 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2307-2317 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2401-2411 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3194-3204 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"5512d15784644f38c77d01862f7c3aea809bfdc646bc9d501712f48cdbe391bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:93-103 | crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:122-132 | crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs:77-87 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs\u0060 and \u0060crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"335bc214459a196b387a3240bd5fc1a536fc252dbe94857718bd00d4b45bb70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/product/ironclaw_openai_compat/src/refs_storage.rs:250-260 | crates/product/ironclaw_openai_compat/src/refs_storage.rs:275-285 | crates/product/ironclaw_openai_compat/src/refs_storage.rs:300-310 \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":"crates/product/ironclaw_openai_compat/src/refs_storage.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"49222297e843e7c7f3e9f0e96e3e6d60050e3765b4f895bb1b6cd574aa95b60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): tools/ironclaw_stress/src/db_probe.rs:1148-1158 | tools/ironclaw_stress/src/db_probe.rs:1190-1200 | tools/ironclaw_stress/src/db_probe.rs:1232-1242 \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":"tools/ironclaw_stress/src/db_probe.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4affd0d0e281eaff8d7dfdc2cb63c5552e3492b9b34ddc925e145139d1802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): tools/ironclaw_stress/src/main.rs:1317-1326 | tools/ironclaw_stress/src/main.rs:1357-1365 | tools/ironclaw_stress/src/sweep.rs:59-69 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f62873ce911c9d2043b5c242fb01f3d4640dec1201be5b018f43a2f5d7ba172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): tools/ironclaw_stress/src/ramp.rs:314-323 | tools/ironclaw_stress/src/suite.rs:489-499 | tools/ironclaw_stress/src/sweep.rs:499-509 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/suite.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e76ef299752b5ab31a13b63389d72f7a8189a927f5914641fe574f7d916a241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1488-1498 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:716-726 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/submission.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"703e5ca49130854862000750248102e2208a4d481a0f0d9460942e158bf8f0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:135-145 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:146-156 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"082ab4ac71c0e4b79db1a27e77ed76a066c8d99bd32641236098e9e9700a2dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_auth/src/credential.rs:1002-1012 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:136-146 \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":"crates/domains/ironclaw_auth/src/credential.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3223365f6080d4be1890e13368719b69e7ba8f283e151bee936a63dacbeb53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_auth/src/engine/mod.rs:508-518 | crates/domains/ironclaw_auth/src/engine/mod.rs:577-587 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/engine/mod.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb6d88b9afa5592b8ed0133d1beb5da32edaf5bb6342324be8e780d6b686e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:289-299 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:449-459 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc5f059ca67e4b7aad8be4f44aec4be76619a339923f5d31af08873f61b8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/domains/ironclaw_identity/src/identity_store.rs:260-270 | crates/domains/ironclaw_identity/src/identity_store.rs:435-444 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_identity/src/identity_store.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b828cdd1c447da06d2ae18852f1e2d59991400bef5035e21a7d1af5b25035126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:209-219 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:250-259 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b638e779f7325e99366cb420d9ba19b335c8d330d31e46fd168efcabfa04586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:380-390 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:272-282 \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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e7fa6655357a4f9e8d28500270b506f6d330a258299ba11d55858b7518aed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4516-4526 | crates/domains/ironclaw_threads/src/in_memory.rs:1878-1888 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4516}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c4ed18d3c7b0c7d1945c43f3276d6893c54d466047f6beadd1c6e80cffc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_threads/src/in_memory.rs:1291-1301 | crates/domains/ironclaw_threads/src/in_memory.rs:1365-1375 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"345008b9208f6cb2b52a5a8c98d10d08e094fa889d0176f7f726709861def333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:467-477 | crates/domains/ironclaw_triggers/src/libsql.rs:1666-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4956b0fb024f268ea4cef8e7bc2d4a8fa27e975c18583b28793e5f112946d869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_web_app/src/store.rs:146-156 | crates/domains/ironclaw_web_app/src/store.rs:202-212 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_web_app/src/store.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78c71dfddcc46b15b97447c62e80219bfb171baaebc826398c16b22990f57a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/admin_configuration_store.rs:819-829 | crates/extensions/ironclaw_extension_host/src/admin_configuration_store.rs:843-853 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_host/src/admin_configuration_store.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fbc9b00634a885d5fcd5064339568b3b148bdae04eb2ce181dad0fc913c599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/web_access.rs:661-671 | crates/extensions/ironclaw_extension_support/src/web_access.rs:730-740 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e65515a822cfa339deed3646737eee27223072ea58f140534292dca884a7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/issues.rs:227-237 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:157-167 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa024ce1eebd5d3cf64bce8f9bc28384a066ccaf003dd6350e7d4ad94df6f436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/validation.rs:25-35 | crates/extensions/packages/slack/wasm-src/src/api.rs:165-175 \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":"crates/extensions/packages/github/wasm-src/src/validation.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3102eaaee0445868777c5070ed71a3ce64601c9b62c1cdbf6775e008a5fbebdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/packages/memory-native/src/indexer.rs:160-170 | crates/extensions/packages/memory-native/src/indexer.rs:206-216 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/indexer.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6801eb34d930b5ee747c6bed23548befbce4505aa8a041bef4792b12cdd9333e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/packages/slack/src/attachment_transfer.rs:253-263 | crates/extensions/packages/slack/src/attachment_transfer.rs:298-308 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1478baf050e38ecf5aa6046aac367232826b2abd8a4ec7fd0be8ad49cf645a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/packages/slack/wasm-src/src/api.rs:865-875 | crates/extensions/packages/slack/wasm-src/src/api.rs:891-901 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/wasm-src/src/api.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac1b8aa12a7a2748db53b6fe779682ae4967eefcf9231df1eab5007449690c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store.rs:596-606 | crates/kernel/ironclaw_processes/src/journal_store/flusher.rs:442-452 \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":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"92727b3f936f150d88677bd8dc60a7ce7fff7854edc2e8e76823cce966461bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store/observer.rs:228-238 | crates/kernel/ironclaw_processes/src/journal_store/observer.rs:316-323 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/journal_store/observer.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"47af7ee7b3f0d7c739f374e22ff24b0deb911beb953735d6cc5e9e1dd48cf6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store/rows.rs:973-983 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1087-1097 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff262361c4ef1d2000f44dfa12ca307da581385d0e3678b795460b42a2b594a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/ironclaw_turns/src/process_projection/runtime.rs:240-250 | crates/kernel/ironclaw_turns/src/process_projection/runtime.rs:353-363 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_turns/src/process_projection/runtime.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab526d0439f71d303080ce07587528915d917a05d2f90ea64145a13dcbe888e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/external_tool_capability.rs:325-335 | crates/loop/ironclaw_loop_host/src/synthetic_capability.rs:290-300 \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":"crates/loop/ironclaw_loop_host/src/external_tool_capability.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb8e512da8de67edcc8af45bae2cc7a81cf6cf64a4691217ba97d6298a5202c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/model_gateway.rs:656-666 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:1003-1013 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3254eb39fab3be26438a808eddf4cd5b10bf1d25f03f507895b27486f807a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_outcome_observer.rs:293-303 | crates/product/ironclaw_assistant/src/run_outcome_observer.rs:565-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975cee8663bd350b3d58ffbbf1b076d62c3f41e9519d4278b8ab3385e9f26d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_assistant/src/workflow.rs:1303-1313 | crates/product/ironclaw_assistant/src/workflow.rs:1362-1372 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14da4787b8b12fb168030888852ed46cda0178a44c8ffc898b8570acaaf3ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:234-245 | crates/product/ironclaw_openai_compat/src/chat_workflow.rs:396-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b8d354ef8984c810ee2a0ed77b9dd5245bc6c7e8078faa6a79a24e8ba3bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:534-544 | crates/product/ironclaw_openai_compat/src/chat_workflow.rs:567-577 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ce3e9eeb18721ca63ba520f9edeabb932eb600dbae755a7b11f67196a7cc5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/responses.rs:69-79 | crates/product/ironclaw_openai_compat/src/responses.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_openai_compat/src/responses.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbc3fd3dff998cd45fe02e8c3b799158918048e882a3cbaea61201d3fd146e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs:435-445 | crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs:1318-1327 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3c235d807d63bf344168cc6457618792034c4ea159b656b5ebdb3d6f62c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:1970-1980 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2007-2017 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f19cf098578fcc8125f83722905974e7ebeebc066f9f7b3095c2c269ce0a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): tools/ironclaw_stress/src/capture.rs:39-49 | tools/ironclaw_stress/src/human.rs:154-163 \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":"tools/ironclaw_stress/src/capture.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a08e8ab9b98d88dfeb81245fb1e7d2ac0d1362504ce526bc4d13fb121b74491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/ironclaw_stress/src/suite.rs:50-60 | tools/ironclaw_stress/src/sweep.rs:74-84 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/suite.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"049082db902945e7b753a6b21c05047cbf57600fbde7a591bbad07cedbfc50a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/ironclaw_stress/src/suite.rs:275-285 | tools/ironclaw_stress/src/sweep.rs:136-146 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/suite.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"053772ddda767728074abc534b6a14e9abae814e0400e7e7102c628f675b37e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/ironclaw_stress/src/suite.rs:554-564 | tools/ironclaw_stress/src/sweep.rs:538-548 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/suite.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7aefcf6f23b5e4eed5844112c6c764d1fd1660e46b6e4e060b835f1d7560ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 3): tools/ironclaw_stress/src/user_turn.rs:796-806 | tools/ironclaw_stress/src/user_turn.rs:941-951 | tools/ironclaw_stress/src/user_turn.rs:1017-1020 \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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f2264b846b5ca145299af44a7b7fac3a8315329b5b905b3c3d6970c89d3aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/extensions/ironclaw_extension_manager/src/admin_configuration.rs:146-155 | crates/product/ironclaw_assistant/src/reborn_services.rs:1547-1556 | crates/product/ironclaw_assistant/src/reborn_services.rs:6949-6958 | crates/product/ironclaw_assistant/src/suggestions.rs:412-421 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_manager/src/admin_configuration.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"de65e5c407d09c9f5a2f3cc67e39ebc56625d9599052cea94c84018a7f430006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/domains/ironclaw_conversations/src/memory.rs:675-684 | crates/domains/ironclaw_conversations/src/memory.rs:903-912 | crates/domains/ironclaw_conversations/src/memory.rs:1136-1145 \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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4727dc06cb82e5518c58fb1a5c1e51415788cf4c26f5c34c78ec99f773d2196b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/product/ironclaw_webui/src/product_auth/mod.rs:840-849 | crates/product/ironclaw_webui/src/product_auth/mod.rs:870-879 | crates/product/ironclaw_webui/src/product_auth/mod.rs:941-950 \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":"crates/product/ironclaw_webui/src/product_auth/mod.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95001ea30ce612652abf60199c1ac17032ca7b0e0d13b5841f1815508776a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/substrates/ironclaw_documents/src/docx.rs:296-307 | crates/substrates/ironclaw_documents/src/docx.rs:444-453 | crates/substrates/ironclaw_documents/src/xlsx.rs:396-405 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_documents/src/docx.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6660436fef9020ca70a81cb4c56894435bd41bc65d4757c86f786b6763e454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/libsql.rs:306-315 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1756-1765 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2174-2183 \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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"330799bc90aa76039cd47383fe15416786eb5cfda4ca358a0f0a6b33b43b12b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): tools/ironclaw_stress/src/user_turn.rs:1265-1274 | tools/ironclaw_stress/src/user_turn.rs:1376-1385 | tools/ironclaw_stress/src/user_turn.rs:1437-1446 \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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"476925cee102350242790b1eb70a62a53d48a6bbf8ca8f0619f10d03822a6ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/config/set.rs:394-403 | crates/app/ironclaw_cli/src/commands/onboard/llm_credentials.rs:97-106 \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":"crates/app/ironclaw_cli/src/commands/config/set.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3cb92c67ea4f43b22bb981cea46ff1b532e1af937914703a9bfd1856031a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:124-133 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:135-144 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0563ab45afb050db035878270ae2e1251867d819ddaa7a69f1436b5249ce67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_composition/src/capability_authorization.rs:237-246 | crates/app/ironclaw_composition/src/capability_authorization.rs:293-302 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5410a9e69220f7cf7cf2b01f09b83247650a307bab365275b869095a320574e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_composition/src/root/profile.rs:88-97 | crates/app/ironclaw_config/src/profile.rs:134-143 \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":"crates/app/ironclaw_composition/src/root/profile.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4db63ff510301092df643c9f1cf8c27286bfb1b6e37c154a29cd0418864f63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/app/ironclaw_composition/src/runtime.rs:3224-3232 | crates/app/ironclaw_composition/src/runtime.rs:3354-3363 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c30c37daf0975032a68b422502f24ceba841e7ed58230e2600e16fce14886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_composition/src/support/fs/mount_filesystem_reader.rs:140-149 | crates/app/ironclaw_composition/src/support/fs/mount_filesystem_reader.rs:181-190 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/support/fs/mount_filesystem_reader.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186b00f9b3a86e4ceebd19a56383c4838dd58b861f59031cd064e802ca58fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/descriptors.rs:68-77 | crates/contracts/ironclaw_product_contracts/src/descriptors.rs:113-122 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_product_contracts/src/descriptors.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afbadc1b830a20b36e108faf1ad8743972cec5990463df383c88059c4d3d932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:250-259 | crates/domains/ironclaw_auth/src/fakes.rs:1201-1210 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c731bd662f402c5b4260da88aa2af97eb8f7053ab5d57c8385fd34423f32a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:847-856 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:148-157 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58993b2cd232dfc29a083a42dcd7b3ba506c5ebd0b22177d86751f57a7aeef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:941-950 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:233-242 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 and \u0060crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"12705b82d4c91d4e9b01ea4ef7938bb76a52ab8ec15a02bb878b21384a6d3da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:1529-1538 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:947-956 \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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d205c7ea65fe522b4c9045ecee4e71e403edb1c007b16d7b9ba9b769ffc765e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:140-149 | crates/domains/ironclaw_identity/src/identity_store.rs:99-108 \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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1139d1c6836059ee6a9b1aa3ad66e238eec92f024b0aa99e6664742e74ca5b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:386-395 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:414-423 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5d7bd47a81dc297532390874ba5edfe2f2f1766c56ecb1bb6892830a854ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/paths.rs:87-95 | crates/substrates/ironclaw_secrets/src/secret_store.rs:1282-1291 \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":"crates/domains/ironclaw_auth/src/product_auth/durable/paths.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"69865101fed3c460924d47acc7a0a55af3ed9c0bdb4b74add3b456c7e0eae89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_llm/src/circuit_breaker.rs:282-291 | crates/domains/ironclaw_llm/src/retry.rs:55-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/circuit_breaker.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a202ac624796506a5e6a6c9154c35b0f5f3dcf5e77eff79aa8ff0a43bf3a3543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_session.rs:593-602 | crates/domains/ironclaw_llm/src/session.rs:389-398 \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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"373d039c8ef63bbe7da6aba1b0f851128fc0f752ede0f476e70d3a11b54be9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs:137-146 | crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b88fa2e67e89cc6c5098d8b21bc303fb8f5d9cec957714adead6d7fe7daf2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/events/ironclaw_event_projections/src/runtime_projection.rs:258-267 | crates/events/ironclaw_event_projections/src/runtime_projection.rs:306-315 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_projections/src/runtime_projection.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"071559b5cacc2e96d9fb1bcdceef59973d1f562514cb86ac403474dd36723c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/events/ironclaw_event_store/src/durable_log.rs:90-99 | crates/events/ironclaw_event_store/src/durable_log.rs:381-390 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_store/src/durable_log.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82b0ee225465f52eb43307f82b65c633c4921bf2e7650f6ab2ee491979bb5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/events/ironclaw_event_streams/src/manager.rs:91-100 | crates/events/ironclaw_event_streams/src/manager.rs:116-125 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_streams/src/manager.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f30e7c6866d352253ecf59d0a9e471d8099227ab77a8720c463708c9489361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/events/ironclaw_event_streams/src/types.rs:302-311 | crates/events/ironclaw_event_streams/src/types.rs:328-337 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_streams/src/types.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5fced438ad70be107c098260f5ac9a028d74b8ed9d087693ec8a1c305098ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/activation_transaction.rs:239-248 | crates/extensions/ironclaw_extension_host/src/activation_transaction.rs:284-293 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_host/src/activation_transaction.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"178b7a7f7ed963931f51339774d53441ce7fcb9c528606b7ba5cf8df11aa2d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/active.rs:263-272 | crates/extensions/ironclaw_extension_host/src/deployment_channels.rs:93-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/active.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba292a431e5ae0479a66a8e46505132e833bb0847d5d65921f8fe3cacf52b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:1289-1298 | crates/extensions/ironclaw_extension_support/src/web_access.rs:1253-1262 \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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1946667a7d0c9a9751e5b1bb8e9301b830da00f1a55a3fff3818215c23004f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/web_access.rs:683-692 | crates/extensions/ironclaw_extension_support/src/web_access.rs:752-761 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b81ade41a32c476f977161718e3aa12463d61f1ac26d7405d51538491a48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/packages/memory-native/src/filesystem.rs:342-351 | crates/extensions/packages/memory-native/src/filesystem.rs:735-744 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/memory-native/src/filesystem.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ede772ca6598d1efb4d585ba795d0a3809075295bd11668c30d20b4c4c6a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/auto_approve.rs:197-206 | crates/kernel/ironclaw_approvals/src/cas_record.rs:93-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_approvals/src/auto_approve.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"19db1280993d5e60cac3ef666b1b68c0323fcec7c74a3f993e127181de8ef05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/capability_permission.rs:481-490 | crates/kernel/ironclaw_approvals/src/policy.rs:539-548 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"731703befce2d9f841092f14be81ecbcf7a521ac2713b658e9b3efddb9d09235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs:81-90 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs:101-110 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f92280ca6b51ed3cb50ef6515e26d0307472ebaa3f381a29aa03912c53fd144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs:297-306 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs:439-447 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d1d9202754acabeb023cf970659e7d2921cd116393ecd6e06a494808b3bcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/kernel/ironclaw_turns/src/loop_exit.rs:219-227 | crates/kernel/ironclaw_turns/src/loop_exit.rs:430-439 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_turns/src/loop_exit.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa741274ddd5ee31756a4b65055599764c2c32c81f1688f5632e652aaf667eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/durable_input_queue.rs:384-393 | crates/loop/ironclaw_loop_host/src/durable_input_queue.rs:446-455 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/durable_input_queue.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ac9365da1d16bf866e891fe34d69c101d05c6c1224806cfe7dac0c302d169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/tool_diagnostics.rs:140-150 | crates/loop/ironclaw_loop_host/src/tool_diagnostics.rs:167-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/tool_diagnostics.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"02af52a4acbc7fb3afc03a8c74b56ac0ef7969af3fd29885711b10fc5902cc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/planned_driver.rs:218-227 | crates/loop/ironclaw_turn_runner/src/text_loop_driver.rs:131-140 \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":"crates/loop/ironclaw_turn_runner/src/planned_driver.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a1b41be81199aa60eb32a7567e9eddd382e8cbaed2a0e8f291b60d4d68bd65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery/observer.rs:608-617 | crates/product/ironclaw_assistant/src/run_delivery/observer.rs:639-650 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9aaf6fc0a4a523f9b251d75eaa1c5b76af3845ab23cf73299f4ec7c4f080a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/product/ironclaw_assistant/src/workflow.rs:926-935 | crates/product/ironclaw_assistant/src/workflow.rs:1048-1056 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc031ba0cf3b2c2ffedf3748c7f4d0515f2971a8d1c77b188655d5fd4034746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/responses_workflow.rs:302-315 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:464-473 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/responses_workflow.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ff22b353d091860402da7473ca503d606d62151c3f804ce0a753aa2d4e595c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/product/ironclaw_webui/src/product_auth/oauth.rs:97-105 | crates/product/ironclaw_webui/src/product_auth/oauth.rs:125-134 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/product_auth/oauth.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a27b63ab352e15ece23036404bb362866bfb3c25f58e75ffee5a88d82a8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/in_memory.rs:345-354 | crates/substrates/ironclaw_filesystem/src/in_memory.rs:375-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"75674b2f7c83148d24bdb3849148104b61f24d0e9147028dd58a0abbe3a2247a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:1873-1882 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1915-1924 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0b53829d307db67c6d03c351d2f0589f611f9af287e629606b9eb1928dc3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:1275-1284 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2260-2269 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1022a88bcc87834d2edc84a453fd7b3dfb1e06753b0fbf36b7ae2bd26e9836f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): harness/latency/runner/src/runtime_workloads.rs:204-213 | harness/latency/runner/src/runtime_workloads.rs:237-246 \u2014 both copies are in the same file, so extract the block 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":"harness/latency/runner/src/runtime_workloads.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"420541770529e5fb60e72839fc0d3e507b156c95de997b04b2ac2f500ba7162c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:746-755 | tools/ironclaw_stress/src/api_capacity.rs:814-823 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f4c1624ef71faa1a6c930a2e877a49530782d3954fb1dc5afa34871f63c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:2700-2709 | tools/ironclaw_stress/src/api_capacity.rs:2712-2721 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":2700}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b69ea6062426a999c095be4d46f8acb4194c0a9075ce33be763752b0f63f6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/ironclaw_stress/src/db_probe.rs:1168-1177 | tools/ironclaw_stress/src/db_probe.rs:1210-1219 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/db_probe.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2add2fa7772f923d5bf9e7501e8f227e7c98a21dc27b6f6c8b2903ba5203405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/ironclaw_stress/src/main.rs:2270-2279 | tools/ironclaw_stress/src/process_pressure.rs:47-56 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/main.rs\u0060 and \u0060tools/ironclaw_stress/src/process_pressure.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"477adbec6addf7d8549d284603283c97e0e40b50048d13a933a93a1f2a69516c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/ironclaw_stress/src/process_pressure.rs:14-23 | tools/ironclaw_stress/src/secret_ops.rs:112-121 \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":"tools/ironclaw_stress/src/process_pressure.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"201a5ed1ec335bf61a9b0fba87cb60e1e7e08ee04076e7ece24168fadd7074bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): crates/extensions/packages/github/wasm-src/src/api/actions.rs:121-129 | crates/extensions/packages/github/wasm-src/src/api/actions.rs:172-180 | crates/extensions/packages/github/wasm-src/src/api/issues.rs:432-440 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:209-217 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:280-288 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:370-378 | crates/extensions/packages/github/wasm-src/src/api/repos.rs:144-152 | crates/extensions/packages/github/wasm-src/src/api/repos.rs:209-217 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/actions.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5eee1bf364e5d41d62023caad3d90b3818050abafde92093a4dafe9ca7b58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/extensions/ironclaw_extension_registry/src/installations.rs:1981-1989 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2046-2054 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2122-2130 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3196-3204 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3441-3449 | crates/extensions/ironclaw_extension_registry/src/installations.rs:3610-3618 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb9851f2be22586b7da04ef1081650b79ec268935b19d117af9e8a1c9350939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:510-518 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:563-571 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:592-600 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:628-636 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"379fb8b1f0aca7f6d61e2068ef244a7ebc72b86a36302613e88b1af0be073be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/domains/ironclaw_threads/src/filesystem_service.rs:1727-1735 | crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:706-714 | crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:752-760 | crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs:56-64 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c1b9d4d5ca6186654e1e2134d4f797cc6a1bc84e5ccc6096e48a68f1630f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/kernel/ironclaw_host_runtime/src/latency.rs:163-171 | crates/kernel/ironclaw_host_runtime/src/latency.rs:204-212 | crates/kernel/ironclaw_host_runtime/src/services/process_executor.rs:76-84 | crates/kernel/ironclaw_host_runtime/src/services/process_executor.rs:104-112 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/latency.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3252a79ac724fbb66f3a7f643f7afbd2e890321756f94a89be57dcb578bbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/domains/ironclaw_triggers/src/postgres.rs:810-818 | crates/domains/ironclaw_triggers/src/postgres.rs:892-900 | crates/domains/ironclaw_triggers/src/postgres.rs:968-976 \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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280e914e272892c46946bcee59b5955a59a4dc34e5f69303da9a46268e94cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/product/ironclaw_webui/src/channel_pairing.rs:133-141 | crates/product/ironclaw_webui/src/product_auth/mod.rs:894-903 | crates/product/ironclaw_webui/src/product_auth/mod.rs:917-927 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/channel_pairing.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dcda82f54feacc38c13daf661a4fa52224a72b29d42c7dfbc33c5e4fc38f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): tools/ironclaw_stress/src/ramp.rs:48-56 | tools/ironclaw_stress/src/suite.rs:51-59 | tools/ironclaw_stress/src/sweep.rs:75-83 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/suite.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fff420b0a29974f918f2b93af484367ba7545426f1c40fe9e0a8c9e16876f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/systemd.rs:245-253 | crates/app/ironclaw_cli/src/commands/service/systemd.rs:267-275 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/service/systemd.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39335a385be55c77a2cf0215dd00d9540714545d0e3e7d6092fb937ae09a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs:494-502 | crates/kernel/ironclaw_host_runtime/src/egress/host_port.rs:215-223 \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":"crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed819b0f70611eb9d7bd3d4cd836effcbd6e59d289bfae787a885cb913c02ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_composition/src/product_capability.rs:474-482 | crates/loop/ironclaw_loop_host/src/capability_port.rs:4026-4034 \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":"crates/app/ironclaw_composition/src/product_capability.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4318333bd0ee997d8ea31d96628171bb03d3ebfa19013ca8ee1f5b397c725c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_composition/src/product_capability.rs:530-538 | crates/app/ironclaw_composition/src/product_capability.rs:572-580 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/product_capability.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"766a44b871d06314ccc19824cef9776d04ae2075ded618f5b052e2d2418c87d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/reply.rs:756-764 | crates/contracts/ironclaw_extension_contracts/src/reply.rs:797-805 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_extension_contracts/src/reply.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1944383003282d758a5c00948c7957de882f715eb4622a02a388ec047b8e63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/turn.rs:367-375 | crates/contracts/ironclaw_host_api/src/turn.rs:736-744 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_host_api/src/turn.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44d5a17e808dbe8011f5f8bc5069c4ae97d1a0041a36cfe06c84dacfe34cb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/resolver.rs:355-363 | crates/contracts/ironclaw_loop_contracts/src/snapshot.rs:93-101 \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":"crates/contracts/ironclaw_loop_contracts/src/resolver.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9895a4d01b3fbdb619625d40632a75211a5ee476e57efe43d7def9d74aca3444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_auth/src/engine/mod.rs:535-543 | crates/domains/ironclaw_auth/src/engine/mod.rs:599-607 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/engine/mod.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f8375827bdd64aa42413c433f0d0edc40495ef484209d1d964572458bf55b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:583-591 | crates/domains/ironclaw_auth/src/fakes.rs:705-713 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"68294c211669a05529091f67b4d089340fcfc4547aed1d5403801d40b160e73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:759-767 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:844-852 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf0ce4aa5654ea0e88d688c8dd112f8d1b73e3ba4bf49af5c3f9462e8e4be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:113-121 | crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs:265-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/accounts.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed276b191be4100f017e46d73923511d258e5b4c655fb3053c907c320e2b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:1084-1092 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:870-878 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_llm/src/codex_chatgpt.rs\u0060 and \u0060crates/domains/ironclaw_llm/src/openai_codex_provider.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"083f834d1586ea1d8809f05bf6bcd00d04fcd769ff646706d0c4433a754614e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_llm/src/nearai_chat.rs:516-524 | crates/domains/ironclaw_llm/src/nearai_chat.rs:634-642 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeead021fea7cd0789cd6aeb86b97f5b930feaf98d1fb7983ae3e960d58d328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_skills/src/management/install_bundle.rs:418-426 | crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs:377-385 \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":"crates/domains/ironclaw_skills/src/management/install_bundle.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78378883e175c4bde747023913c3ff4916e6a1b8a310aee64b1f6f4572b05b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2411-2419 | crates/domains/ironclaw_threads/src/in_memory.rs:452-460 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d4db32f7cb20392596d85e4034ca48ad6f7134c67466e95ae0a58e152500b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2878-2886 | crates/domains/ironclaw_threads/src/filesystem_service.rs:2984-2992 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17e3e895ef9112015e0ad9fa75120315c3c689fbac734fdba5935d136bb1805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_config.rs:116-124 | crates/extensions/ironclaw_extension_host/src/channel_outbound_targets.rs:61-69 \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":"crates/extensions/ironclaw_extension_host/src/channel_config.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"374845e3ce0fc2c6d98f4cb4e92f1227012c6c3f9b40dcd36c3a5b7490dd054f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/generic_host.rs:548-556 | crates/extensions/ironclaw_extension_registry/src/package.rs:378-386 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/generic_host.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b60142f5c89b098b2e6a73436523c84387dc30e66494298122f01ddfcc8616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs:26-34 | crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs:25-33 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs\u0060 and \u0060crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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":"crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ca9b02ec714cb23c56bfbe9c80d27ee18407ffd721e6d38e7df96317bd6673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/admin_configuration_capability.rs:37-45 | crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs:30-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_manager/src/admin_configuration_capability.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759dc2a7b28d5442d431d104f73f0d900a1634ec47598461a2b34c3161e45ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/coding/file.rs:674-682 | crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs:259-267 \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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1611021df837fd1ea902f0bf237d7c8a5ab76e87a5ce3f3ccc7ae01069837b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:329-337 | crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:364-370 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e0906bbd52cc846307d79d6a89535353ebdacbbe15a4ade136f2860431ed82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/packages/google-drive/wasm-src/src/api.rs:361-369 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:492-500 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-drive/wasm-src/src/api.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6578b339e75bbe31707b6384ca96eba48b7344cbda3d689074497c92f3f85f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/approval_store.rs:238-246 | crates/kernel/ironclaw_approvals/src/approval_store.rs:345-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_approvals/src/approval_store.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a7aa7a862ca1960be849ddd707b29de71a415697b8a46579064218451467e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/capability_permission.rs:294-302 | crates/kernel/ironclaw_approvals/src/policy.rs:321-329 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95a5aaa440f1f979fcbaf498a3c9a9509b6149fa0d594710973a1f88ddd67d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/ironclaw_processes/src/invocation_state.rs:593-601 | crates/kernel/ironclaw_processes/src/invocation_state.rs:631-639 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/invocation_state.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"96537fa0c1b98ff62f4a073dbe229aa9f3a8e1c4e24f2e8e2a35a999c1cc0691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store/rows.rs:783-791 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1082-1090 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"4281c7211c90657dcdd761eaf89aadc9c339656cb6126b6b4f4336365cc87795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:826-834 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:862-870 \u2014 both copies are in the same file, so extract the block 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4480f0e3db777f92d2b35c1a60f912432e5282b2f026fea89eccb61e082f25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:190-198 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:314-322 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9470d237e34eac52949b66af8b02e76fbcefb715537278231efb25cfbca10ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/budget_accountant.rs:576-584 | crates/loop/ironclaw_loop_host/src/budget_accountant.rs:634-642 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/budget_accountant.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eef99be9958c51a6b7689b13b91350b35a2ff048b4c42b95d95d6d2e263565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:1974-1982 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:1997-2005 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291f9625d34769d8036d25386dc0303310f9c8f09fb9ecc4d7c9d105aedf82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_assistant/src/conversation_binding.rs:396-404 | crates/product/ironclaw_assistant/src/conversation_binding.rs:443-451 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/conversation_binding.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ae732c468053b1f450980db55f59acdd42dd41489105533acc9f9f37f93506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_assistant/src/delivery_coordinator/publication/kernel_ports.rs:150-158 | crates/product/ironclaw_assistant/src/delivery_coordinator/publication/kernel_ports.rs:196-204 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/delivery_coordinator/publication/kernel_ports.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae36c6f999c7f1f3a5ed29d32cd3a6239f034c3691eb95ca18de666a543433a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/pending.rs:211-219 | crates/product/ironclaw_webui/src/cli_token_login.rs:351-359 \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":"crates/product/ironclaw_webui/src/auth/pending.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ffac6e22438a7f986f68b8d66fc605bc6a37cd27d3e66e6f7243cf3b7d0546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3380-3388 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3440-3448 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3bf49c50fad4aa9d3c804705968f6ce52916308ff12bd521bba1a2d81a9838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3415-3423 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3444-3452 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e27d220862bf44ec01786aa71354933df67e2fb6f40784439a027f2d0c7917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3615-3623 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3646-3654 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab81e454579d307e90d590dd85414044d1b1640d2b0ecee67398fc0ed7ecbbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:401-409 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1689-1697 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f857e34e144666d765d0e88eaff0a30b40fa9a4eedf2cd7e628a730f6c83a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:3023-3031 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2615-2623 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":3023}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a00cf1589b230ee9a57b92bd48ccd4f9706fcf083f372c6fbdea12438eff4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:296-304 | harness/latency/runner/src/main.rs:854-862 \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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fffb68fd0bb439274aee58e2f133c3eb7cea0c1b80ae4e58540bd011e4a0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:729-737 | tools/ironclaw_stress/src/api_capacity.rs:851-859 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f15cc4034f38b8e5e5b3d1bb01069aef4b884042b8e8bf0736ec2ee36ef0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/domains/ironclaw_auth/src/product_auth/durable/paths.rs:88-95 | crates/kernel/ironclaw_approvals/src/approval_store.rs:567-574 | crates/kernel/ironclaw_capabilities/src/replay_payload.rs:286-293 | crates/kernel/ironclaw_processes/src/result_store.rs:211-218 | crates/substrates/ironclaw_secrets/src/secret_store.rs:1283-1290 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/approval_store.rs\u0060 and \u0060crates/kernel/ironclaw_capabilities/src/replay_payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"crates/domains/ironclaw_auth/src/product_auth/durable/paths.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2321de47f5aa5787fe1109cd28830493df8e5144feba0876d7107b5610bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/product/ironclaw_assistant/src/reborn_services.rs:1701-1708 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3383-3390 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3414-3421 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3443-3450 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:3591-3598 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149166674fc85b58b892a1898422878a1d175e22a7858be4bd9ee3dd1644706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/substrates/ironclaw_filesystem/src/libsql.rs:303-310 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1034-1041 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1079-1086 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1753-1760 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2171-2178 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"518c1452db7198a9be1853405b354382ee0999a4bb9ce21c00a23d2c713aeb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:169-176 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:187-194 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:205-212 | crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:223-230 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb91d64b18e761674998cf0724e986682d63ae65bc39ffed048f908bf4aa3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): tools/ironclaw_stress/src/child_io.rs:41-48 | tools/ironclaw_stress/src/main.rs:2609-2616 | tools/ironclaw_stress/src/progress.rs:142-149 | tools/ironclaw_stress/src/trace.rs:291-298 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/child_io.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"143a659c32be109b515dcd8c2bcd3ed40268fe246f19ab50ce35b63eba127464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/app/ironclaw_cli/src/commands/traces/mod.rs:2027-2033 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1002-1009 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1029-1036 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/queue.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"0121435f771f9d2ca7c30ecf5e772e9ade18f296aecb0fce7eea45af4f8bac44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:760-767 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:784-791 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:845-852 \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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b727af09d7b7d61970a422a8adf3ea9af2efac64d365540293da9b0524072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/domains/ironclaw_llm/src/github_copilot_auth.rs:128-135 | crates/domains/ironclaw_llm/src/github_copilot_auth.rs:176-183 | crates/domains/ironclaw_llm/src/github_copilot_auth.rs:382-389 \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":"crates/domains/ironclaw_llm/src/github_copilot_auth.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0b582d06c1655a04c02fbdc48f37929e99b6a689bd32f762309d97185f2498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/extensions/packages/telegram/src/linked/ops/reads.rs:60-67 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:143-150 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:246-253 \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":"crates/extensions/packages/telegram/src/linked/ops/reads.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b85fdfb20986551647c4ff0286a58f6b6bf498cbcfc4593b175bab2eb30ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/kernel/ironclaw_approvals/src/capability_permission.rs:292-298 | crates/kernel/ironclaw_approvals/src/policy.rs:319-325 | crates/kernel/ironclaw_processes/src/journal_store/migration.rs:167-174 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb0b5236a7c1abccf0fb2cfcc488099c4f29c10df85780bced0458868812fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:476-483 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:516-523 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:838-845 \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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eae232a47056f9d1a9a51f77f05865ac1f2743d5d80c22b42a69ac9a5481c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/product/ironclaw_openai_compat/src/refs_storage.rs:239-246 | crates/product/ironclaw_openai_compat/src/refs_storage.rs:266-273 | crates/product/ironclaw_openai_compat/src/refs_storage.rs:291-298 \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":"crates/product/ironclaw_openai_compat/src/refs_storage.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa3105739d7ed97ead9aca359ef8f73a397865b59c9673a63d6345ff3ed5570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/libsql.rs:842-849 | crates/substrates/ironclaw_filesystem/src/libsql.rs:992-999 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2516-2523 \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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee24527656bd6ca4e3e664686582521b1dad5ae915b6b808066eac70161582ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/libsql.rs:1224-1231 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1251-1257 | crates/substrates/ironclaw_filesystem/src/postgres.rs:886-893 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f685f05f2aac5c157476412ef8fd3c64fe9bc6bab3df9d21fb73d9e323de36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/config/set.rs:391-398 | crates/app/ironclaw_cli/src/commands/config/set.rs:411-418 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/config/set.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeeabd402272d88c74a25db3d9b2d351d1bb6a212e6dab60d773a038b7f6646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/onboard/prompts.rs:175-182 | crates/app/ironclaw_cli/src/commands/onboard/prompts.rs:195-202 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/onboard/prompts.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"73341e7604c42a3d39ca82e097c26b95ccd650598450d956fdb509fbd6291227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1470-1477 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:697-704 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/submission.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"00090b2ae40dd3238725064a3d67f7b604b228d14edb78c060a667f9d18dbb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_composition/src/root/product_live_adapters.rs:112-122 | crates/app/ironclaw_composition/src/runtime/capability_host.rs:816-823 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1612b5ad00e91630cb2ba97390696312c236fb2d661b3795f027733e8487d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/device_link.rs:441-448 | crates/contracts/ironclaw_extension_contracts/src/linked_session.rs:187-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/device_link.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c535e301f21130e5097f03e3274c50b65d6f2d2af2a9e140e6dd45a79c5010a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/runtime.rs:144-151 | crates/extensions/ironclaw_extension_registry/src/v2.rs:667-674 \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":"crates/contracts/ironclaw_extension_contracts/src/runtime.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"828d75acc282dba039f432679012321f13240bde2c7916e9b143ca148255944f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/audit.rs:62-69 | crates/contracts/ironclaw_host_api/src/audit.rs:93-100 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_host_api/src/audit.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"29776fd9181491f227a7be1c3d41721411680ec374e150b6a32f0573173fd23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/content_digest.rs:156-163 | crates/contracts/ironclaw_loop_contracts/src/content_digest.rs:165-171 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_loop_contracts/src/content_digest.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a46f298817f0a1ea8a6fc72b5b5a8e10865e7b4d8f70172641ea94be617189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_auth/src/credential.rs:1100-1107 | crates/domains/ironclaw_auth/src/domain.rs:430-437 \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":"crates/domains/ironclaw_auth/src/credential.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cb664fe952c1315511332c21794b8aa0507573310d990e0629a594bd3667cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/api/auth.rs:1068-1075 | crates/domains/ironclaw_auth/src/product_prompt.rs:364-371 \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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ad6b8bfddf225a46685f4d6634ce6410d10196b2cbf551ece6ab5358c5acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_llm/src/circuit_breaker.rs:181-188 | crates/domains/ironclaw_llm/src/circuit_breaker.rs:220-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/circuit_breaker.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d78763f253f43e9139c0c935ab1e7882b842930e0b187f712855be78bd9277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_llm/src/gemini_oauth.rs:860-867 | crates/domains/ironclaw_llm/src/gemini_oauth.rs:900-907 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d2ac8a640ecaa059fa7b541ad16d9e1c0d22f8a0e01c1438c65ca96ba79650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:848-855 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:911-918 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd986f0d06db130ca17dd83a5a842fbf0b5ee8995bfef59a7663f1c9f2401f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2403-2410 | crates/domains/ironclaw_threads/src/in_memory.rs:424-431 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3977df1ca60337cd06faa527516b880fa267cd33ede9810ea527de0529ed243a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:3361-3368 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3431-3438 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3361}}}],"partialFingerprints":{"codehealthFindingId/v1":"64397a17ae9a8b457609a486e4b46e93a2bead267b1a9141d2e2c80d326ee0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_threads/src/in_memory.rs:884-891 | crates/domains/ironclaw_threads/src/in_memory.rs:1342-1349 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"020ecd898bb79f36fc185c95ab89c9e79063e9c5b8f1e625d302c8a22c6b9859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_threads/src/tool_result_records.rs:307-314 | crates/domains/ironclaw_threads/src/tool_result_records.rs:378-385 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/tool_result_records.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f128f446aeb6dcb757ec106cf2e75edfdd7613dc90e78eb180166e21b793a54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_triggers/src/in_memory.rs:181-188 | crates/domains/ironclaw_triggers/src/in_memory.rs:207-214 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/in_memory.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fdf6f53278a92242c2ff720d178b3f39de61983413818aa62decd3e053d8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/events/ironclaw_event_store/src/lib.rs:600-606 | crates/events/ironclaw_event_store/src/lib.rs:661-668 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_store/src/lib.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac491439fd8c3d5be7e7124c040f2b414777da451593e68ac081e53051ddd109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs:47-54 | crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs:46-53 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs\u0060 and \u0060crates/product/ironclaw_operator/src/llm_admin/nearai_mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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":"crates/extensions/ironclaw_extension_host/src/nearai_mcp.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"91712cfac14c311f93d5a4fee3940bc4c655e1c29ef10ea6fc76caedfd19c5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/hosted_mcp_manifest.rs:398-405 | crates/extensions/ironclaw_extension_registry/src/hosted_mcp_discovery.rs:50-57 \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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_manifest.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf6c7903160e230da71c811931599ddd8cf8cec9f1a6cff7edad6292bc1dd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/coding/text.rs:29-36 | crates/extensions/ironclaw_extension_support/src/coding/text.rs:83-90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/coding/text.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"924e209272d9e48f50c8312473a459719e5c18d24da09a36389dbe21f990760a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:323-330 | crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:345-352 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9ffe00104470e82eab8242f795978d49aad4fafa112d6b6b5d71852b6f5c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/issues.rs:188-195 | crates/extensions/packages/github/wasm-src/src/api/issues.rs:238-245 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa051926054dea74f2877024290a0f44acd5ded435356e046e8a07085ecab3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/packages/slack/src/attachment_transfer.rs:179-186 | crates/extensions/packages/telegram/src/attachment_transfer.rs:141-148 \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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa73ab8aa82722c94c8faa6711e453bec6c843704f02dd4819a5299ab56ebf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/extensions/packages/telegram/src/linked/ops/people.rs:123-129 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:57-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/telegram/src/linked/ops/people.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"374a3fbc12ff67c3f9cb67d6898cd33114359a7109b541f3cbfd66a34cf36627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs:310-313 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs:414-421 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs:444-451 \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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/shell_core.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e997575b2cf0ef708fe52e9c74699d6bc4b0f07953fad3b2fc07acf8381e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/ironclaw_resources/src/cas_snapshot.rs:177-184 | crates/kernel/ironclaw_resources/src/cas_snapshot.rs:213-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_resources/src/cas_snapshot.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a889a14605c20d404e78aa207970d5dcd7e9466b4d75d019de37d29c06fe922f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs:120-127 | crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs:640-647 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"75495e54dd5a9dc3287f608ffe0fb6b944ad241a6ca0a99bb1741a198e0a129d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:230-237 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:344-351 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"77154c9255307d070073e282a78209b6f97077d2a7d1e632ab97d8aabb6258fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_hooks/src/predicate_state.rs:839-846 | crates/loop/ironclaw_hooks/src/predicate_state.rs:930-937 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bc1d79dd7f8cd3e44841e3cfc4fda2a2ee3c56310a700875bd597a146ca0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_hooks/src/wasm/runtime.rs:912-919 | crates/loop/ironclaw_hooks/src/wasm/runtime.rs:959-968 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/wasm/runtime.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"512497f2f8f95c677c7679b11c76df2844f0786c0a55f735cb5d636f782c46e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/channel_workflow.rs:265-272 | crates/product/ironclaw_assistant/src/channel_workflow.rs:332-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":"crates/product/ironclaw_assistant/src/channel_workflow.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddf9777ee5e68c5c916bcf81ac60f25fa742f97a36e256dbb360e498dc35f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/delivery_coordinator.rs:631-638 | crates/product/ironclaw_assistant/src/delivery_coordinator/reply_publication.rs:97-104 \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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6c2776e28a38869ae8c355e87ea3383c891d01f7c913c925f4c1406d58db15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs:128-135 | crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs:136-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f61f456cd8f3d87df3b08d1f023e19b37602591612c590b10b92537b40e2679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:485-492 | crates/substrates/ironclaw_filesystem/src/postgres.rs:405-412 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"17102249f931a869d7115ea30b14c83546ceca36093c6632776ae0595caf1a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:885-892 | crates/substrates/ironclaw_filesystem/src/postgres.rs:913-920 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4708f85808d6f59073169a2740357c4cf07da48fc43d546688947852b65c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/substrates/ironclaw_safety/src/model_input_redaction.rs:100-107 | crates/substrates/ironclaw_safety/src/model_input_redaction.rs:122-129 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_safety/src/model_input_redaction.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa8624e43793269bf9be49c6823f291ff2ba71c9f9cc4c0c0621e95500cdc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/secret_store.rs:304-311 | crates/substrates/ironclaw_secrets/src/secret_store.rs:1219-1226 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1fe3e6dd122d6ebb16dd8c07b4acb9bce62e90ebfec46f0c9021c94660ac25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): harness/latency/runner/src/main.rs:361-368 | harness/latency/runner/src/runtime_workloads.rs:222-227 \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":"harness/latency/runner/src/main.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba661b1a9471ba224a34145e2f73b7d9369303b9aa87501727f2811558720e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/ironclaw_stress/src/db_probe.rs:1041-1048 | tools/ironclaw_stress/src/db_probe.rs:1053-1060 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/db_probe.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d738c821f995ac3ccb1b85bfc22065a3ca500652dc52f553fb41c67ceabb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:281-287 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:311-317 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:384-390 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:534-540 | crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs:666-672 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/flows.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f8011e5d672b95dd3ad7ddf0596f742c5c5156bbc9aad82240ee53990ee0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): crates/extensions/packages/google-docs/wasm-src/src/api.rs:107-113 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:83-88 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:80-86 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:80-86 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae609b655b118733eacc7d63973209eadf90757908784c97dd6464663ef0df1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:112-118 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:100-106 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:112-118 | crates/extensions/packages/slack/wasm-src/src/lib.rs:105-111 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/lib.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e585f9709103e358b3da07037049bb8c7bcbaaf0a33a435f99eee94441d0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/substrates/ironclaw_filesystem/src/libsql.rs:890-896 | crates/substrates/ironclaw_filesystem/src/libsql.rs:996-1002 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2415-2421 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2557-2563 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7dabce06c4145bd294ec3ccb85a80f9e63120cee69146f5df38cff3609bddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/substrates/ironclaw_filesystem/src/libsql.rs:1224-1230 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1251-1257 | crates/substrates/ironclaw_filesystem/src/postgres.rs:886-892 | crates/substrates/ironclaw_filesystem/src/postgres.rs:914-920 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9af904c28d4f7307792b2b9a1c1d65cab6209d80a359025201326c3321331f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/domains/ironclaw_llm/src/openai_codex_session.rs:307-313 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:445-451 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:552-558 \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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf0a7c8212132e7b238b998200dc6a17c5091809b8635276a47817823e5be8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/domains/ironclaw_threads/src/filesystem_service.rs:3322-3328 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3362-3368 | crates/domains/ironclaw_threads/src/filesystem_service.rs:3393-3399 \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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":3322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b09457124661afd7ead28533f9761c36debb02cd230b0c34c4709ab9db0c929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/extensions/packages/github/wasm-src/src/api/issues.rs:228-234 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:113-120 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:158-164 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f20da3619e18d79f255d512ec9745ac9e01dff914bebc37237ac47b8b3ba74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/kernel/ironclaw_approvals/src/capability_permission.rs:442-448 | crates/kernel/ironclaw_approvals/src/policy.rs:500-506 | crates/kernel/ironclaw_authorization/src/lib.rs:1561-1567 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f06313704bffd16645c52016ec129665244af73063541a9d646d5584f20e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/product/ironclaw_webui/src/auth/pending.rs:153-159 | crates/product/ironclaw_webui/src/auth/pending.rs:210-216 | crates/product/ironclaw_webui/src/cli_token_login.rs:350-356 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/auth/pending.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"850a12c5dad8ac619208c0042547b0f6e5679ab26c941bfb64081f63ba4ef2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/substrates/ironclaw_secrets/src/secret_store.rs:447-453 | crates/substrates/ironclaw_secrets/src/secret_store.rs:479-485 | crates/substrates/ironclaw_secrets/src/secret_store.rs:561-567 \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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a193fc75582e17111a37b3293ff7ae48433b7259206357d8edb59a89f70241f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/mod.rs:524-530 | crates/app/ironclaw_cli/src/commands/service/mod.rs:535-541 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/service/mod.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6922d0d16a3f5d8afd1f89c8a476331ab6baaf3846e8721a070d48a0c5391b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1745-1751 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1215-1221 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/queue.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"41995eceb220e9523203c68a1e9137426054b9edc9f91213287907de6f7366e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_composition/src/root/product_live_adapters.rs:148-154 | crates/app/ironclaw_composition/src/root/product_live_adapters.rs:192-198 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d583d80cf4e09d3cfe711bdf7fed4a2c1478420fc83ce828ced1dd748cb7e5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_composition/src/support/fs/mount_filesystem_reader.rs:157-163 | crates/product/ironclaw_assistant/src/scoped_fs/project_filesystem_reader.rs:135-144 \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":"crates/app/ironclaw_composition/src/support/fs/mount_filesystem_reader.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"95369e66c6322e2cfea53041d668ca5ff99c227dcbe57cf61abc5b1c190ba9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/content_digest.rs:41-47 | crates/loop/ironclaw_agent_loop/src/state/signature.rs:65-73 \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":"crates/contracts/ironclaw_loop_contracts/src/content_digest.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad8eaf045dc94d35e9ef8c9b499a3e44a5bd918e40e97fd97e7fb8d61c15e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:351-357 | crates/domains/ironclaw_auth/src/fakes.rs:565-571 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d799cadda6e352c6ed5def3963b145a33dada547b58f828c89537d33c7ad2dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_auth/src/fakes.rs:1021-1027 | crates/domains/ironclaw_auth/src/fakes.rs:1048-1054 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc81771266f45a982601d7d219f5f63a5bfdfd18c9e4b75669de25803265a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/api/auth.rs:1690-1696 | crates/domains/ironclaw_auth/src/product_auth/oauth/oauth_gate.rs:288-294 \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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef671c980ff2e371ceca6556dafab72f233565c921ecf67d208ef11c803e803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:1000-1006 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:1036-1042 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f4aa216ea1fd95ac2a0080e9f3257a52a6559f47d16653ffa3a4b11e6f4ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/domains/ironclaw_llm/src/gemini_oauth.rs:110-115 | crates/domains/ironclaw_llm/src/gemini_oauth.rs:124-130 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedacc1c57d383a3985b89757d89be1b26700b670646bf6817878281c4f36606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_llm/src/smart_routing.rs:471-477 | crates/domains/ironclaw_llm/src/smart_routing.rs:764-770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/smart_routing.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83736d2df34ab2d1050e37813b3ac1e2a73c701a2df64da981455d0ce20bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs:385-391 | crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs:392-398 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c56921101e6621fd490b11cef94e13349309576e45955cf6f4431395a85a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/coding/glob_tool.rs:90-96 | crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs:256-262 \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":"crates/extensions/ironclaw_extension_support/src/coding/glob_tool.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd7c1571022c4ff308d92f10da7cb64091b2a514be959fbc51359bd04deb45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/latency.rs:116-122 | crates/extensions/ironclaw_extension_support/src/latency.rs:149-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":"crates/extensions/ironclaw_extension_support/src/latency.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5738d9e35c64539ccf0e0edb95bf4880988db53e30ace2d7c51b1af8f348de73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/issues.rs:246-252 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:173-179 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f874fac9f0c40553245ca6f213056f6e739370c3c1dfd7dfc6c380624f287170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/response.rs:17-23 | crates/extensions/packages/github/wasm-src/src/response.rs:50-56 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/response.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec2aeb256775947b82590cb1e7c384cd52df602dc78cc6f9b9662b8f839e7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/telegram/src/linked/ops/people.rs:125-131 | crates/extensions/packages/telegram/src/linked/ops/people.rs:243-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/telegram/src/linked/ops/people.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"041557a6b3246e00d1cc82f4103c61a80c50280efaf3afb2b9fc6f8f2f27e85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1272-1278 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1386-1392 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b478c07aefe6efcddeec7c7e8ab221bafd6587117a8da3863a708f44cea1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_turns/src/process_projection/runtime.rs:221-227 | crates/kernel/ironclaw_turns/src/process_projection/runtime.rs:333-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":"crates/kernel/ironclaw_turns/src/process_projection/runtime.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a97ad2c0f13f99a3ea4a813d8fe8574cab1085d273b419c5ca1c2f5359e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1157-1163 | crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs:421-427 \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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e9f2cb4ec8c7f79992ad862df1d7be851d14e025d62b6741bccab878d18a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/mapping.rs:217-223 | crates/loop/ironclaw_agent_loop/src/executor/mapping.rs:257-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":"crates/loop/ironclaw_agent_loop/src/executor/mapping.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16b85cb3efb96a0f5818f3e5de7066d1131b23ee5fcba3f849a066b3e0216a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1660-1666 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1668-1674 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8648415df970a2a3f8f2de91304b12cc1bed07f4d666042962ff219537e6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1747-1753 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1755-1761 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8083a42ea73c0cf989462cf9e25c73b057f9f92bafd5817420866f36b67b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_hooks/src/predicate_state.rs:831-837 | crates/loop/ironclaw_hooks/src/predicate_state.rs:922-928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/predicate_state.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"786dea602052d40c4caf3478a5751ef240de420d0d9307ebc599a770efc23d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/filesystem_skill_bundle_source.rs:440-446 | crates/loop/ironclaw_loop_host/src/filesystem_skill_bundle_source.rs:473-479 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/filesystem_skill_bundle_source.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d59efde33f17b41739b82e0a72d97acb556e6fe35e0632d06fdc37f84dc6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/subagent/await_edge/store.rs:324-330 | crates/loop/ironclaw_turn_runner/src/subagent/await_edge/store.rs:366-372 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/store.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"156bad1293aa06f1c3ccef686715811f52d3ed73f982f26d28e723a897a19919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/chat_workflow.rs:60-66 | crates/product/ironclaw_openai_compat/src/responses_workflow.rs:62-68 \u2014 before extracting anything, compare \u0060crates/product/ironclaw_openai_compat/src/chat_workflow.rs\u0060 and \u0060crates/product/ironclaw_openai_compat/src/responses_workflow.rs\u0060 as WHOLE FILES: this scan already matched 4 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":"crates/product/ironclaw_openai_compat/src/chat_workflow.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f7bde4df05ba3f7f072f99a2a8450affe881f6c9327c2df6b73580e6e01c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/handlers.rs:154-160 | crates/product/ironclaw_openai_compat/src/handlers.rs:171-177 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_openai_compat/src/handlers.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ca13155025c348c95b35c929abad58ff80576b0f350e7dd770e62e2f35e75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/github.rs:444-450 | crates/product/ironclaw_webui/src/auth/github.rs:471-477 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/src/auth/github.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99278f37e45d51a3f1b49a75a3cd5efffd8f646a8bc8db20cc0f48ce0ac34c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs:155-161 | crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs:170-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ce2790c5c52bdf3c203b2178973a0d5b96927ef01a509da0dcc507b2d862c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/in_memory.rs:624-630 | crates/substrates/ironclaw_filesystem/src/in_memory.rs:641-647 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"55557779783e2a5b825f4ee540d5ec629f079b78b601e33b9ad13dc6a60d09ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:901-907 | crates/substrates/ironclaw_filesystem/src/postgres.rs:621-627 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"942298101d468508ccab73d6750dee91cee83be541b80f4c75548b5aefe41f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:849-855 | tools/ironclaw_stress/src/user_turn.rs:1149-1155 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b345e37a0298e9a9cf3cfebe783d3d76b696de12942dc5d37fa8649c0e2c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/contracts/ironclaw_host_api/src/audit.rs:63-68 | crates/contracts/ironclaw_host_api/src/audit.rs:94-99 | crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:537-542 | crates/kernel/ironclaw_authorization/src/lib.rs:839-844 | crates/kernel/ironclaw_processes/src/types.rs:326-331 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/audit.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7557aeae533b31c2e06e16425d14c811ddba7b1b19b39ce93e7977f33f42a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/extensions/packages/telegram/src/linked/ops/people.rs:124-129 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:59-64 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:142-147 | crates/extensions/packages/telegram/src/linked/ops/reads.rs:245-250 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/telegram/src/linked/ops/people.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2083b0f2155925d9ac876731be859743eb7e8706c4797108337da21bf69e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/app/ironclaw_cli/src/commands/onboard/prompts.rs:175-180 | crates/app/ironclaw_cli/src/commands/onboard/prompts.rs:195-200 | crates/app/ironclaw_cli/src/commands/onboard/prompts.rs:284-289 \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":"crates/app/ironclaw_cli/src/commands/onboard/prompts.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2378e6a2e573aede80514211237270cd9e006cc417349540623191e2a811ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs:138-143 | crates/domains/ironclaw_identity/src/identity_store.rs:97-102 | crates/product/ironclaw_webui/src/product_auth/mod.rs:584-589 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"320dd5ba55396e90894dfb0becbe77b1876276c7e2c0f45e8e7439230adf59be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/extensions/packages/google-docs/wasm-src/src/api.rs:681-686 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:474-479 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:489-494 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d01e438d7770eb77f9d71613f63f4320979b5da5bc2e1327cae3bf23410720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/kernel/ironclaw_processes/src/journal_store/rows.rs:977-982 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1091-1096 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1561-1566 \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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523b306a084080a02e47507048191a41081be7319dc9598c0f6c99e5bed758a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/in_memory.rs:340-345 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2597-2602 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1402-1407 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"178b264f6a50c39e4cc8824d16365f9926459105937f5fb3b6d759506c0b2738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_conversations/src/memory.rs:479-484 | crates/domains/ironclaw_conversations/src/memory.rs:576-581 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcb73d2dd052d9c0723aa9d1b8be2169e6e5488fb7f32b8fa5c50f337460b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:475-480 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:524-529 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"925d4369b050fda15965d5999fe2e77e60f6d8cb88198f90c05b287e211e4142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:380-385 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:148-153 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_llm/src/codex_chatgpt.rs\u0060 and \u0060crates/domains/ironclaw_llm/src/openai_codex_provider.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00cc95340aff988b831a8ef7bc6351754b4c640ea206108df862c67e2f6feec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_provider.rs:819-824 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:834-839 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"0806141de08f08739374f3525feb034328cc3bf592ff99481b923993f175e3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_threads/src/in_memory.rs:1059-1064 | crates/domains/ironclaw_threads/src/in_memory.rs:1114-1119 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b744ec7682e4e786ddf42acec9191854bf2c41772949b6e7b3e3abbdc58a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/latency.rs:125-130 | crates/extensions/ironclaw_extension_support/src/latency.rs:158-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_support/src/latency.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cbb6817454bfec3a42f2617add8e66eea8890222300412fcaf8427dba11d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:283-288 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:234-239 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9731721e7e6f2ce958c1f062d1bec435fd551a2b28c3ac67233a78488be22578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/packages/memory-native/src/repo/in_memory.rs:60-65 | crates/extensions/packages/memory-native/src/repo/in_memory.rs:121-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/repo/in_memory.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e879f0f0d89f7fd3c39d2667d9343147be564a5e608d1be39aa11eebee3f1c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/packages/slack/src/attachment_transfer.rs:615-620 | crates/extensions/packages/slack/src/attachment_transfer.rs:635-640 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/src/attachment_transfer.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abddc95d7093334843c28071a2f96814f093dd6bb7c4bf1a988b711cc5e419c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/memory_context.rs:349-354 | crates/loop/ironclaw_turn_runner/src/after_turn_memory.rs:222-227 \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":"crates/kernel/ironclaw_host_runtime/src/memory_context.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"18199095437f481c919e54a86bb3f6259414d5348c1fa00f84ae9dfc7e94ff75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store.rs:624-629 | crates/kernel/ironclaw_processes/src/journal_store/flusher.rs:493-498 \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":"crates/kernel/ironclaw_processes/src/journal_store.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d24cf545ab73aad63862c17428280163b3b0192ae48a02ec6fe30901354c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_resources/src/lib.rs:1006-1011 | crates/kernel/ironclaw_resources/src/lib.rs:1033-1038 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_resources/src/lib.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ef3ffd2e0b90f50ad1a3e74e499b4cb81e61976ba2ecccf8db3b9e03c7678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs:41-46 | crates/loop/ironclaw_loop_host/src/lib.rs:262-267 \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":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ed8058456cdbcd8713a2f6d66a3c9b3cce6d952f55e1c0e683a07cc9538a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs:1299-1304 | crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs:1347-1352 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a0087a5a29755c25789ce82eeb349daafd198d8a0feebb03bfd1ba5dda0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/product/ironclaw_assistant/src/channel_workflow.rs:211-216 | crates/product/ironclaw_assistant/src/channel_workflow.rs:483-488 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/channel_workflow.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bca2e0f614973ca297affa2780aa6952a66f9b771ace21deabccb0a00b84e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services.rs:6220-6225 | crates/product/ironclaw_assistant/src/reborn_services.rs:6260-6265 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":6220}}}],"partialFingerprints":{"codehealthFindingId/v1":"702afd4b73dabd9b68dcd14c849bdd5ce09e51b71a5cf6ecb25b95ddbcbcbe4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:329-334 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1779-1784 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b822221e8c1e150c2dd29840f77aa4486036ccd3b0013b0bf6d8ed26396f5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/local.rs:533-538 | crates/substrates/ironclaw_filesystem/src/local.rs:574-579 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/local.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"9273544b36b66f9dbabee447a6321cac266ca3b1c16c76c1f84953e473c105ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/secret_store.rs:1106-1111 | crates/substrates/ironclaw_secrets/src/secret_store.rs:1131-1136 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3de89f4c35600fce7d5f0f798f264e2b1582fd8753723d0b3e3aa5455be7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/analysis.rs:80-85 | tools/ironclaw_stress/src/capture.rs:38-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/analysis.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05841afe845e0b5a6cb00bb293fd019103da875fecb0ba456ac46b3c74a211d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/ramp.rs:123-128 | tools/ironclaw_stress/src/sweep.rs:214-219 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"254fb1803e5aa4be2168ad611236b521979a3aa0ddf96475bafa77f3cce3712a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/suite.rs:334-339 | tools/ironclaw_stress/src/suite.rs:369-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/ironclaw_stress/src/suite.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"116467605e5cc9b0d2274bab1b8d646d58ace0397077407f87dd57aedfdb9e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:833-838 | tools/ironclaw_stress/src/user_turn.rs:1110-1115 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93cbbb78af77c9793083160c2c8642b41748eea9ccbbd70b132e1542002093e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:868-873 | tools/ironclaw_stress/src/user_turn.rs:1166-1171 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d7daf466bde9aaf799d159f3fae93a74e6225cf225def83ebbdd7a9374ae5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/domains/ironclaw_conversations/src/memory.rs:313-318 | crates/domains/ironclaw_conversations/src/memory.rs:674-678 | crates/domains/ironclaw_conversations/src/memory.rs:902-906 | crates/domains/ironclaw_conversations/src/memory.rs:1135-1139 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_conversations/src/memory.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8912c4aafdf9a17ba11f17167c5cf9f4268faf3c93e3ffbc0e50152b2eef41b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/domains/ironclaw_triggers/src/libsql.rs:493-497 | crates/domains/ironclaw_triggers/src/libsql.rs:557-561 | crates/domains/ironclaw_triggers/src/libsql.rs:750-754 | crates/domains/ironclaw_triggers/src/libsql.rs:814-818 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7351f22be2a929ada1e8f3b20c8e139a93d9c07890a10e3008034509e35ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 7): crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:451-455 | crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:476-477 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:298-299 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:338-342 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:436-440 | crates/kernel/ironclaw_host_runtime/src/post_edit_check.rs:201-202 | crates/lanes/ironclaw_mcp/src/client.rs:128-129 \u2014 there are 7 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f3249483831fd1d420be52898192d9864f7ef0c073cdbe555462bca81f3c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/libsql.rs:895-899 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1005-1009 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2420-2424 \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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ce346428cc434be4fe6fd9ecb6d94674a52cb8ba4ac86f5eed14ac27d1692d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/ironclaw_stress/src/ramp.rs:124-128 | tools/ironclaw_stress/src/suite.rs:138-142 | tools/ironclaw_stress/src/sweep.rs:215-219 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/suite.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 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":"tools/ironclaw_stress/src/ramp.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd3afcfa1ebd525c3b7d5fe749e85d6c13cb012b530bf291036e64e4980fa30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/credential_redaction.rs:75-79 | crates/contracts/ironclaw_host_api/src/credential_redaction.rs:227-231 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_host_api/src/credential_redaction.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16df8ae66b8d2987b85af2fc73beb7d470223035146a478257bda9ab12c2873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/api/auth.rs:498-502 | crates/domains/ironclaw_auth/src/product_auth/api/auth.rs:759-763 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d97f4940b83a6a5adc6377d0be8c4e92b13b1ed2b8dc591f5ef2ddba6787d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_llm/src/nearai_chat.rs:933-938 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1075-1079 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde0fe60ec031805805108e153843165c3e439de39ed33f615fabd1fe8b80876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_llm/src/reasoning.rs:335-339 | crates/domains/ironclaw_llm/src/reasoning.rs:449-453 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/reasoning.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d8a1e33c413c0fac8bb5fc540bc009a2497b4cdd41455503f72a590acf5458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1793-1797 | crates/domains/ironclaw_outbound/src/outbound_state_store.rs:1807-1811 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_outbound/src/outbound_state_store.rs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170185191419b3c24b8a7746b88a6cced05eff27f4cf607208ac2b6ab7387d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_triggers/src/in_memory.rs:315-319 | crates/domains/ironclaw_triggers/src/in_memory.rs:375-379 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/in_memory.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38855bce0539e40dfcef2cea068f141a8885b5ca9ba930670a2dfdcbba154ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/extensions/packages/google-sheets/wasm-src/src/api.rs:322-326 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:356-360 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-sheets/wasm-src/src/api.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b99b24be05b3081de7ed6c13bad6d4ea96de59aaaf28ac5055aa592cd3648d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:313-317 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:343-347 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"84334bb79a98f5f743f509e9fc35f0aea9ac98dd700dbcab38c642c875a183b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/latency.rs:37-41 | crates/loop/ironclaw_agent_loop/src/executor/latency.rs:68-72 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/latency.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7013db6adc8bb0ca3ea648e378e1db6d847ebc1434ff7ffa790fc8b0111f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1456-1463 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1624-1628 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a0bdad809cbbb793423fc46f8327a17058b82eb4acd1ec167a324729329c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/product/ironclaw_assistant/src/steering.rs:117-121 | crates/product/ironclaw_assistant/src/steering.rs:162-166 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/steering.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d84874311dea7dd47d75af55768a2dcd717a1a23f457bb1f00a2748b50d95a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:1012-1016 | crates/substrates/ironclaw_filesystem/src/libsql.rs:2566-2570 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbb85bff2d5411366d110d0c66178bff43b507cedae4626c8306f2d6b6a448f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/substrates/ironclaw_secrets/src/secret_store.rs:309-313 | crates/substrates/ironclaw_secrets/src/secret_store.rs:982-986 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d2c74bacb418c9cfc859047a217d742759c92f15125a1aa8ddf4799e3b4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/launchd.rs:18-24 | crates/product/ironclaw_operator/src/operator_service_lifecycle.rs:910-916 \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":"crates/app/ironclaw_cli/src/commands/service/launchd.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4b818d3864851a2b701712b0daaa3fd7d47710010652cf5f988d5bb96dd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/gsuite.rs:275-284 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:250-259 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/first_party/gsuite.rs\u0060 and \u0060crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 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":"crates/app/ironclaw_cli/src/first_party/gsuite.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e933f5dbfb95866f96eac32a350b3f752377ecda35c106659f1e4edd6c2d0fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_cli/src/first_party/web_access.rs:69-76 | crates/extensions/ironclaw_extension_host/src/test_support/first_party_registrars.rs:309-316 \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":"crates/app/ironclaw_cli/src/first_party/web_access.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1deb7a577eb5bc369ad93c8bfa37468ed9414eec836656ec7076a3ab2d43d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/app/ironclaw_cli/src/runtime/mod.rs:1316-1321 | crates/product/ironclaw_operator/src/llm_admin/llm_config_service.rs:1160-1165 \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":"crates/app/ironclaw_cli/src/runtime/mod.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3a1aedcc7497c0e08f52e42b95229e000ddcf4f424dc46f7c452fd0fdfb810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_composition/src/automation/trigger_poller.rs:274-282 | crates/domains/ironclaw_auth/src/engine/keepalive.rs:465-473 \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":"crates/app/ironclaw_composition/src/automation/trigger_poller.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbb6db2677d6d182d1b17c42d82e57418db490043aacf4ed4eb47320e29919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_composition/src/builtin_capability_policy.rs:525-539 | crates/app/ironclaw_composition/src/factory/capability_host_tests/approval_gates.rs:792-802 \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":"crates/app/ironclaw_composition/src/builtin_capability_policy.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84c78bbeccaad4cea6aa5cd2c58dbf9368420bde1d05ecb42d752a6c721c221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_composition/src/capability_authorization.rs:164-170 | crates/kernel/ironclaw_host_runtime/src/user_profile_source.rs:264-270 \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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef21ccaa0a2b1d851fabbe3e3815053d7cd2b20594cd965e3d13dba2d7c303f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_composition/src/capability_authorization.rs:558-568 | crates/app/ironclaw_composition/src/factory/capability_host_tests/approval_gates.rs:836-846 \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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0358788f1fc66f9a94b26904a5d2640813eea142aa3fe3de045bc6e931732276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/app/ironclaw_composition/src/product_surface.rs:591-600 | crates/product/ironclaw_assistant/src/automation_product_service.rs:688-697 | crates/product/ironclaw_assistant/src/fakes.rs:30-39 | crates/product/ironclaw_assistant/src/reborn_services/outbound_preferences.rs:150-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/product_surface.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb52670c8aa48f444dc73f7fed6c5589c3f86354aee628117fb82ce7bbb8ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_composition/src/runtime/capability_host/result_preview.rs:118-127 | crates/lanes/ironclaw_sandbox/src/sandbox_process.rs:1023-1032 \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":"crates/app/ironclaw_composition/src/runtime/capability_host/result_preview.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1847f29c752fe8860ee915e2e1b881e68aa7f34198b3665b345b95cb5d5ec1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_config/src/config_file.rs:1321-1328 | crates/product/ironclaw_operator/src/llm_admin/provider_repo.rs:197-204 \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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6891f411c7545f222f421b9aae5ec226acac0b3d0701874724bf15a9e421e503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/product_adapter_section.rs:337-342 | crates/contracts/ironclaw_host_api/src/product_adapter/auth.rs:177-182 \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":"crates/contracts/ironclaw_extension_contracts/src/product_adapter_section.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fed7f0c0f25d86603efc21ac2d04ef7c3217d12a3acee2162b5d16b8d041ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/contracts/ironclaw_extension_contracts/src/reply.rs:902-911 | crates/domains/ironclaw_threads/src/prepared_context.rs:413-422 | crates/kernel/ironclaw_host_runtime/src/memory_context.rs:313-322 | crates/loop/ironclaw_agent_loop/src/executor/capability_failure.rs:141-150 | crates/loop/ironclaw_agent_loop/src/executor/capability_helpers.rs:440-449 | crates/product/ironclaw_assistant/src/inspector_store.rs:1034-1043 | crates/product/ironclaw_assistant/src/projection/reply.rs:900-909 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/reply.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70a109da34dd16ac350482e06f0ae92ca5cfc5eb2bc49f766f1f09c135e7262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/contracts/ironclaw_host_api/src/http.rs:71-80 | crates/substrates/ironclaw_network/src/types.rs:53-62 | crates/substrates/ironclaw_network/src/types.rs:94-103 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/http.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f2a54f1a83ee28a4b8eb4c643c4006ef236fc4edeb1b6c253084c1571c469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/contracts/ironclaw_host_api/src/outbound.rs:93-110 | crates/contracts/ironclaw_product_contracts/src/product_wire.rs:970-987 | crates/domains/ironclaw_outbound/src/delivery_targets.rs:484-501 \u2014 before extracting anything, compare \u0060crates/contracts/ironclaw_product_contracts/src/product_wire.rs\u0060 and \u0060crates/domains/ironclaw_outbound/src/delivery_targets.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"crates/contracts/ironclaw_host_api/src/outbound.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66e020ffe6bc492449c10ffff1c60b2374071c6ad3693397016a038216e153c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/milestones.rs:364-369 | crates/kernel/ironclaw_turns/src/events.rs:218-223 \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":"crates/contracts/ironclaw_loop_contracts/src/milestones.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c488d2bb017792962db4cc5291540b8bb7a58b80e20b2008cb589c7e0cc4a0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/host/validate.rs:136-142 | crates/events/ironclaw_event_log/src/runtime_event.rs:1099-1105 \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":"crates/contracts/ironclaw_loop_contracts/src/host/validate.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc7e6c8dce5ba16521add14f7b757c7f0e0a4e5176f627a600f4ee5e72e992d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_auth/src/delivery_registrations.rs:330-340 | crates/product/ironclaw_operator/src/llm_admin/user_model_preference_store.rs:30-40 \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":"crates/domains/ironclaw_auth/src/delivery_registrations.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"748023b9f2cec272a48d5aa04f5d7895f3518ed93cfcf1aca8e032f393b91836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:683-688 | crates/domains/ironclaw_llm/src/github_copilot.rs:403-408 \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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1939fae441dd659775a3c26f3163af76ea794ab3a56df6d74a05186df104dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:690-700 | crates/domains/ironclaw_llm/src/github_copilot.rs:410-420 \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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4844d3806f110cb8224cdbf5427a3a4caa10fe5d3b9dfe296f2e1595f4f721f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_llm/src/bedrock.rs:76-84 | crates/domains/ironclaw_llm/src/nearai_chat.rs:1246-1254 \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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"796378f82604b3cf57837653210aef7eceb0df229ad24c762e8fba6223281645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:41-51 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:586-596 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_llm/src/codex_chatgpt.rs\u0060 and \u0060crates/domains/ironclaw_llm/src/openai_codex_provider.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"45979c82042bc8d9031a07b2229e6c0a40bb31f7153dd295e51d58e0cc21b449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/failover.rs:392-397 | crates/domains/ironclaw_llm/src/token_refreshing.rs:65-70 \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":"crates/domains/ironclaw_llm/src/failover.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1370012e0aa816e381aa63ccf2b69c13450ad0ace774d642ae26719003a4d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:4393-4400 | crates/domains/ironclaw_threads/src/in_memory.rs:1834-1841 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/in_memory.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 186 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3a88f6a7dc8abf7d99b166e23d738cd0ad78f2b929a9ec6e2b44f7fb33e333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_triggers/src/capability_facts.rs:59-66 | crates/kernel/ironclaw_approvals/src/policy.rs:106-113 \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":"crates/domains/ironclaw_triggers/src/capability_facts.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1e54464bf47b8c5561de611ac74669269a7e88289e128d65df7704d4fb1651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:2190-2194 | crates/domains/ironclaw_triggers/src/postgres.rs:1655-1659 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/domains/ironclaw_triggers/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a66b1762bfe44ec30b30f5dbc13202b54164a273b008fe21e66e3a4a82c5d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/active.rs:101-108 | crates/extensions/ironclaw_extension_registry/src/v2.rs:1655-1662 \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":"crates/extensions/ironclaw_extension_host/src/active.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fea4734accf02e48878d04863a20c277a2391e5eee1b7a06c0b6e5cc25e918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_host.rs:369-374 | crates/extensions/ironclaw_extension_host/src/ingress/router.rs:1022-1027 \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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53630abf9597e1b6b3657b5bba570bf37199d3f0e2691f759d239f5f9bd1f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_host.rs:376-383 | crates/extensions/ironclaw_extension_host/src/ingress/router.rs:1029-1037 \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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03dd38f39a9256108835ccae33e41253a09b4b536cd7fd609f9bd5905b337b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/channel_host.rs:385-390 | crates/extensions/ironclaw_extension_host/src/ingress/router.rs:1039-1044 \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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"822ff0ed2913651a3c7a8282c257d0deedecf699d261f3673ab5b084c06f8e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:494-501 | crates/product/ironclaw_assistant/src/reborn_services.rs:1955-1962 \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":"crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fc281cfecc52d377f33caa10f37d5b3eecd39350cd3ff7abc58cccd097365f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/test_support/lifecycle.rs:775-782 | crates/product/ironclaw_assistant/src/reborn_services/extensions.rs:181-188 \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":"crates/extensions/ironclaw_extension_manager/src/test_support/lifecycle.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d290cdd75522d12e093b64ee36981a60ee061d6bc65e9fc3f95c80f0de52cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/skills/url_install.rs:245-250 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs:1045-1050 \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":"crates/extensions/ironclaw_extension_support/src/skills/url_install.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d05c8d6b535e1e2c3a1c2d2f9ba5391fb6b745aa5ff584db04f8f06ec872e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/extensions/packages/google-docs/wasm-src/src/api.rs:46-52 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:52-58 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:43-49 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:43-49 | crates/extensions/packages/slack/wasm-src/src/api.rs:143-149 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a17279c9433daead9b27a50b44c8975ba016ca3983ed727f4e2be7baf6134c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/extensions/packages/google-docs/wasm-src/src/api.rs:56-62 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:53-59 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:53-59 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df7a708994991b1b91d550d25ec8d1e0e99ca15f2c2eeae8755561f42babf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:80-86 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:60-66 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d4f04ce187a412c48c99741fd04d3859e3b84c79a52c94d7403051f6387aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:68-73 | crates/extensions/packages/google-drive/wasm-src/src/lib.rs:52-57 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:58-63 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:67-72 | crates/extensions/packages/slack/wasm-src/src/lib.rs:60-65 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/lib.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2b754ba0e5bf93e2dd3687c344e7cfa869e7cb553251dbb491f742765d468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/kernel/ironclaw_approvals/src/approval_store.rs:608-615 | crates/kernel/ironclaw_authorization/src/lib.rs:1499-1506 | crates/kernel/ironclaw_capabilities/src/replay_payload.rs:313-320 | crates/kernel/ironclaw_processes/src/types.rs:337-344 | crates/product/ironclaw_assistant/src/approval_interaction/read_model.rs:158-165 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/approval_store.rs\u0060 and \u0060crates/kernel/ironclaw_capabilities/src/replay_payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"crates/kernel/ironclaw_approvals/src/approval_store.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9810c7da9f1ee8f73b791209d4acfd8090b17440cbcd3f2f91af942354b5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/kernel/ironclaw_approvals/src/auto_approve.rs:259-266 | crates/kernel/ironclaw_approvals/src/capability_permission.rs:470-478 | crates/kernel/ironclaw_approvals/src/policy.rs:528-536 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/auto_approve.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcaaf55f1f1d3475995886c3694860333c290dd79eb2e1e824d91fa42a50c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/capability_permission.rs:85-90 | crates/kernel/ironclaw_approvals/src/policy.rs:63-68 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0f2087ef3515a4a510f1f8e562a698465abd9aea033ccb9909bd560314540c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/capability_permission.rs:459-466 | crates/kernel/ironclaw_approvals/src/policy.rs:517-524 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/capability_permission.rs\u0060 and \u0060crates/kernel/ironclaw_approvals/src/policy.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 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":"crates/kernel/ironclaw_approvals/src/capability_permission.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dbcf121b2b2f0b76c2bff091380c4cebfe03806b09660442ddc67d550cb4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/kernel/ironclaw_capabilities/src/obligations.rs:137-151 | crates/kernel/ironclaw_host_runtime/src/obligations/handler.rs:665-679 \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":"crates/kernel/ironclaw_capabilities/src/obligations.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffcd628ee2ec3da03aabf15668e833405bf180d33101dbef77825b14c54e0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/invocation_services.rs:453-458 | crates/substrates/ironclaw_filesystem/src/scoped.rs:834-839 \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":"crates/kernel/ironclaw_host_runtime/src/invocation_services.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"10992f693dff5a55e1a9d3105cb1ba9ba04441845503d976b5757e0f056c3ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:1267-1276 | crates/kernel/ironclaw_host_runtime/src/services.rs:1039-1048 \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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"35995b10aacab91f465c6040df2c98374f56c90f2a14569d8c8b18763fcddb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/surface.rs:658-667 | crates/loop/ironclaw_loop_host/src/capability_info.rs:263-272 \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":"crates/kernel/ironclaw_host_runtime/src/surface.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76d7b2221f09b0b869315eae528a539f4113312617f589c4dd6df50dd66a42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_resources/src/lib.rs:1158-1164 | crates/substrates/ironclaw_filesystem/src/local.rs:841-847 \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":"crates/kernel/ironclaw_resources/src/lib.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fd8bf741a92fd61df00d6cbf2ba63754637547b06fd1c91068534aae2b5b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/kernel/ironclaw_turns/src/loop_exit.rs:488-496 | crates/kernel/ironclaw_turns/src/process_projection/runtime.rs:965-973 \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":"crates/kernel/ironclaw_turns/src/loop_exit.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"273cd8826f02f82ca6b8e1eb4f62b11979d6a318a65bce2a998bafa3803cec49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_turns/src/loop_exit.rs:500-506 | crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs:792-798 \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":"crates/kernel/ironclaw_turns/src/loop_exit.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2eff02c010f5dba47a45743b9701d1ba76ee8fe68a3679471059af197833ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process.rs:1034-1041 | crates/lanes/ironclaw_sandbox/src/sandbox_process/mounts.rs:242-249 \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":"crates/lanes/ironclaw_sandbox/src/sandbox_process.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e9243e8a21211ab33207e5e63b91f0446e64ec768cd5adf34c00aec51dee8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/durable_input_queue.rs:109-121 | crates/loop/ironclaw_loop_host/src/input_queue.rs:800-812 \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":"crates/loop/ironclaw_loop_host/src/durable_input_queue.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b264fcb218cd521cdf85475ed537ddf6888f8d9946f54adab52a0970c3d92ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs:232-242 | crates/loop/ironclaw_turn_runner/src/production_readiness.rs:747-757 \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":"crates/loop/ironclaw_turn_runner/src/planned_driver_factory.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee95b0bd88aeb398544533e960417571b062415faf1e10f47f379c40ce110056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/subagent/directions/mod.rs:12-19 | crates/loop/ironclaw_turn_runner/src/subagent/flavors.rs:20-27 \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":"crates/loop/ironclaw_turn_runner/src/subagent/directions/mod.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023d5d78da7262740b513d7e59d992e709e6d8a1a1d866b149c85587f364407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/product/ironclaw_assistant/src/approval_interaction/types.rs:103-116 | crates/product/ironclaw_assistant/src/auth_interaction/types.rs:99-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/approval_interaction/types.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5177ad503e755f9edbea4cdbfc7bc59f77c659c24f2a0af229f148a7430bf26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_assistant/src/model_channel_delivery.rs:400-408 | crates/product/ironclaw_assistant/src/run_delivery/observer.rs:1875-1883 \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":"crates/product/ironclaw_assistant/src/model_channel_delivery.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f291d89144e524621bd1a28f5a5a65104e452f63e1d36abcd0c5448c52bc46eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection.rs:1749-1757 | crates/product/ironclaw_assistant/src/projection/live_progress.rs:344-352 \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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"978d3d859258ec050395eea7b0914ec8aacd801846f7ec0a852b863f4cb57a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services.rs:7115-7121 | crates/product/ironclaw_assistant/src/workflow.rs:1634-1640 \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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":7115}}}],"partialFingerprints":{"codehealthFindingId/v1":"21884ddb5fa8264c23b04a58e3e77e2b0c17dc4ecfd77fce8ad14b293382629a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery/notifications.rs:101-106 | crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:181-186 \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":"crates/product/ironclaw_assistant/src/run_delivery/notifications.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac0c3e86fa7b731db2cac9182cb14291ecb9dce106bf32ff769d8ba45bddd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/error.rs:465-477 | crates/product/ironclaw_openai_compat/src/refs.rs:654-666 \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":"crates/product/ironclaw_openai_compat/src/error.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb7e6ffb94377c13e1b1c2e2abe5f7f9e3715852f5e468010d76463179a79c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/refs.rs:376-381 | crates/product/ironclaw_openai_compat/src/refs_storage.rs:379-384 \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":"crates/product/ironclaw_openai_compat/src/refs.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f5b97afe8a01b6c05452c14d6120cd988b5fb5a27de23035d7f87803458504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_openai_compat/src/descriptors.rs:212-218 | crates/product/ironclaw_webui/src/webui_v2/descriptors.rs:2258-2264 \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":"crates/product/ironclaw_openai_compat/src/descriptors.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccf6bbb5bf483a728a263399994ce30c5b8618d4849ac241bb71ea29d3275fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/pending.rs:233-237 | crates/product/ironclaw_webui/src/cli_token_login.rs:371-375 \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":"crates/product/ironclaw_webui/src/auth/pending.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"837e7cbb39585e7d19792921203d25f478922315e15ace16c349b4d190437f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/routes.rs:621-634 | crates/product/ironclaw_webui/src/cli_token_login.rs:271-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/auth/routes.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c62260e637c930b1416c79f2b225706d62892df42646b5d2ad9799182cb8036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_body_limit.rs:98-102 | crates/product/ironclaw_webui/src/webui_ws_origin.rs:93-97 \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":"crates/product/ironclaw_webui/src/webui_body_limit.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2b1f2fcb8109420590d9e8069d2040d11042c673ed30a97558cdc0c9bf065b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_webui/src/webui_serve.rs:1015-1022 | crates/substrates/ironclaw_secrets/src/lib.rs:1145-1152 \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":"crates/product/ironclaw_webui/src/webui_serve.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"e028562a1ba9d8581fd60d2a76e8151ad04270945b274cd7156df275ea479d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs:37-43 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1634-1640 | crates/substrates/ironclaw_filesystem/src/postgres.rs:1453-1459 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/in_memory/transaction.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2697ee238cac4b1290a3e64e5eda8a514044baac714bfcdad059e3a35cfa539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:62-68 | crates/substrates/ironclaw_filesystem/src/postgres.rs:117-123 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"127e7b80a52a37194ef5427475ca58117aa20e9e5fc45322032186fc9edc8e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:239-250 | crates/substrates/ironclaw_filesystem/src/postgres.rs:307-320 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2707ce433784d03203fdbf272871a427734e120eede15316dd59f8067f2420a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2880-2888 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2718-2726 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"e603d5a7da882b7ba3c1a3fcd1ac3c13e640acb0136d558bde1e21969270cd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/ironclaw_stress/src/analysis.rs:573-581 | tools/ironclaw_stress/src/human.rs:927-935 \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":"tools/ironclaw_stress/src/analysis.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a039d706b5131c7b1dd268007906559c89ca0d11ecf498de52161d3f076804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): tools/ironclaw_stress/src/compare.rs:464-472 | tools/ironclaw_stress/src/human.rs:981-989 | tools/ironclaw_stress/src/ramp.rs:359-367 | tools/ironclaw_stress/src/suite.rs:610-618 | tools/ironclaw_stress/src/sweep.rs:568-576 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/suite.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 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":"tools/ironclaw_stress/src/compare.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a22c23c93cb88da26fbcd40bac01616ad2c3a6e38b1d32ccd9066ecd6970f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): tools/ironclaw_stress/src/compare.rs:482-490 | tools/ironclaw_stress/src/ramp.rs:377-385 | tools/ironclaw_stress/src/suite.rs:628-636 | tools/ironclaw_stress/src/sweep.rs:586-594 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/ramp.rs\u0060 and \u0060tools/ironclaw_stress/src/suite.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 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":"tools/ironclaw_stress/src/compare.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"728f14f7e2962021382287ab3b1387ac22687e20ee150b89c9560297413be19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): tools/ironclaw_stress/src/compare.rs:502-512 | tools/ironclaw_stress/src/human.rs:1044-1054 | tools/ironclaw_stress/src/suite.rs:648-658 | tools/ironclaw_stress/src/sweep.rs:614-624 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/suite.rs\u0060 and \u0060tools/ironclaw_stress/src/sweep.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"tools/ironclaw_stress/src/compare.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d682e0458e5b09abf25799ca2167269c8a52e68438da5b9aa1f512579a170f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/ironclaw_stress/src/main.rs:2308-2316 | tools/ironclaw_stress/src/user_turn.rs:609-617 \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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f22ed461626f32dcae47987d2561b0049d51ce9720ae1ff614445eb1796baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/ironclaw_stress/src/process_pressure.rs:85-93 | tools/ironclaw_stress/src/secret_ops.rs:235-243 \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":"tools/ironclaw_stress/src/process_pressure.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0921074307c60941fe1801049452fcaf4b18719d9f4ee90d39e679506716b701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/config/list.rs:14-22 | crates/app/ironclaw_cli/src/commands/status.rs:19-27 \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":"crates/app/ironclaw_cli/src/commands/config/list.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"867b49bf8f027dc6a2c3aa2fcc54030209ba3ed2343bcda93f87d6d67c0c0e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/contracts/ironclaw_loop_contracts/src/loop_exit.rs:134-142 | crates/kernel/ironclaw_turns/src/events.rs:42-50 \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":"crates/contracts/ironclaw_loop_contracts/src/loop_exit.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d84d51d62fddb0b1d95f1d56f8840d4394a77ccc6dc5bcdba95ddbcf9e37d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/product_wire.rs:675-684 | crates/domains/ironclaw_outbound/src/delivery_targets.rs:71-80 \u2014 before extracting anything, compare \u0060crates/contracts/ironclaw_product_contracts/src/product_wire.rs\u0060 and \u0060crates/domains/ironclaw_outbound/src/delivery_targets.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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":"crates/contracts/ironclaw_product_contracts/src/product_wire.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5038fb17d8e6e38a676ebed84b74895b26c957eafcf33539257da4a9ca52531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/remote/account.rs:151-161 | crates/domains/ironclaw_trace_commons/src/contribution/remote/profile.rs:107-116 \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":"crates/domains/ironclaw_trace_commons/src/contribution/remote/account.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d300eb7885224cd4a49ab6c6a68086a3cfcfb6e33002a81291abc7e7b6a2d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/events/ironclaw_event_log/src/cursor.rs:67-73 | crates/product/ironclaw_assistant/src/inspector_store.rs:167-173 \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":"crates/events/ironclaw_event_log/src/cursor.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c35cef118275432247b4907a929666d39e1b471667b25b5793a687e51625e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/events/ironclaw_event_projections/src/runtime_checkpoint_cache.rs:97-102 | crates/extensions/ironclaw_extension_host/src/device_link_driver.rs:934-939 | crates/extensions/ironclaw_extension_host/src/linked_session_custody.rs:458-463 | crates/extensions/ironclaw_extension_support/src/coding/state.rs:117-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_projections/src/runtime_checkpoint_cache.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d488c9ce715906e94c334683070a57a3538ad4b9913ab54a2dba9a979c78bbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs:201-213 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs:725-737 \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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c40a1113dd91a27aaa64e9cd6f1cea3cf137f36545400984cebd738faabdb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:228-237 | crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs:242-251 | crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs:191-200 \u2014 before extracting anything, compare \u0060crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs\u0060 and \u0060crates/extensions/ironclaw_extension_manager/src/skill_auto_activate_capability.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/extensions/ironclaw_extension_manager/src/operator_config_capability.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af348f3451f82ec43602038b72b14b1441acc53ac722ac7aac91ee9007e1b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/extensions/packages/google-docs/wasm-src/src/lib.rs:75-80 | crates/extensions/packages/google-drive/wasm-src/src/lib.rs:59-67 | crates/extensions/packages/google-sheets/wasm-src/src/lib.rs:65-70 | crates/extensions/packages/google-slides/wasm-src/src/lib.rs:74-79 | crates/extensions/packages/slack/wasm-src/src/lib.rs:67-72 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/lib.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc02f61b9477429e18e80d490c5bb4c11440153aa1d876b3244a140424af582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_approvals/src/auto_approve.rs:189-194 | crates/kernel/ironclaw_approvals/src/policy.rs:429-434 \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":"crates/kernel/ironclaw_approvals/src/auto_approve.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ad551f9449bdb199f6f555bc160412e3643aa50894261573410bc2b9fc4b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/first_party_tools/outbound_deliver.rs:53-59 | crates/kernel/ironclaw_host_runtime/src/first_party_tools/reply_attachment.rs:57-63 \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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/outbound_deliver.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"22abfde68868397703ff0218439657ab8635cb537cb87e6d4bcea06eb8ad6c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/wasm_credentials.rs:299-311 | crates/lanes/ironclaw_wasm/src/host.rs:414-427 \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":"crates/kernel/ironclaw_host_runtime/src/wasm_credentials.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0d4ba4b48cbb645039eb7333d560b2fed3b13445f30bada480d6d57b854bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs:2201-2211 | crates/loop/ironclaw_loop_host/src/skill_bundle_context_source.rs:149-159 \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":"crates/loop/ironclaw_loop_host/src/skill_activation/activation.rs"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93cd037425014cf24ce97188a4707089aca66a9db1edae986a4a0482b1fdc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/product/ironclaw_assistant/src/approval_interaction/service.rs:163-174 | crates/product/ironclaw_assistant/src/auth_interaction/service.rs:183-194 \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":"crates/product/ironclaw_assistant/src/approval_interaction/service.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5d883379e848c42a884d5aaa28598f628fa812f19017d7ffd77eebc8bcd749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/approval_interaction/service.rs:497-504 | crates/product/ironclaw_assistant/src/auth_interaction/service.rs:465-472 \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":"crates/product/ironclaw_assistant/src/approval_interaction/service.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"082cfba79fdc73de2a5beec4acf1d2ca1d7247fc886aa55696368a2c07f80761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/run_delivery/notifications.rs:342-349 | crates/product/ironclaw_assistant/src/run_delivery/triggered.rs:1513-1520 \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":"crates/product/ironclaw_assistant/src/run_delivery/notifications.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f1448c3fd3e46a1c78bc6bdbd89dcb263e3d4606a5569288ab92cb4fbbb66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/google.rs:146-151 | crates/product/ironclaw_webui/src/oidc.rs:106-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/src/auth/google.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da4621be8756e1a09bf7fb725148cccee1514d90cbb899a6e567c9b9bfa8f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_webui/src/auth/pending.rs:221-228 | crates/product/ironclaw_webui/src/cli_token_login.rs:361-368 \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":"crates/product/ironclaw_webui/src/auth/pending.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0c264eef6400159059d7ece61806ef9e8f58d1a33833549e35c94618d106b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/ironclaw_stress/src/main.rs:2458-2463 | tools/ironclaw_stress/src/secret_ops.rs:40-45 | tools/ironclaw_stress/src/user_turn.rs:294-299 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/secret_ops.rs\u0060 and \u0060tools/ironclaw_stress/src/user_turn.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20de26b8709f32d70f73c052c445de93afe165c5b13e5683fb3bb6d8068725d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:1210-1234 | crates/domains/ironclaw_triggers/src/libsql.rs:1289-1313 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aea5aae2eafc0f873301c4aab117401e832c9814540be41a366283fd127f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:676-699 | crates/substrates/ironclaw_filesystem/src/libsql.rs:713-731 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"262811f929128658fb77a67b4dcfe8d13f2d3fa281298a7ceeddbbfd752bb185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:1094-1115 | crates/domains/ironclaw_triggers/src/libsql.rs:1208-1229 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5032c7832f0cada2492ba41582f8a6e88058414808a96718a24a76439989566a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/egress/pipeline.rs:152-170 | crates/kernel/ironclaw_host_runtime/src/egress/pipeline.rs:193-211 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/egress/pipeline.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"49220b1fa7d3c33bc7a7787cea58debd37c42d69b9447eaf512ece0ace13a54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/model_gateway.rs:1711-1728 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:1901-1916 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"726716216c2024c13298654e398524173fd62d03aa010158920126310440af39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/domains/ironclaw_llm/src/transcription/chat_completions.rs:30-47 | crates/domains/ironclaw_llm/src/transcription/openai.rs:22-39 \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":"crates/domains/ironclaw_llm/src/transcription/chat_completions.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e03ddf285b439b45bdb7690a2d612144756e3a4c6bfd762106c04fd0629dd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/domains/ironclaw_triggers/src/libsql.rs:233-244 | crates/domains/ironclaw_triggers/src/libsql.rs:248-259 | crates/domains/ironclaw_triggers/src/libsql.rs:263-274 | crates/domains/ironclaw_triggers/src/libsql.rs:276-286 | crates/domains/ironclaw_triggers/src/libsql.rs:288-305 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3657ce836400f73a2f20406aa57c082114bda333c501ee3e0e2cde8844f0903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:250-266 | crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:332-342 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"947496b100c8e0d4855fb91b408b9306f1e6cdfafeab7ceea9f0fa8a53dd2861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/app/ironclaw_composition/src/capability_authorization.rs:378-394 | crates/app/ironclaw_composition/src/capability_authorization.rs:511-527 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/capability_authorization.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ac342c862cad3732f4b31ea42b6eba8ec3cdfaf384b8a91ff2f52208df7827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/events/ironclaw_event_projections/src/lib.rs:796-812 | crates/events/ironclaw_event_projections/src/lib.rs:873-889 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_projections/src/lib.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"403dde4b2e4bd4ad0085f1386af06806822483da1f6405b662e10a0a71e62713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:311-327 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:403-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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f3e973b279b04c6e5b9ef806e21e55b8b1731197de3f9167bc47bf6f6a5854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:575-590 | crates/kernel/ironclaw_host_runtime/src/production.rs:632-647 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f1553b07241d7493d6357a3938abeb1ada746bdfc708045e8acc228cf6199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:1529-1544 | crates/kernel/ironclaw_host_runtime/src/production.rs:1547-1562 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47b26f10e6967bee6ef929b6243802b5ead9559d5a470090a5eb51708dfead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:500-515 | tools/ironclaw_stress/src/user_turn.rs:568-583 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c5bd49d4777eaa2d38e0f0f5a0fe37e43abc2875230585a0e1507e5d72d793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services.rs:3803-3818 | crates/product/ironclaw_assistant/src/reborn_services.rs:3843-3858 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":3803}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5681af210f0c4fd808a6fb4e1a1652a6f184c22e1d0e8d46f2c3448affb301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/product/ironclaw_assistant/src/workflow.rs:980-994 | crates/product/ironclaw_assistant/src/workflow.rs:1089-1101 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6e4cc4d4476a07196284442537cca3d4c9509078a2934e405f2911b2d9eaf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/product/ironclaw_webui/src/webui_v2/handlers.rs:454-468 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:515-529 | crates/product/ironclaw_webui/src/webui_v2/handlers.rs:547-561 \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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d91384c395f14bb9b1b1b49823516d9bf09614afb89961aacedff8d184d60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:1060-1074 | crates/domains/ironclaw_triggers/src/libsql.rs:1181-1193 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a1996adc102d48f41c7227fd11028b080f115cbe6c3eb9ae6790fc12b5efdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/extensions/ironclaw_extension_support/src/web_access.rs:674-688 | crates/extensions/ironclaw_extension_support/src/web_access.rs:743-757 | crates/extensions/ironclaw_extension_support/src/web_access.rs:790-804 \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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97a7d7257ffea8b413e285953df2c37ab08a27a6bd7575f247ea05ebd3d7e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/model_result_preview.rs:340-354 | crates/contracts/ironclaw_host_api/src/model_result_preview.rs:382-392 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_host_api/src/model_result_preview.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ce39608f461011eab53475283cdb276f74a995efcf2c19e768c751c940fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:523-533 | crates/kernel/ironclaw_host_runtime/src/production.rs:727-740 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c5f9927dfb02ede783c8116bdf6d720717a18d9e274493deec03a0dd2044fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_llm/src/gemini_oauth.rs:437-450 | crates/domains/ironclaw_llm/src/gemini_oauth.rs:472-485 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebe2821eb23152d2ac4aadff8c3e5808269fc48704d5e775486b7c49e29dd9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:245-258 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:308-321 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:400-413 \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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"897fcfb5e71a27e704f8d082c863db207b46452c95ab8787e29cdb95320beaec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_auth/src/product_auth/api/auth.rs:1698-1711 | crates/domains/ironclaw_auth/src/product_auth/oauth/oauth_gate.rs:296-309 \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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"110e2d26adf84276c64aad30eab07b54545d078600891a2aa152798d65ca591d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/domains/ironclaw_llm/src/lib.rs:683-696 | crates/domains/ironclaw_llm/src/lib.rs:780-793 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8368ad9fbf6c89dfdf409ab2756bb6214fee89d3a13d2050ec0c9dc6fd93f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/domains/ironclaw_threads/src/in_memory.rs:1200-1213 | crates/domains/ironclaw_threads/src/in_memory.rs:1310-1323 | crates/domains/ironclaw_threads/src/in_memory.rs:1383-1396 \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":"crates/domains/ironclaw_threads/src/in_memory.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a9ec7f228008048011ba20d52e0b78c8d3292374171103d31f557498f058a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:2994-3006 | tools/ironclaw_stress/src/api_capacity.rs:3032-3042 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f0170a775ee9ee45198fbc3e843a9ec85147f6ae5bfbcb3c97f1ebeb4ca983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs:187-199 | crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs:233-245 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs\u0060 and \u0060crates/domains/ironclaw_threads/src/filesystem_service/transcript_migration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00e23ad3bcad1d6ff0c71847cf83e18bcf9bb8270b1328a2841d1b38e92fc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/domains/ironclaw_triggers/src/libsql.rs:1143-1155 | crates/domains/ironclaw_triggers/src/libsql.rs:1258-1270 | crates/domains/ironclaw_triggers/src/libsql.rs:1337-1349 \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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9905f06125fb284d91e39b007c116551fbde93a0e7d1118b9f31cbd38846d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/loop/ironclaw_loop_host/src/model_gateway.rs:1729-1741 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:1808-1820 | crates/loop/ironclaw_loop_host/src/model_gateway.rs:1917-1929 \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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77ed080742753f88a15bcd8cae05c1a022e751849ab1a1768ba4894a291313f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:231-243 | crates/domains/ironclaw_triggers/src/postgres.rs:323-334 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1b16128408e90585b782b48a13f0da51d11a7f284622292c9154a9aaa711ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/gates.rs:217-229 | crates/loop/ironclaw_agent_loop/src/executor/gates.rs:237-248 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_agent_loop/src/executor/gates.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9920f37b64f67ee5c9e797d8ff5dfa61028cae4a32aa9d5ec58fc9597317ea30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:2870-2881 | crates/extensions/ironclaw_extension_registry/src/installations.rs:2905-2917 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4088e15a712d7adc681b2ece1a4e36ff1a192de3acb702129acf705bcb32a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:398-410 | crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs:464-476 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/gsuite/handlers.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523ccb5d02b1f2de1d8381117f1f8e80425ac226fa7710c7b67a217edc46f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/issues.rs:410-422 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:187-199 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec401f2373c0e8c0b022ad5993a3732268add4c74402253b05544025966b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_llm/src/openai_codex_session.rs:453-465 | crates/domains/ironclaw_llm/src/openai_codex_session.rs:560-572 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9031aa286139a35257959e33f1fc3fdf440ad013bd5b57c00724755cafccb8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/domains/ironclaw_llm/src/nearai_chat.rs:532-544 | crates/domains/ironclaw_llm/src/nearai_chat.rs:649-661 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db4c9065c37202add7561cdb1fcf52d55974974fe7b145c6cb7eb1c294b0793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/extensions/ironclaw_extension_support/src/web_access.rs:815-827 | crates/extensions/ironclaw_extension_support/src/web_access.rs:831-843 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_support/src/web_access.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7bb3e4701df4f8bbb33e62804f5c8f47735a80a2fe58d8582c39c818f3531f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:970-981 | crates/substrates/ironclaw_filesystem/src/postgres.rs:689-700 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"77090414fc228ec10a0f9eb41feb3ac2c4aed725c28e129b0f4d5c02ac010370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs:120-131 | crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs:230-241 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b8ee8541b5cfccec9dfc7a42bce761e750f3024fc4735f7222226a4a6c41d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/product/ironclaw_assistant/src/auth_continuation.rs:122-133 | crates/product/ironclaw_assistant/src/auth_continuation.rs:154-165 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/auth_continuation.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6836cf8afd2d411153bcb4e0d06665c54022eb55528457e807148721217898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/kernel/ironclaw_resources/src/lib.rs:360-371 | crates/kernel/ironclaw_resources/src/lib.rs:373-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_resources/src/lib.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"72074bd9047887ec0b1344ea925e883c0a72449b85cda5c2630cafe8d305f9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs:231-242 | crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs:258-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_trace_commons/src/contribution/canonical.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6828e559fe55ab6cfb2afda13985639383921218c4dd8d7c9c428caaefea742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/extensions/packages/google-docs/wasm-src/src/api.rs:94-105 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:67-78 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:67-78 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f475f8be11ac48296c186d0af520bfe93256b33bef57d127ffeaa68798294e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:896-907 | tools/ironclaw_stress/src/user_turn.rs:1215-1226 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"942330f52c9d0bf03f76ac049146a3ebaadad33147888bb9bed6f2874d0942cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs:566-577 | crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs:587-598 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/factory/auth_engine_assembly.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8f160dcc62ee1f19dd1203a60118b3679b5d0a5010c01d94293086afee67fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:368-379 | crates/domains/ironclaw_triggers/src/postgres.rs:457-468 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f8b19ccfe6c9e0673f2f56d98350483236ed4a45602888f3a4b5d731eab3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_threads/src/tool_result_reference.rs:583-594 | crates/domains/ironclaw_threads/src/tool_result_reference.rs:842-851 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/tool_result_reference.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee632b7202f2868ef02d0abd3853f4136ca84206ca60697842dd4e957a9169d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs:591-602 | crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs:820-831 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6701a8f6f9c0015a7ee3a7692ddc3d314625f9faf98b856ceb997ed5a34750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/app/ironclaw_composition/src/automation/trigger_poller.rs:197-208 | crates/app/ironclaw_composition/src/automation/trigger_poller.rs:213-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":"crates/app/ironclaw_composition/src/automation/trigger_poller.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6c9420aec6971a90ac6768ff541a6ad7843eda87272bb27e16986447a53700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/extension.rs:96-106 | crates/app/ironclaw_cli/src/commands/ironhub.rs:183-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/extension.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f5b39554f2a3c66ede00d56b1d33fc49c047574f5b5a141a96657daf8b8e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_llm/src/token_refreshing.rs:166-176 | crates/domains/ironclaw_llm/src/token_refreshing.rs:217-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/token_refreshing.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e160ac33ef59790fb0983ca14826cbebfe5606ae9c543d7063837fc1051794b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/extensions/packages/google-docs/wasm-src/src/api.rs:96-106 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:72-82 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:69-79 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:69-79 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22e4b68c337f6efae10cba89025340ea306b920a4b532b99036c642d0ea4bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/outbound.rs:146-156 | crates/domains/ironclaw_threads/src/capability_display_preview.rs:171-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"494d325725d08916167ab8124b75b9badbc023d7c2b7bb1a5fd848d8526de932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/app/ironclaw_composition/src/root/product_live_adapters.rs:118-128 | crates/app/ironclaw_composition/src/root/product_live_adapters.rs:273-283 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ced9faebadfed4bb10a03b35e7efff5375a66f54019f1b51b60e8b52b10c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/result_meta.rs:585-595 | crates/contracts/ironclaw_host_api/src/result_meta.rs:662-672 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_host_api/src/result_meta.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"de452848538e4bc7158d245fb6f071ee40b0141dc6355357566d0fce48eba844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs:509-519 | crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs:553-563 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc2b911658ac33c465ccf497fa67427f5edd6346ddfcb75a9912b18d20f0bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs:1055-1063 | crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs:1155-1165 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_loop_host/src/tool_disclosure_port.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9228a7a3240eecae1a2dc23dfd816f24bad64624e320363c5823e29bdffa61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1835-1845 | crates/domains/ironclaw_trace_commons/src/contribution/notice.rs:397-406 \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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df371e061348a5d4b3d02b2a5aaba8457a3d3e14541386ec9435559e08cdc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:573-583 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1874-1884 \u2014 both copies are in the same file, so extract the block 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a7928afc804133ed8a826a417c05e5fe4c7c2453913d0565739a7426a87acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/kernel/ironclaw_resources/src/filesystem_governor.rs:648-658 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:717-727 | crates/kernel/ironclaw_resources/src/filesystem_governor.rs:801-811 \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":"crates/kernel/ironclaw_resources/src/filesystem_governor.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4c7e780553b8cfa60951d60b060da26c233d855b95c9180aa2b307e494c956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/inbound_batches.rs:320-330 | crates/extensions/ironclaw_extension_host/src/reply_contexts.rs:165-175 \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":"crates/extensions/ironclaw_extension_host/src/inbound_batches.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c9e3f91647b765f34b735332c6a3576ca0564b70971bee311b35b39d8e1c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:713-722 | crates/domains/ironclaw_triggers/src/postgres.rs:767-776 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c860d4bc79a5005754cf46b2c4095eb5deba34079b0b3684d211bbc60d96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1803-1812 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1976-1985 \u2014 both copies are in the same file, so extract the block 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb432f3e7cdab345bd7fc4563d0abfb75e528cd2708979c85d357b7d13e431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:872-881 | crates/domains/ironclaw_triggers/src/libsql.rs:953-962 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88c5284e84615b55939ca350af306022a0fbea8ca3bd21750de030b55f78f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/notice.rs:397-406 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:809-818 \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":"crates/domains/ironclaw_trace_commons/src/contribution/notice.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d06c61f7d2e84207a347bf62c88596f134ab6a1116d827d72a083539e44f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/contracts/ironclaw_extension_contracts/src/channel.rs:59-68 | crates/contracts/ironclaw_extension_contracts/src/extension.rs:70-79 \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":"crates/contracts/ironclaw_extension_contracts/src/channel.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"825b3b41d776ce2606c1d5b2f08002c73e16db4a9ccfed32e05ec3ee0dd7c17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:725-734 | crates/domains/ironclaw_triggers/src/postgres.rs:779-788 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1b0b2f6288d4bb65b411fe2bc417fe92e3a6022cf71589211fbc06918696ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1857-1866 | crates/app/ironclaw_cli/src/commands/traces/mod.rs:1914-1923 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c789557c2a3cfc98397bf24e226e1a628be24960c09a4ba7158ad947c6dd3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/contracts/ironclaw_product_contracts/src/projection.rs:46-55 | crates/contracts/ironclaw_product_contracts/src/projection.rs:85-94 \u2014 both copies are in the same file, so extract the block 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":"crates/contracts/ironclaw_product_contracts/src/projection.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4392770cc2b29c9685bf323804406d10a47894929fdac2840eb70c2290b268a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/product/ironclaw_assistant/src/workflow.rs:449-458 | crates/product/ironclaw_assistant/src/workflow.rs:472-481 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/workflow.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c39327469135b2793a3d6e315ae4d3a62ce7341cb3484183e4bc11fdb5560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs:55-64 | crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs:127-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa6cff9965ce3d6c6c9a96386bfb1e70cb1729a355ac6c9e1edba5ab5d07acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs:56-65 | crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs:88-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/failure_explanation.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa06f991c93a49d68e047ebab53d2e9bb86d6db24ab1b8d197a7ed426002d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/domains/ironclaw_llm/src/retry.rs:216-225 | crates/domains/ironclaw_llm/src/retry.rs:269-277 | crates/domains/ironclaw_llm/src/retry.rs:298-307 \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":"crates/domains/ironclaw_llm/src/retry.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d6325e201f681bc3f0baf01187175a81ef22443ea59498e16e82c6bcea0c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:688-697 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:496-505 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"13882220c9e57e0dfedeaf8a44a92ecec2bb2e3cf81296b7554df6a366f8700a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/domains/ironclaw_llm/src/session.rs:405-414 | crates/domains/ironclaw_llm/src/session.rs:423-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":"crates/domains/ironclaw_llm/src/session.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38a67455b756396e58e52113195d636dc48a573fee50c586548ac3a05523a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:214-223 | crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:276-285 | crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs:397-406 \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":"crates/extensions/ironclaw_extension_support/src/skills/url_install/github.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf441ed4d7236ccf9ee3d4a7e896c7b19f66bff4fa967cb74a291a9d550e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:482-491 | crates/kernel/ironclaw_host_runtime/src/production.rs:701-710 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1884c9ed9f6af2976298ebfa8f48906e5c667743dc7d0ec891ac64cf0cb17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/extensions/packages/slack/wasm-src/src/api.rs:863-872 | crates/extensions/packages/slack/wasm-src/src/api.rs:1649-1658 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/wasm-src/src/api.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4abde1967cf96e428e69bdbd9b8f05c213e718e9277062fee405528395ee19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/loop_exit_applier.rs:601-610 | crates/loop/ironclaw_turn_runner/src/subagent/await_edge/resolver.rs:1209-1217 \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":"crates/loop/ironclaw_turn_runner/src/loop_exit_applier.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1183c20e2444f2cf12119c8bbb5173a2a390c5db759900c16f1b76014d7adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/host_port.rs:145-154 | crates/contracts/ironclaw_host_api/src/host_port.rs:278-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/host_port.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b5b7ba16372d770c2ade4b47691185b2403d6b2d34536bf3723099992eec12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_loop_host/src/result_read.rs:235-243 | crates/loop/ironclaw_loop_host/src/result_read.rs:299-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff1842525a86e60332f885593adbf88e73de492c8657c53887e00346df3c6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/packages/google-slides/wasm-src/src/api.rs:380-388 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:644-652 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-slides/wasm-src/src/api.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a681fd2996509230e0a4d03cabee6094097b08e7a5fff9544fd9de7350668c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:698-706 | crates/domains/ironclaw_triggers/src/postgres.rs:752-760 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5a531d67340c774dccbc20e50e0d4f75c5f52c0b3fc1e2fa53c5722938b5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_extractors/src/lib.rs:354-362 | crates/domains/ironclaw_extractors/src/lib.rs:422-430 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e76613d0d414923505fa17f06836a58aefb6cbf5458d3a4eff0f759de6b8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/domains/ironclaw_llm/src/lib.rs:595-603 | crates/domains/ironclaw_llm/src/lib.rs:673-680 | crates/domains/ironclaw_llm/src/lib.rs:770-777 | crates/domains/ironclaw_llm/src/lib.rs:840-847 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/lib.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc55b3c433ffa516e9cc11676f3735191b1fda005ec2eff3c83489e155f39ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:604-612 | crates/domains/ironclaw_triggers/src/postgres.rs:667-675 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0d3d7f9cafb937a4c118ca08ec3fffded9338066dddf0970dc3f394ad19a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/packages/memory-native/src/repo/in_memory.rs:38-46 | crates/extensions/packages/memory-native/src/repo/in_memory.rs:135-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/packages/memory-native/src/repo/in_memory.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9519ce13e7c9be0de8d0422b189bfa96d7ec5bfcc471e5eebaed2bf08baf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/search.rs:13-21 | crates/extensions/packages/github/wasm-src/src/api/search.rs:33-41 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/api/search.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb4faf9473e0a87cbebd6b1880da5a2294e3fbe0f2b2da9a494155cc953cbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/package.rs:77-85 | crates/extensions/ironclaw_extension_registry/src/package.rs:125-133 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/package.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c840e76788732d4ac69cc6a5f709c39c8d9b86432d8e3a0b462a66d2978e19ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs:68-76 | crates/extensions/ironclaw_extension_manager/src/ironhub/capabilities.rs:42-50 \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":"crates/extensions/ironclaw_extension_manager/src/extension_lifecycle_capabilities.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b2cf5d56f4418339d49d0aeef8c253eaa18e53cb7d32ac224d5fc2ab6587fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_triggers/src/postgres.rs:616-624 | crates/domains/ironclaw_triggers/src/postgres.rs:679-687 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"4821be23433170def1128bb67a950fa7333d7786b0f76e5efd7a5d09626c29d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:839-847 | tools/ironclaw_stress/src/user_turn.rs:1116-1124 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4627c0ba3d952720df1b1f363b5d7d4a20bf5b0b9c7582c67ce3a05a24edcf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:2032-2039 | tools/ironclaw_stress/src/api_capacity.rs:2115-2123 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ecebf405a61f07c736c398a343e627e13dde5836066977cfeb16775017961e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_llm/src/image_models.rs:32-40 | crates/domains/ironclaw_llm/src/vision_models.rs:54-61 \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":"crates/domains/ironclaw_llm/src/image_models.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577f18ddacdad59d85eb5485d827bc3444e15c0e6fe0cf0cce64bf9a440e5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_auth/src/engine/mod.rs:219-227 | crates/domains/ironclaw_auth/src/oauth.rs:198-206 \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":"crates/domains/ironclaw_auth/src/engine/mod.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f92b3e192d402cd859a14f58354765308c5ae6cd52759051d221f319aabffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection/display_preview.rs:638-646 | crates/product/ironclaw_assistant/src/projection/display_preview.rs:696-704 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d835fbb53807339d2551826ee372af304ebe85f7cdd5e3372b8b509c5930caa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1835-1843 | crates/loop/ironclaw_hooks/src/dispatch/mod.rs:1916-1924 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d13f81ac7f381b5e176bc7bc9851832b3a788642593267b38a18bb473215d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs:1179-1187 | crates/domains/ironclaw_trace_commons/src/contribution/remote/profile.rs:359-366 \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":"crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79af6466e67f5a68479bad5e37456c5a984a2680c6e7c5a064993980d60ae28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_llm/src/codex_chatgpt.rs:899-907 | crates/domains/ironclaw_llm/src/openai_codex_provider.rs:791-799 \u2014 before extracting anything, compare \u0060crates/domains/ironclaw_llm/src/codex_chatgpt.rs\u0060 and \u0060crates/domains/ironclaw_llm/src/openai_codex_provider.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"774461b0c2ef2771261fccce74f71e14e379825bf33b51f3f6e9b25ddeab701b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:2906-2914 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2485-2491 \u2014 before extracting anything, compare \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 318 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"1978cf79da4a99dd46623b13ea17b3c15420e4a229228dd9cc42d85bb2e65393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/domains/ironclaw_extractors/src/lib.rs:368-376 | crates/domains/ironclaw_extractors/src/lib.rs:435-443 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_extractors/src/lib.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f2fec6c9145055084d427082e5b3ea3989a1729a1a424e6d79218d5a713bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1839-1847 | crates/domains/ironclaw_trace_commons/src/contribution/maintenance.rs:326-334 | crates/domains/ironclaw_trace_commons/src/contribution/notice.rs:400-408 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fbb3a5f9bb5994c447cf39752d69f7572bad019b6998d92e7d56081e663236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:1700-1708 | crates/extensions/ironclaw_extension_registry/src/installations.rs:1719-1727 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4324cf0f914fa71c5d2f2853b9ea585c94698aea02cbf94411abe910f9f29138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/substrates/ironclaw_documents/src/pptx.rs:464-472 | crates/substrates/ironclaw_documents/src/pptx.rs:536-544 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_documents/src/pptx.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9502ab5d69f2fd956f72d6e64a4e2f5e071ef03b7158fe5c832c232aa12d470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1281-1288 | crates/kernel/ironclaw_processes/src/journal_store/rows.rs:1395-1402 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_processes/src/journal_store/rows.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b489477a712504c94efb57cecf2c0cce0e6f427779ccf328d0f5c7b7ba615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:1042-1049 | crates/domains/ironclaw_triggers/src/libsql.rs:1163-1170 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad1810931843e2a70e7dc24726b04dfec47870bd5c7d8d0a8e53e084e243b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection.rs:1190-1197 | crates/product/ironclaw_assistant/src/projection.rs:1198-1205 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdac529fd920f527ed9e4872e90c5e8c5d96762d055b6ff73cb08bdc91d9c522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/packages/google-sheets/wasm-src/src/api.rs:229-236 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:247-254 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 120 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":"crates/extensions/packages/google-sheets/wasm-src/src/api.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6090b8fd14877c68c5b3275eb266247551d5070418530b68b4ad903b720ece9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/issues.rs:457-464 | crates/extensions/packages/github/wasm-src/src/api/pulls.rs:350-356 \u2014 before extracting anything, compare \u0060crates/extensions/packages/github/wasm-src/src/api/issues.rs\u0060 and \u0060crates/extensions/packages/github/wasm-src/src/api/pulls.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"crates/extensions/packages/github/wasm-src/src/api/issues.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7d4452c4b4b7642951ee9ba6cbb255db62f6a61d9598702840fc964f83dd26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_llm/src/session.rs:477-484 | crates/domains/ironclaw_llm/src/session.rs:540-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/session.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ede544fa43e63700326b17f01514ddd57e37de8f9a9252c7f1f3d6cb993ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/extensions/packages/google-drive/wasm-src/src/api.rs:205-210 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:579-586 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:622-627 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:265-272 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-drive/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 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":"crates/extensions/packages/google-drive/wasm-src/src/api.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fe84ff016c4121049f888137408c472201f82af68f2e4d5196779e3d035c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/contracts/ironclaw_extension_contracts/src/device_link.rs:430-437 | crates/contracts/ironclaw_extension_contracts/src/linked_session.rs:176-183 | crates/domains/ironclaw_auth/src/provider.rs:202-209 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/device_link.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cf0bd30cee15393408f4a06ab93d6ba77251d127f41e1daa6e2a7960b9373d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/contracts/ironclaw_extension_contracts/src/device_link.rs:193-200 | crates/contracts/ironclaw_extension_contracts/src/device_link.rs:439-446 | crates/contracts/ironclaw_extension_contracts/src/linked_session.rs:185-192 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_extension_contracts/src/device_link.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02c926ae90bdc5753af87d3e18fb0342de17c369dba971949d11627ba3c1032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs:59-66 | crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs:97-104 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_manager/src/ironhub/package.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"78885c9fef9fb913eea1bfc701376d6da6aed62a6d75900a68134d0eb6a7ef33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:2071-2078 | tools/ironclaw_stress/src/api_capacity.rs:2146-2153 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd590866b94d429dec5d45d68ef0190e3dce4cbe83f49c358f776d25de7671f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:1389-1396 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:663-670 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9221e9ad26ebe90628319dcabeecf34a2286f8647dac1951428f351134eecec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:389-396 | tools/ironclaw_stress/src/user_turn.rs:474-481 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37ca9c40217b7cc39681df9c146e8dacef018be85eb912d41d245291979306e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/packages/github/wasm-src/src/api/contents.rs:107-114 | crates/extensions/packages/github/wasm-src/src/api/contents.rs:167-174 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/github/wasm-src/src/api/contents.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ca18ca6343cebf6d2b1bcd03fd8e05620475c12626879f65b591938050ce60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection/display_preview.rs:666-673 | crates/product/ironclaw_assistant/src/projection/display_preview.rs:680-687 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f6727e2200fca13ddc10ec24fb836caae1a2d6c453153f8a5decea2bce1faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/product/ironclaw_assistant/src/suggestions_store.rs:792-796 | crates/product/ironclaw_assistant/src/suggestions_store.rs:936-943 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/suggestions_store.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"db22f7e83cd0e96cebc5fedc63f481c77d8b08673c8aa52bda85e9722978f4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/domains/ironclaw_llm/src/bedrock.rs:586-593 | crates/domains/ironclaw_llm/src/bedrock.rs:598-605 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa714e14235e5d9e17106cae60e22c39559c73aff4cc77a9a5206f9a5ef8c6fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/extensions/packages/google-slides/wasm-src/src/api.rs:284-291 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:434-441 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:478-485 \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":"crates/extensions/packages/google-slides/wasm-src/src/api.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3c73f773c0513e810d61b1b19c847c4b80e20d032c079619fccd208a13ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/events/ironclaw_event_log/src/in_memory.rs:244-251 | crates/events/ironclaw_event_log/src/in_memory.rs:353-360 \u2014 both copies are in the same file, so extract the block 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":"crates/events/ironclaw_event_log/src/in_memory.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c424e8920ea98e03ab240420f97e84fd276108f8501ccfc11b54393166b54e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:242-249 | crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:324-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085ff7b110940e10a22e8ee1f8676e56327661dd86147a630d293ac658d2db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/extensions/ironclaw_extension_host/src/available_extensions.rs:433-440 | crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:243-250 | crates/extensions/ironclaw_extension_host/src/lifecycle_restore.rs:325-332 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/extensions/ironclaw_extension_host/src/available_extensions.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac9efb484b385ffa56c9b82688e0c31128504d368c089496b7868e071f3f46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_triggers/src/libsql.rs:888-894 | crates/domains/ironclaw_triggers/src/libsql.rs:969-974 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f2ec54b4ac0e6750da59750db8e7bd53397a512400a544ee6cb7310f35b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_documents/src/pptx.rs:94-100 | crates/substrates/ironclaw_documents/src/pptx.rs:124-130 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_documents/src/pptx.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad6907ca1db4ef0dff9987daf4679017515745fa56c49f0e181fca9a7c19e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:90-96 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:114-120 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2763c7994d4ed0e89d97ddcd8d9e1e80ee8aa4ea65beaf733f89b54a79ec0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/domains/ironclaw_triggers/src/libsql.rs:469-474 | crates/domains/ironclaw_triggers/src/libsql.rs:582-587 | crates/domains/ironclaw_triggers/src/libsql.rs:620-626 | crates/domains/ironclaw_triggers/src/libsql.rs:709-715 | crates/domains/ironclaw_triggers/src/libsql.rs:1668-1673 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d22f4606bb22e64e0624c48bc04d0e515e1d6834a8b4ca7c1f5f1529266e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/events/ironclaw_event_log/src/in_memory.rs:216-222 | crates/events/ironclaw_event_log/src/in_memory.rs:318-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/ironclaw_event_log/src/in_memory.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce3b684a00c5f23e44cbdc11511e55d76babd3c2197cd1eb5b69479896210a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/domains/ironclaw_threads/src/filesystem_service.rs:4260-4266 | crates/kernel/ironclaw_approvals/src/approval_store.rs:569-575 | crates/kernel/ironclaw_capabilities/src/replay_payload.rs:288-294 | crates/kernel/ironclaw_processes/src/result_store.rs:213-219 \u2014 before extracting anything, compare \u0060crates/kernel/ironclaw_approvals/src/approval_store.rs\u0060 and \u0060crates/kernel/ironclaw_capabilities/src/replay_payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":4260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162d8e5c8dd962abab4f0a47425dd16358455ea0dd2f6028138765636a73983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:733-739 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:536-542 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd280595e60023cfc6fadb446bee76f9c0566971aba678eb64ef4fb97463b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/libsql.rs:1883-1889 | crates/substrates/ironclaw_filesystem/src/libsql.rs:1925-1931 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c74debff6247b344b32fa66503c84d25e159f9eab8350e726f8f2ef720087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:857-863 | tools/ironclaw_stress/src/user_turn.rs:1157-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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c60c34fce1e22112da8f30311186b3bb91931e986b9ae57291f040817bb48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/app/ironclaw_config/src/config_file.rs:330-336 | crates/contracts/ironclaw_product_contracts/src/product_wire.rs:1129-1135 \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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1fa9fc38c2dd9fb447c612aee992611e9dba59b4f9096ba01d481b80fdffbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_threads/src/filesystem_service.rs:2795-2801 | crates/domains/ironclaw_threads/src/filesystem_service.rs:2817-2823 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f8194df6d5c25e924847d9bbd6d7677205e241aa819c70c362fdc3148b3d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/domains/ironclaw_skills/src/gating.rs:92-98 | crates/domains/ironclaw_skills/src/gating.rs:101-107 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_skills/src/gating.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee11f54cf1fba4e1e0a039fe665bd2dfda2e8c6e4f7d6a4fe7a4c201687d7969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/packages/google-drive/wasm-src/src/api.rs:475-481 | crates/extensions/packages/google-drive/wasm-src/src/api.rs:504-510 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/google-drive/wasm-src/src/api.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6028588c72627ea600402160f447953627fb869e9517423bad94a39d5a8bde7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/domains/ironclaw_llm/src/anthropic_oauth.rs:991-997 | crates/domains/ironclaw_llm/src/anthropic_oauth.rs:1029-1033 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc88ac9d65485c6c6efdc14db4080a876193249502ccb2ee6d7e9dec082533cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:639-645 | crates/domains/ironclaw_trace_commons/src/contribution/submission.rs:1228-1233 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_trace_commons/src/contribution/submission.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f87a4392a061f4c0926b9e51d27ade3c42ffb98f341d27d1ce958e82b31d5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:2040-2046 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:2049-2055 \u2014 both copies are in the same file, so extract the block 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b42455af2ea6da9b568ca89a0db00ed7fb0e76ea2ab9ab789925f35ff47a933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/product/ironclaw_assistant/src/projection/display_preview.rs:637-643 | crates/product/ironclaw_assistant/src/projection/display_preview.rs:650-656 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/projection/display_preview.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b27eca3be5e43afe9141417662f2e9a592cbf87ec0c6d724645177c6dc5add4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/extensions/ironclaw_extension_registry/src/installations.rs:1737-1743 | crates/extensions/ironclaw_extension_registry/src/installations.rs:1753-1759 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_registry/src/installations.rs"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed76fd722d7d38a77c1b3f8d314b0f55f2eb30e31ac07b4a53d53f7ec0be0373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/domains/ironclaw_triggers/src/postgres.rs:570-575 | crates/domains/ironclaw_triggers/src/postgres.rs:636-641 | crates/domains/ironclaw_triggers/src/postgres.rs:807-812 | crates/domains/ironclaw_triggers/src/postgres.rs:889-894 | crates/domains/ironclaw_triggers/src/postgres.rs:965-970 | crates/domains/ironclaw_triggers/src/postgres.rs:1044-1050 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7df0dd74b63b2dc548dd74afbe9d405b6b943554e065ccc25a45333eb33a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): harness/latency/runner/src/main.rs:207-212 | harness/latency/runner/src/main.rs:235-240 \u2014 both copies are in the same file, so extract the block 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":"harness/latency/runner/src/main.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"461f8bd9dd182a9fabcbd5a7b3649bcbfd89957c731b77e9dc2ede1149b32613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:807-811 | tools/ironclaw_stress/src/api_capacity.rs:827-832 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c61dcedc6809ddb31607c61b589f7771fa83ef414b41e5d4594dc03d7bd3f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/rig_adapter.rs:1136-1141 | crates/domains/ironclaw_llm/src/rig_adapter.rs:1151-1156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"014112ce994e5067093d7ab0fde6bd252c753e31f7f081c6f7485030981f0ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/packages/mem0/src/service.rs:306-311 | crates/extensions/packages/mem0/src/service.rs:347-352 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/mem0/src/service.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b036d307ca0cf7ea76c73a5629213a68b7132c4482a90a4a297640032394ce64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/packages/slack/src/preference_targets.rs:95-100 | crates/extensions/packages/slack/src/preference_targets.rs:120-125 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/packages/slack/src/preference_targets.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1e6db4f17883bc20ae77aaa01594b79713dcc25a65ccdb07c4ed9eacc1410b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_llm/src/gemini_oauth.rs:1797-1802 | crates/domains/ironclaw_llm/src/gemini_oauth.rs:1804-1809 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"f112ccccf44aae04714f57ee64c9272fac923cfe3408bae76cc553cfc7c8907b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/ironclaw_stress/src/user_turn.rs:1889-1894 | tools/ironclaw_stress/src/user_turn.rs:1903-1908 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/user_turn.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc9e9a5c046b4faa213525437544ead116b7aaeb9c6bf942854a60f313b6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs:539-544 | crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs:566-571 \u2014 both copies are in the same file, so extract the block 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":"crates/extensions/ironclaw_extension_manager/src/ironhub/service.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b66b163bd74c91827fac732480c87c4f301204a44817f4b0ef7b8e249e754a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs:76-81 | crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs:97-102 \u2014 both copies are in the same file, so extract the block 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":"crates/loop/ironclaw_turn_runner/src/turn_run_executor.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0456a361f9b76f539c27669bfd2bc960b5ba7833e67160be57c46d7ca2574a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/domains/ironclaw_threads/src/prepared_context.rs:156-161 | crates/domains/ironclaw_threads/src/prepared_context.rs:399-404 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_threads/src/prepared_context.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cdcfc3a84e710521ad12a93bd93775d5a83b4374df00e63889a5a1cb830206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/kernel/ironclaw_turns/src/coordinator.rs:28-33 | crates/kernel/ironclaw_turns/src/coordinator.rs:51-56 \u2014 both copies are in the same file, so extract the block 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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fbcc71cf410ae0f8408426560892a68d0af5ad5baec0bc786f280aa5adc69e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 6): crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs:34-39 | crates/loop/ironclaw_agent_loop/src/executor/latency.rs:34-35 | crates/loop/ironclaw_agent_loop/src/executor/latency.rs:65-66 | crates/loop/ironclaw_loop_host/src/lib.rs:255-260 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:83-88 | crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs:111-112 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d4620ade35f2a71694658b12034ea2b40d60a25be35f951dfdbe20c27bc1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1251-1256 | crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs:1995-2000 \u2014 both copies are in the same file, so extract the block 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":"crates/lanes/ironclaw_sandbox/src/sandbox_process/managed_egress.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae9a954f9d751ab1fbef42ef976040ccbd4a84841f1ba8133e4494a0632890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/ironclaw_stress/src/main.rs:2254-2258 | tools/ironclaw_stress/src/process_pressure.rs:37-41 \u2014 before extracting anything, compare \u0060tools/ironclaw_stress/src/main.rs\u0060 and \u0060tools/ironclaw_stress/src/process_pressure.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9e8ba64e384a581bc904d8d248da922eaaf7788f287529d6ac372c5815428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/app/ironclaw_config/src/config_file.rs:1002-1006 | crates/app/ironclaw_config/src/config_file.rs:1133-1137 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb924bb997e2c44bf0106b6b034176416a365e6a31f0091a1b833dd5bf7b48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/ironclaw_stress/src/api_capacity.rs:826-830 | tools/ironclaw_stress/src/api_capacity.rs:843-847 \u2014 both copies are in the same file, so extract the block 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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e38725099966262563e959dfb65398b439f2d682036d0a54c772165e44f8471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/kernel/ironclaw_host_runtime/src/production.rs:75-79 | crates/kernel/ironclaw_host_runtime/src/production.rs:99-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":"crates/kernel/ironclaw_host_runtime/src/production.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"95521514a357ea29aa569e9d327c1ea90853275ed987c8b285ae467fb3b81a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/service/systemd.rs:224-228 | crates/app/ironclaw_cli/src/commands/service/systemd.rs:556-560 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_cli/src/commands/service/systemd.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f37f66a0431070847148f2484d14f88e43addec08fa9221104f654e7ccd4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/app/ironclaw_cli/src/commands/traces/mod.rs:1738-1742 | crates/domains/ironclaw_trace_commons/src/contribution/queue.rs:1185-1189 \u2014 before extracting anything, compare \u0060crates/app/ironclaw_cli/src/commands/traces/mod.rs\u0060 and \u0060crates/domains/ironclaw_trace_commons/src/contribution/queue.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c66d16eb00ec57890c33afa9c33beecd6c4cb0d280357342bc47a418f23cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/app/ironclaw_composition/src/root/product_live_adapters.rs:622-629 | crates/app/ironclaw_composition/src/runtime/capability_host.rs:1170-1177 \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":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"149bfd40e6dcb36f44888db74993e21c4bbde8db7e720bbce2d755c578726ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/extensions/packages/google-docs/wasm-src/src/api.rs:161-165 | crates/extensions/packages/google-sheets/wasm-src/src/api.rs:387-391 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:130-134 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-sheets/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf095d86c58e497c088a05625ba790a008eb665fef187f1e2683065e266674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/extensions/packages/google-docs/wasm-src/src/api.rs:234-238 | crates/extensions/packages/google-slides/wasm-src/src/api.rs:186-190 \u2014 before extracting anything, compare \u0060crates/extensions/packages/google-docs/wasm-src/src/api.rs\u0060 and \u0060crates/extensions/packages/google-slides/wasm-src/src/api.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 148 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":"crates/extensions/packages/google-docs/wasm-src/src/api.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb86bc33dbcefc353b4165ac78815571c57e2f7be041ea5f497ba4560db5da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/kernel/ironclaw_authorization/src/lib.rs:1164-1170 | crates/loop/ironclaw_loop_host/src/capability_port.rs:3461-3467 \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":"crates/kernel/ironclaw_authorization/src/lib.rs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a6e3e079ec6a93ed73508dbaf9d9e4f96f62626d98628d978bc27b2dd3a7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): crates/kernel/ironclaw_host_runtime/src/memory_context.rs:239-243 | crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:445-449 | crates/kernel/ironclaw_host_runtime/src/obligations/process_store.rs:471-475 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:293-297 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:332-336 | crates/kernel/ironclaw_host_runtime/src/obligations/staged_handoffs.rs:430-434 | crates/kernel/ironclaw_host_runtime/src/post_edit_check.rs:196-200 | crates/lanes/ironclaw_mcp/src/client.rs:123-127 \u2014 there are 8 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/memory_context.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97bb24e606e88a4621da49b77c55507f57fe5517a54e433f0dc474be49347f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/product/ironclaw_assistant/src/reborn_services/notification_setup.rs:282-286 | crates/product/ironclaw_assistant/src/reborn_services/notification_setup.rs:317-321 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_assistant/src/reborn_services/notification_setup.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed05b9e2c5127cea14fc7e0a84bc2e157bb3d2e85cce4d902935b2947fe948d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:545-549 | crates/substrates/ironclaw_filesystem/src/postgres.rs:666-670 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"70315fae5cd63c37d42c47da43434049e999e9744a5f7db4afc9a27ad86f7189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/substrates/ironclaw_filesystem/src/postgres.rs:1979-1983 | crates/substrates/ironclaw_filesystem/src/postgres.rs:2593-2597 \u2014 both copies are in the same file, so extract the block 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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b353b8074047e6affb4ac4ad176ceafd1daddedc945e6e525eb19671f909efea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201375 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/external_auth_helpers.py:209-283 | scripts/reborn_webui_v2_live_qa/slack_helpers.py:1131-1187 \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 \u0060scripts/reborn_webui_v2_live_qa/external_auth_helpers.py:209\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":"scripts/reborn_webui_v2_live_qa/external_auth_helpers.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec9c7d04f94db2a23a268059ae7654dfb6ce3be3207acd55dc47a0d2e3bcf1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201357 lines \u00D7 2): scripts/workflow_canary/scenarios/routine_visibility_from_telegram.py:123-179 | scripts/workflow_canary/scenarios/telegram_round_trip.py:95-147 \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 \u0060scripts/workflow_canary/scenarios/routine_visibility_from_telegram.py:123\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":"scripts/workflow_canary/scenarios/routine_visibility_from_telegram.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cb865bef7586f31875b5beb1ceb6d45e71b9809c163976799890e4a379c51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:3708-3755 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:3812-3859 \u2014 both copies are in the same file, so extract the block 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e765ccb86f747ca1184526dbb48bbc8e00668c2e4b84e1e9a2707eb86d3d2e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:5073-5118 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:6063-6109 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:5073\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5073}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb479841837dcc64ccf075198c9aebc765a28a150437ff495acfa532a70798c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): scripts/workflow_canary/scenarios/calendar_prep.py:172-213 | scripts/workflow_canary/scenarios/crm_tracker.py:214-254 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 and \u0060scripts/workflow_canary/scenarios/crm_tracker.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 124 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 \u0060scripts/workflow_canary/scenarios/calendar_prep.py:172\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":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e9b00da93abc5a5b54f8a77cc4c4a26a9f6f23d22296dd4b92cab312e08024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201340 lines \u00D7 5): scripts/workflow_canary/scenarios/bug_logger.py:153-188 | scripts/workflow_canary/scenarios/calendar_prep.py:175-214 | scripts/workflow_canary/scenarios/crm_tracker.py:217-255 | scripts/workflow_canary/scenarios/first_immediate_run.py:70-108 | scripts/workflow_canary/scenarios/hn_monitor.py:151-188 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/bug_logger.py\u0060 and \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/workflow_canary/scenarios/bug_logger.py:189\u0060 calls \u0060perf_counter\u0060 and \u0060scripts/workflow_canary/scenarios/first_immediate_run.py:109\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":"scripts/workflow_canary/scenarios/bug_logger.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"831dee355fdbc5d648748e108e80e00ef19756f96e7cf72df779b93a17f8ed0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/slack_helpers.py:827-860 | scripts/reborn_webui_v2_live_qa/slack_helpers.py:868-902 \u2014 both copies are in the same file, so extract the block 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":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa50771ed42262717cbe8ccaa897fcb1c77a2b02389d8dca6b094f1275090ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 3): scripts/reborn_webui_v2_live_qa/external_auth_helpers.py:193-222 | scripts/reborn_webui_v2_live_qa/google_auth_helpers.py:694-724 | scripts/reborn_webui_v2_live_qa/slack_helpers.py:1115-1144 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"scripts/reborn_webui_v2_live_qa/external_auth_helpers.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4253e63919c13624fcef651ae124fa01e4f966f116e4dd046d7f5624557a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 4): scripts/reborn_webui_v2_live_qa/run_live_qa.py:9375-9404 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9407-9433 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9547-9575 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9578-9605 \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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:9375\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":9375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6784dd41e70537b78ca78e297aca9954b32cc523332dd9e5433a3f43681c33d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201327 lines \u00D7 3): scripts/reborn_webui_v2_live_qa/run_live_qa.py:2844-2870 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:3693-3714 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:3798-3818 \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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:2844\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2844}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81e17a2fce78f0b96b47491c254b6e16a60d72e37b57242dbecaf8ebd645ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): scripts/reborn_webui_v2_live_qa/run_live_qa.py:9378-9405 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9410-9434 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9519-9545 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:9550-9576 \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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:9378\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":9378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8e277e90eb844abb19ef2799782e49846b78f7a2aee508634ce742f5805fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): scripts/workflow_canary/scenarios/manual_trigger_from_telegram.py:52-76 | scripts/workflow_canary/scenarios/routine_visibility_from_telegram.py:49-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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":"scripts/workflow_canary/scenarios/manual_trigger_from_telegram.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d75745d78946f214e1a4d446cb299a4571f050c38f9ec481ea151d7012957f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201324 lines \u00D7 2): scripts/live-canary/notify_slack.py:224-247 | scripts/live-canary/notify_slack.py:419-427 \u2014 both copies are in the same file, so extract the block 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0a8c86bddf9ea0328af5bcd92e0f839f71329d441289a3db19d6c13f46607a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:4991-5011 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:5997-6017 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:5996\u0060 calls \u0060_live_github_latest_release\u0060 and \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:4990\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"9100c9bba6e2d4efc7b91b64a89a0e269d074627cc1eae4fa1c865238f40bad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:7181-7201 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:7217-7237 \u2014 both copies are in the same file, so extract the block 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f2e64f42967a4f189bd691cec547a8a0ac7a7b56e97975979e6919fc40a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): scripts/workflow_canary/scenarios/calendar_prep.py:112-132 | scripts/workflow_canary/scenarios/hn_monitor.py:105-124 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 and \u0060scripts/workflow_canary/scenarios/hn_monitor.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060scripts/workflow_canary/scenarios/calendar_prep.py:112\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":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"77911e963b357fbacdceb7a5bcc2944b952c93afac377befda52ed54970a67ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): scripts/auth_canary/run_canary.py:46-65 | scripts/workflow_canary/run_workflow_canary.py:180-199 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/auth_canary/run_canary.py:46\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":"scripts/auth_canary/run_canary.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"62805d12d23e2bacd6bde83d46f6993f1c93a4bd6c3456f7f41d897c081016e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:2794-2809 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:2971-2990 \u2014 both copies are in the same file, so extract the block 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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a259f673da23f7f2395150b9103b33cd35060c1f800b1c2efec46ade6d7fe7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): scripts/workflow_canary/telegram_setup.py:142-161 | scripts/workflow_canary/telegram_setup.py:171-189 \u2014 both copies are in the same file, so extract the block 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/workflow_canary/telegram_setup.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad433092a47d82942676392c60eddd19b1ae35f65045a6e88bfce6337e0c0d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): scripts/workflow_canary/scenarios/bug_logger.py:121-139 | scripts/workflow_canary/scenarios/calendar_prep.py:110-127 | scripts/workflow_canary/scenarios/hn_monitor.py:103-120 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/bug_logger.py\u0060 and \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 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":"scripts/workflow_canary/scenarios/bug_logger.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a6eaea4039c03cf05382cf3d96a2e67e1689bf75e4cd9f5245a99a346ec19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): scripts/slack_smoke/run_smoke.py:293-310 | scripts/telegram_smoke/run_smoke.py:256-273 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \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":"scripts/slack_smoke/run_smoke.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d9afaa9a6410729fa9f47ee5c2f7ed8746b59ad3c701edf54e38949e2fd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 3): scripts/reborn_webui_v2_live_qa/run_live_qa.py:8491-8503 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:8546-8559 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:8743-8759 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":8491}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0b9c357a6b79963fda179bf589faf5dc09dcd26e4a3f48fc8a1cd4da991960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:8524-8540 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:8641-8657 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:8524\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":8524}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe61c128cc950e63f577bccf85f088cf0ddf95760df1958e600c9f5e4ec4833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/google_api_helpers.py:133-147 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:165-180 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_webui_v2_live_qa/google_api_helpers.py:133\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":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79b3505d74f1500024f27a6fdeced0e660b894c8abf4fefe177e603c8cd46d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:4191-4204 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:4402-4417 \u2014 both copies are in the same file, so extract the block 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"612a5014b38a64a20f1826cd644803bc920b42386a2bbfeb4f1de414ac72257f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): scripts/workflow_canary/scenarios/_common.py:129-144 | scripts/workflow_canary/scenarios/manual_trigger.py:96-111 \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":"scripts/workflow_canary/scenarios/_common.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ec7cf0524e48368d8c231cfe1e320cbd5e7196123794e8e634fe0d3200dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): scripts/live_canary/common.py:476-490 | scripts/live_canary/common.py:590-599 \u2014 both copies are in the same file, so extract the block 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/live_canary/common.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8f916980327911fa510b2cd92538d2ad933ec621648db89a0aea717e132cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): scripts/slack_smoke/run_smoke.py:149-162 | scripts/slack_smoke/run_smoke.py:241-255 \u2014 both copies are in the same file, so extract the block 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/slack_smoke/run_smoke.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5f34fb813fbfbb9a810677e292a9232a5429bd8f64dcbcc9100c5958ba34e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scripts/reborn_qa_matrix/report_coverage.py:366-379 | scripts/reborn_qa_matrix/report_coverage.py:403-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/reborn_qa_matrix/report_coverage.py:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_qa_matrix/report_coverage.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0343751ba36ef99998f0cf9cba3721e267737846c0300816cb44769ca11aba77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): scripts/ci/check-guidance.py:1152-1164 | scripts/ci/check-target-tree.py:387-398 \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 \u0060scripts/ci/check-guidance.py:1152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/ci/check-target-tree.py:399\u0060 calls \u0060Path\u0060 and \u0060scripts/ci/check-guidance.py:1165\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":"scripts/ci/check-guidance.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"98629c18e618dc2aa1aad3c8fb0bf6a5307b80c2c74f89c1f39316b1dc16a76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/live_canary/common.py:452-473 | scripts/live_canary/common.py:574-586 \u2014 both copies are in the same file, so extract the block 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, \u0060scripts/live_canary/common.py:451\u0060 calls \u0060generate_secrets_master_key\u0060 and \u0060scripts/live_canary/common.py:572\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":"scripts/live_canary/common.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d67786a9b3f2fec102cd2f752ea8198908a9b70a9a8481e2e1fb0436f698498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:7971-7983 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:8062-8074 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:7971\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7971}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ded91658db6591be12360523d0626800046f993a530c6ce9ff8b930f9535746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): scripts/reborn_webui_v2_live_qa/google_api_helpers.py:91-102 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:210-220 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:314-324 | scripts/reborn_webui_v2_live_qa/google_api_helpers.py:344-354 \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 \u0060scripts/reborn_webui_v2_live_qa/google_api_helpers.py:91\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":"scripts/reborn_webui_v2_live_qa/google_api_helpers.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d19b5e990081690245f26b1be398cff9c6bb055e711e4b690a16cd70f4a1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): scripts/live-canary/notify_slack.py:640-651 | scripts/live-canary/notify_slack.py:657-666 \u2014 both copies are in the same file, so extract the block 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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc33182e462301e264cf7bab58ca7869003db54f0de0fa6b84753e822e0168a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): scripts/live-canary/notify_slack.py:697-708 | scripts/live-canary/notify_slack.py:1418-1424 \u2014 both copies are in the same file, so extract the block 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/live-canary/notify_slack.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88354c6d7ead7ec21d7f89dab0235a5ff36c0be763f81e7999fc8c457540e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:2562-2573 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:5317-5328 \u2014 both copies are in the same file, so extract the block 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/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cb6f797ee15f695580a4a15fbceb0bc7461ecb39d6b496027b78c77edb906d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:7130-7141 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:7146-7157 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:7146\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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":7130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0035116a6a6a326de22a629ec0ecf8296f10998358a71185921504cf6dbeef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/workflow_canary/scenarios/calendar_prep.py:146-157 | scripts/workflow_canary/scenarios/hn_monitor.py:126-137 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 and \u0060scripts/workflow_canary/scenarios/hn_monitor.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060scripts/workflow_canary/scenarios/calendar_prep.py:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ef5a0b46b542347f5e9c257b92f4ebd9a6127e637cd20df5241d9e12f4e31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/reborn_qa_matrix/audit_defect_traceability.py:224-234 | scripts/reborn_qa_matrix/audit_execution_evidence.py:228-238 \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":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0da0f6e90ffd0d08539c5fb4f2e5045781de7d90e676614ecd3f35d5b879305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/slack_smoke/run_smoke.py:341-351 | scripts/telegram_smoke/run_smoke.py:310-320 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/slack_smoke/run_smoke.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4a8bbdde0c90c28b5c0264a5ad621e4145c517aeba530a43f9cf8eb6d54ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): scripts/telegram_smoke/run_smoke.py:159-168 | scripts/telegram_smoke/run_smoke.py:179-189 | scripts/telegram_smoke/run_smoke.py:203-213 \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 \u0060scripts/telegram_smoke/run_smoke.py:179\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":"scripts/telegram_smoke/run_smoke.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"da73aea8ce2d2f01f6a2030bba1a73528c83a5f2c3c5cf484a1adffd3ff838a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/reborn_qa_matrix/audit_quality_loop_status.py:157-166 | scripts/reborn_qa_matrix/audit_quality_loop_status.py:174-183 \u2014 both copies are in the same file, so extract the block 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 \u0060scripts/reborn_qa_matrix/audit_quality_loop_status.py:157\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":"scripts/reborn_qa_matrix/audit_quality_loop_status.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b2743c9ecfacd2ca60b11525cafd31398cc042c86e963618e7db718475d500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/reborn_webui_v2_live_qa/run_live_qa.py:8385-8394 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:8677-8686 \u2014 both copies are in the same file, so extract the block 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, \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:8395\u0060 calls \u0060str\u0060, \u0060get\u0060 and \u0060scripts/reborn_webui_v2_live_qa/run_live_qa.py:8687\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":8385}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d110add930b3ea4362c5a5670f258fcc4ff33bba47b7c28730cd836c7b44e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): scripts/workflow_canary/scenarios/calendar_prep.py:147-158 | scripts/workflow_canary/scenarios/crm_tracker.py:191-199 | scripts/workflow_canary/scenarios/hn_monitor.py:127-138 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 and \u0060scripts/workflow_canary/scenarios/crm_tracker.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 124 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 \u0060scripts/workflow_canary/scenarios/calendar_prep.py:147\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":"scripts/workflow_canary/scenarios/calendar_prep.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebfba6472ca69a59875e954818f2e0b7cd9082341a15555f7098f574295e9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): scripts/reborn_webui_v2_live_qa/run_live_qa.py:5109-5116 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:5500-5507 | scripts/reborn_webui_v2_live_qa/run_live_qa.py:6100-6107 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de6d1c9d18d7399c6780b814043c1782626bb1748d9518a8c7cb357c3e31a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): scripts/dev_metrics.py:514-521 | scripts/dev_metrics.py:532-537 \u2014 both copies are in the same file, so extract the block 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/dev_metrics.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c7142cb30f106df5bf9a2867f8bcdb1336a8e5daad615d80db6f77ca69e1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/live-canary/notify_slack.py:1065-1072 | scripts/live-canary/notify_slack.py:1499-1506 \u2014 both copies are in the same file, so extract the block 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/live-canary/notify_slack.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc737e6e7962db1529096613bc3a25b8a9ed4e41b8fed16b0b8238a75f1f8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/reborn_qa_matrix/audit_defect_traceability.py:83-90 | scripts/reborn_qa_matrix/audit_execution_evidence.py:65-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/reborn_qa_matrix/audit_defect_traceability.py:82\u0060 calls \u0060_records\u0060 and \u0060scripts/reborn_qa_matrix/audit_execution_evidence.py:64\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":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917bd36f6b4e2d7715e4c4ba7b1a06c0b84d8e4924d379e402638561268fb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/workflow_canary/scenarios/bug_logger.py:63-70 | scripts/workflow_canary/scenarios/crm_tracker.py:103-110 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/bug_logger.py\u0060 and \u0060scripts/workflow_canary/scenarios/crm_tracker.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 78 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":"scripts/workflow_canary/scenarios/bug_logger.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a52b63e65136b01a371f383dfb12385e96a5d28e7afa0231c8cb76390c7de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/workflow_canary/scenarios/nl_routine_create.py:64-71 | scripts/workflow_canary/scenarios/nl_schedule_update.py:59-66 \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":"scripts/workflow_canary/scenarios/nl_routine_create.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3871bfef895e00f55cea967878f1f43153685cf92e45fbe87b50d2ced41a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/ci/check-regression-promotions.py:61-67 | scripts/ci/check-regression-promotions.py:68-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/ci/check-regression-promotions.py:60\u0060 calls \u0060require_text\u0060, \u0060get\u0060 and \u0060scripts/ci/check-regression-promotions.py:67\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":"scripts/ci/check-regression-promotions.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba658d3b1fb104d23367c3549b4a0a7566378df678cb228ed7c3a3c922412ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/ci/changed_workspace_packages.py:98-103 | scripts/ci/changed_workspace_packages.py:158-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/ci/changed_workspace_packages.py:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/changed_workspace_packages.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f59e050169dbef29f747389da01e3fbee95dfbbae946d3a0e05b2b653f9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/live-canary/notify_slack.py:1031-1036 | scripts/live-canary/notify_slack.py:1259-1264 \u2014 both copies are in the same file, so extract the block 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/live-canary/notify_slack.py"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df0990acf2e240f8ea866bd76d5308fcb3ef447ce9dff5550784ebbf2475088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/reborn_qa_matrix/audit_defect_traceability.py:188-192 | scripts/reborn_qa_matrix/audit_execution_evidence.py:193-197 | scripts/reborn_qa_matrix/audit_workbook_completeness.py:151-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/reborn_qa_matrix/audit_defect_traceability.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c344fec95d2efaf8fb1173a68a79b7b42c2076c0eb1725e95fca4f5761e081d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/live_canary/common.py:129-133 | scripts/slack_smoke/run_smoke.py:54-58 | scripts/telegram_smoke/run_smoke.py:54-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also 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":"scripts/live_canary/common.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"026c109bdeb54065a6d0867e8df91ed29b8c2735e74594a62e0170a9b5cd8f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/workflow_canary/routines.py:209-216 | scripts/workflow_canary/scenarios/nl_schedule_update.py:70-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"scripts/workflow_canary/routines.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a3fa7102a8cef5131971cfafb20e24b1a31a671e61d9ddbc12ab9bc4d2abec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): scripts/workflow_canary/scenarios/auth_recovery.py:46-52 | scripts/workflow_canary/scenarios/nl_routine_create.py:52-58 | scripts/workflow_canary/scenarios/nl_schedule_update.py:47-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \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":"scripts/workflow_canary/scenarios/auth_recovery.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c646b7098892f2c2ac94c589c32a4a70d19c826459c2cce7d100121652c1d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): scripts/workflow_canary/scenarios/bug_logger.py:48-57 | scripts/workflow_canary/scenarios/calendar_prep.py:49-69 | scripts/workflow_canary/scenarios/crm_tracker.py:55-84 | scripts/workflow_canary/scenarios/crm_tracker.py:88-97 \u2014 before extracting anything, compare \u0060scripts/workflow_canary/scenarios/bug_logger.py\u0060 and \u0060scripts/workflow_canary/scenarios/calendar_prep.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 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":"scripts/workflow_canary/scenarios/bug_logger.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22e94bc0bf956ac9ee134d07bc20e293ab33b0b2322a763171345f2165450e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:432-470 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:478-539 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:558-607 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:818-845 \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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"023981cc3906ba005c0168e28280dad1e2793f0ec540bc3db906b0075f426f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/app/ironclaw_composition/src/factory/capability_host_tests/approval_gates.rs:758-779 | crates/app/ironclaw_composition/src/factory/capability_host_tests/approval_gates.rs:1104-1125 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/factory/capability_host_tests/approval_gates.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f92892d88e6504f58830d7011e71fe031c1dd7a6ba28fae43ceae6dd1026b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:283-303 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:789-809 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2de185ece688722d0860588784eac9778f8e902caf28c12a32e49c5c8d43d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:506-523 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:574-591 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aca8041f80e979c4a332380e9bf90cde97d9a74e3eb2f9fcd967f5b85c7ef93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 3): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:439-455 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:513-525 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:581-593 \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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeda11612a670f256af71362310e1908db814a100a05c32aa60bec553c7e0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:458-470 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:528-539 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:596-607 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:834-845 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9142da84aeab22fea268c6fbd5345eead1e266825a81d761ccd19c43f7bfb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:400-409 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:505-513 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:573-581 \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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a205372c2f2295bf3c86c8488b5e5bbb3f844fec313eb4b25e72f1638ae390e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:450-457 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:521-527 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:589-595 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:827-833 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc18a62de6239e9cf23f4a2e6a289647d997aba60f9e1c171820745997c6f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/loop/ironclaw_agent_loop/src/test_support/mod.rs:374-381 | crates/loop/ironclaw_agent_loop/src/test_support/mod.rs:412-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":"crates/loop/ironclaw_agent_loop/src/test_support/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f542142a612d88fec4ef361375e9e077cbe2ba3c7a557111b7002311a9656d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): test-tools/ascii-renderer/wasm-src/src/lib.rs:70-76 | test-tools/hacker-news/wasm-src/src/lib.rs:114-120 | test-tools/market-data/wasm-src/src/lib.rs:47-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-tools/ascii-renderer/wasm-src/src/lib.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e6a34b82d72daf1ea290c080a6cc7475302f1cd88385c379c0ea5ced66262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:498-503 | crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs:566-571 \u2014 both copies are in the same file, so extract the block 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":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2815183567fc0ba8d7b83c43dcef8af59cccd005cde5c0c06fc014b9587bc4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/contracts/ironclaw_host_api/src/test_support/messaging_conformance.rs:43-55 | crates/contracts/ironclaw_host_api/src/test_support/messaging_conformance.rs:61-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/test_support/messaging_conformance.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"747050d52eb72b7fc47fe4633330dee2b181ff87ec444a365bb5fbc747343736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/domains/ironclaw_auth/src/test_support/conformance.rs:482-492 | crates/domains/ironclaw_auth/src/test_support/conformance.rs:517-527 \u2014 both copies are in the same file, so extract the block 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":"crates/domains/ironclaw_auth/src/test_support/conformance.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"133547ebc0a09a1f12081e72c42c772c76c1e7f628f7d6773dc9c31c73b3d3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): scripts/ci/reborn_pr_test_plan.py:1286-1303 | scripts/ci/reborn_pr_test_plan.py:1421-1437 \u2014 both copies are in the same file, so extract the block 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":"scripts/ci/reborn_pr_test_plan.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde4600a3aa58666ce156d52f023251ce7b7aadc225fc8d67f98f9b9dee7bf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): scripts/ci/reborn_pr_test_plan.py:1086-1101 | scripts/ci/reborn_pr_test_plan.py:1113-1128 \u2014 both copies are in the same file, so extract the block 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":"scripts/ci/reborn_pr_test_plan.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a27d872ebd6c220b21afdf4f619417d88e1fc2828c60e107cf8db498faec9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/ci/regression-test-check.py:759-773 | scripts/ci/regression-test-check.py:786-800 \u2014 both copies are in the same file, so extract the block 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":"scripts/ci/regression-test-check.py"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf74daa9bf2e310cc54732819e1ef3acd586d8807461ac85a4d7ef25446fe3"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_assistant: ironclaw_assistant has instability 0.87 with 4 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"41492c5d9da902f5eeb49f79d1b0700f8e0bc06a7f68145a3a2010eaee5cb970"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_extension_host: ironclaw_extension_host has instability 0.89 with 4 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"985eb9a9365ceb62ddb9a8755a2ae4cf7da18e28138bb3774c39de2ea81c292a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_extension_manager: ironclaw_extension_manager has instability 0.91 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ecdfe4956f28bc0cc157169fc7113887a5a257f7279fdf964e452c30c293ab8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_host_runtime: ironclaw_host_runtime has instability 0.85 with 6 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e75f6969ce3f08047b7e8ef0c080c307ff8794b40faf1ed2ec62218e23d00005"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_loop_host: ironclaw_loop_host has instability 0.81 with 4 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32e7b5bf79aff3a5853379f09b027e2107241d98101880b1439bf169687ce7b9"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project ironclaw_turn_runner: ironclaw_turn_runner has instability 0.94 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75e96687162d8ece8b0f593dee1645126174910c2703d15c3ce600c6b9b0af16"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_common: ironclaw_common: abstractness 0.00, instability 0.00, distance 1.00 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c960da5a4183c5e878b753ca12f2e42e2183a13030a9e93f1c4b3b53b5b0af4d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_config: ironclaw_config: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"42fdec647e039fe0d62771eab7867aee75b87c0e1c9c0e6448dde1710d01105a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_documents: ironclaw_documents: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8e0fd9d0b619abca2736fd488f3b10232dede4a6e01be04f853d35fe56e40890"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_libsql_runtime: ironclaw_libsql_runtime: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"adbb1c9464a1f191a88b9a78268313a8fb5dcbd70d03ea5755995e16e85537df"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_prompt_envelope: ironclaw_prompt_envelope: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2f96d7ffd92f781bb39e472b4414f26799545644998548c147e925486aa49926"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_wasm_limiter: ironclaw_wasm_limiter: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e5131fb447e0b724ef320ba66b43424c8a86df0316b38b5d9c397309606cf62"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_host_api: ironclaw_host_api: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 57 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"187d6297692469dc72a1d7096f85b272669750dd8db7430b7805ac75b25ea4e2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_safety: ironclaw_safety: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 18 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e43107a74f3aea247ef27c7780576a4bbf3e5aec174a376dcd3822f4b98885c9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_filesystem: ironclaw_filesystem: abstractness 0.04, instability 0.11, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 31 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"38666a47e9f7ec80cd7380e62acd628c2fd2dbe3881512627548649f4fc8d710"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_extension_contracts: ironclaw_extension_contracts: abstractness 0.11, instability 0.05, distance 0.84 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed7e96496fca556a8c70d7f4fe36f167da3072da57cb9ac421fc8ff464b395b0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_runtime_policy: ironclaw_runtime_policy: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06cbcb25fb5f977403dbbbac1bc0c60acb6aeb0311c36e2c80902074b1c26c4f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_memory: ironclaw_memory: abstractness 0.10, instability 0.13, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2365669dd103a68d264128ebf757267e01ca10fd3603ce714ad345cd419f12b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_product_contracts: ironclaw_product_contracts: abstractness 0.09, instability 0.14, distance 0.77 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"303e0210524c91e7ac6b4c23c9e56eb5e4fdaf03369ff3a69938857d97516329"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_secrets: ironclaw_secrets: abstractness 0.08, instability 0.18, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"803d5a1e40c4f16c8066337bb642160ad7b3ee5fafe755077081aca8433e05b5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_trust: ironclaw_trust: abstractness 0.17, instability 0.11, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c24fe392e811a5ac3d110f2ccccba79262677cbca27258f8e0e5052869ded62"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ironclaw_loop_contracts: ironclaw_loop_contracts: abstractness 0.14, instability 0.15, distance 0.71 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b0d3e7b5ba6d88832b0fb3b08a196c3ce659f14674d51b9e16e4c383ccfc9a59"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 crates/product/ironclaw_webui/frontend/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"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":"9c374c7b2ea00780128d4aad576746ad2c392d82d9f306f586fb8cfd6ed662b4"},"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"}}]},{"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":"f99b0bacd6d48ae134b7cd555c4f0b622bbc573d646be8a0dcd22ccacba8287c"},"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"}}]},{"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":"79aca96c9b5dcd02fcf81e50d9a0adaed30aea73e3cdcb76eacf2bc825a55801"},"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"}}]},{"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":"42a772d329c9c29566ea0658e05ec52964c12326e80eb018893e3da58dece564"},"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"}}]},{"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":"d4acc4c5892e8f8f8ca7d48202d1167e15ae939487a3d67c33c03d7e2c626b5f"},"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"}}]},{"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":"754bf8c97a3b01f10e1cc5a3d54556930ab61c39b91b58823838896c4995d25a"},"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"}}]},{"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":"31589701e628b7661ce66361314c8b969f393ac21969bad413ff2f7b86aab1c6"},"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"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_composition/src/runtime.rs: crates/app/ironclaw_composition/src/runtime.rs changed 195 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in ironclaw_composition::runtime::build_runtime_with_resource_governor at line 3111. 9 of those changes were fix/bug commits, and the other 186 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/runtime.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":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"255aac4209288ffb3c14aab1ce04de0e2fdafd56f30035fbfa869649985d783c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 170 in useChat.useChat at line 153. 1 of those changes was a fix/bug commit, and the other 36 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f83d8f619dbaaaea6c7d14a0bdc12b36d6ac4419c0bc648e2543a003582b6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/reborn_services.rs: crates/product/ironclaw_assistant/src/reborn_services.rs changed 102 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in RebornServices::query at line 4465. 2 of those changes were fix/bug commits, and the other 100 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/reborn_services.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":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":4465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e637962ccaa0cb3f3f4cbc04db8830641b0f1d1a67c3f3d8fa852db7ee45875c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/reborn_pr_test_plan.py: scripts/ci/reborn_pr_test_plan.py changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in reborn_pr_test_plan.build_plan at line 963. 13 of those changes were fix/bug commits, and the other 34 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/ci/reborn_pr_test_plan.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":"scripts/ci/reborn_pr_test_plan.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02422a91024bc5296791af719b7a8e98e6e587c56a0d3d2f96d33ebcaa80e3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in chat.Chat at line 106. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcae43bd864240f98a37403bf1edda28327947c23d72648624506a8703bb6e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs: crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in CapabilityStage::process at line 64. 4 of those changes were fix/bug commits, and the other 38 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_agent_loop/src/executor/capabilities.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":"crates/loop/ironclaw_agent_loop/src/executor/capabilities.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f400d8e33a1dfc98fc41e2ce3465bf08f217452468c82728f07a2fa3bb3da2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in useChatEvents.applyProjectionItems at line 523. 4 of those changes were fix/bug commits, and the other 23 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96306dbdd55578f04bfbba5c566c61e9adbe97b6639f5880f4253b871ddea28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs: crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in ironclaw_host_runtime::first_party_tools::schemas::resolve_builtin_input_schema_ref at line 47. 6 of those changes were fix/bug commits, and the other 38 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b6170e6c6676df5931032ff17594235ce954aee74ef42421b58ce5a0ffe797"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in message-bubble.MessageBubbleImpl at line 124. 2 of those changes were fix/bug commits, and the other 24 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c93ab70a084c923be5cb11d7fb8034ff7d5be6780d6bf3346cf4fc2e5259112"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/reborn_webui_v2_live_qa/run_live_qa.py: scripts/reborn_webui_v2_live_qa/run_live_qa.py changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in run_live_qa._slack_delivery_routine_case at line 5657. 20 of those changes were fix/bug commits, and the other 27 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/reborn_webui_v2_live_qa/run_live_qa.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":"scripts/reborn_webui_v2_live_qa/run_live_qa.py"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c71d3e35bfd0f0b613c6678e2533492ffd47d2adf6b085804952be68097feea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/ironclaw_stress/src/main.rs: tools/ironclaw_stress/src/main.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in ironclaw_stress::validate_args at line 1124. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- tools/ironclaw_stress/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":"tools/ironclaw_stress/src/main.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1619a3761bb16ff6f597d7e6c36050985e73bb2af20aff33c9df249c7037c0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in chat-input.ChatInput at line 30. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b51709067ca99eb07734507dfdb36c72a9327b4617d7dd12f10c639ce912b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/capability_port.rs: crates/loop/ironclaw_loop_host/src/capability_port.rs changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in HostRuntimeLoopCapabilityPort::invoke_capability_dispatch at line 2444. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/capability_port.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":"crates/loop/ironclaw_loop_host/src/capability_port.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2ac1ad6049ccf0df441241d230b3fd2f6c8c688003fa77e94d42a2c67fe55a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in configure-modal.ConfigureModal at line 44. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"56064bee7d5c5c129478537c5881d30a47bd670e07fe006849c5c5c59327be1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/lib.rs: crates/loop/ironclaw_loop_host/src/lib.rs changed 68 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ThreadBackedLoopModelPort::resolve_model_messages at line 2011. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/lib.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":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf2911502ecd92b4f60b64386965f9347b1e8cc8b9b108d835809ee0b1d3e4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts: crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in useExtensions.useOauthSetup at line 463. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d2b04f08d7641edf6e20e5cdde84098b8aadd05a1cce339b13437d0853c69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/src/webui_v2/handlers.rs: crates/product/ironclaw_webui/src/webui_v2/handlers.rs changed 66 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ironclaw_webui::webui_v2::handlers::build_sse_stream at line 1584. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/src/webui_v2/handlers.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":"crates/product/ironclaw_webui/src/webui_v2/handlers.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e18f2d62c65bb86f26b5927bbf0bbb6a95028225c72d080ad8ccc9ff1757a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_cli/src/commands/serve.rs: crates/app/ironclaw_cli/src/commands/serve.rs changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ServeCommand::execute at line 120. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_cli/src/commands/serve.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":"crates/app/ironclaw_cli/src/commands/serve.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4ef82e158ff74e80ef663f877f931f6591243e6f91b00ee0d6dd0b04555127"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_config/src/config_file.rs: crates/app/ironclaw_config/src/config_file.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in RebornConfigFile::validate at line 961. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_config/src/config_file.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":"crates/app/ironclaw_config/src/config_file.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58af909044119eb6c84fdc10094e7fc1989a075062f656cd0b5187855a9ff67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs: crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in RebornLoopDriverHostFactory::build_text_only_host_with_capabilities at line 1591. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_turn_runner/src/loop_driver_host.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":"crates/loop/ironclaw_turn_runner/src/loop_driver_host.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e4e148bb357a30ccb863c989dbb71753514b52e004ef8168b7eef4d1438af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/run_delivery/observer.rs: crates/product/ironclaw_assistant/src/run_delivery/observer.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in RunDeliveryObserver::deliver_final_reply at line 445. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/run_delivery/observer.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":"crates/product/ironclaw_assistant/src/run_delivery/observer.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c0494b4d08034b4f4c7f434f1873f0758292053dc5de3036ad1f19734ff5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/model_gateway.rs: crates/loop/ironclaw_loop_host/src/model_gateway.rs changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ironclaw_loop_host::model_gateway::complete_model_request at line 1585. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/model_gateway.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":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbbf74bdf01f8185a7321f838ecc3f175896b3b4496269f7ba67543c3b92ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/run_delivery/triggered.rs: crates/product/ironclaw_assistant/src/run_delivery/triggered.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in ironclaw_assistant::run_delivery::triggered::notify_background_run at line 507. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/run_delivery/triggered.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":"crates/product/ironclaw_assistant/src/run_delivery/triggered.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5d1af5f8f795d8bb04162eea7763a7324edc83f0b952645f341550beac214b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in useHistory.useHistory at line 75. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f754f3a5d60172e2ea38fa0928a4ee36b1f301defc904db9b80cba011a02c10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in useChannelOnboarding.useChannelOnboarding at line 207. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b60cb8af64b800dacd223297cf5c5d69adc8e4c8dcc8cd150775b44bb5b450"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs: crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ProductCommandHandler::parse at line 51. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.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":"crates/product/ironclaw_assistant/src/reborn_services/product_capability_handlers.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b13d5c9a3ee5ab1ba92c387f83bd36aa2c144a0b7290f97809217fd5925db5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_turn_runner/src/runtime.rs: crates/loop/ironclaw_turn_runner/src/runtime.rs changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ironclaw_turn_runner::runtime::build_default_planned_runtime_inner at line 705. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_turn_runner/src/runtime.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":"crates/loop/ironclaw_turn_runner/src/runtime.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b6ef315ede9d676dd4ca7d31f7efc8bfeb98fb2ca210d30559317e6b27da6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in message-list.MessageList at line 123. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-list.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eb448219284649bd3197e64e1fa0e8c6ba09667caa3aba08b7d50ef2656f26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs: crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ExtensionHostLifecycleProductService::execute_action at line 92. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.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":"crates/extensions/ironclaw_extension_manager/src/lifecycle_product_service.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec699db1dd5dc8dc17e502fd7196ae9105ff9d35f47b36dc82734e51464e7b9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in useSSE.useSSE at line 117. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc8772b309a8b2d86e49c5de86be7684134929d97163a05ee15e991872edec6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/projection.rs: crates/product/ironclaw_assistant/src/projection.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ProductRuntimeProjectionStream::forward_subscription at line 478. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/projection.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":"crates/product/ironclaw_assistant/src/projection.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da89f101fbfc9c8876e08cfb5c7923263a7f1b965dbf027adee3168f8738abd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs: crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ExtensionLifecycleManager::remove at line 1706. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_host/src/product_lifecycle.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":"crates/extensions/ironclaw_extension_host/src/product_lifecycle.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"025032aa54ee5e783882449f3fc0bc9be71a0d097f8e302dbd29a53360e0b418"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs: crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ironclaw_composition::factory::production_backend_assembly::build_backend_production at line 331. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/factory/production_backend_assembly.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":"crates/app/ironclaw_composition/src/factory/production_backend_assembly.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e5bb22faa1f5b897d2b3f5497ce797320e12cdeb5e146256ee855471d87d1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/nearai_chat.rs: crates/domains/ironclaw_llm/src/nearai_chat.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in NearAiChatProvider::send_streaming_request_inner at line 573. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/nearai_chat.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":"crates/domains/ironclaw_llm/src/nearai_chat.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3324dcdd22b046a143bbbc48210c82393c0f977c890effbb12b1899dafc202"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/reborn_changed_coverage.py: scripts/ci/reborn_changed_coverage.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in reborn_changed_coverage.main at line 1066. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/ci/reborn_changed_coverage.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":"scripts/ci/reborn_changed_coverage.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3580d3de90652dc27bd46c1d76c97fa7ee7c4c8a68af7250e0e38d1f0bd0582"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_threads/src/filesystem_service.rs: crates/domains/ironclaw_threads/src/filesystem_service.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in FilesystemSessionThreadService::try_write_new_message_transactionally at line 637. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_threads/src/filesystem_service.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":"crates/domains/ironclaw_threads/src/filesystem_service.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6d0cb24d2ed9a6bb42eaa3b095522a0cad7f7ccc4630cb2aac5dd3e31c6d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_registry/src/v3.rs: crates/extensions/ironclaw_extension_registry/src/v3.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in ironclaw_extension_registry::v3::parse_v3 at line 254. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_registry/src/v3.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":"crates/extensions/ironclaw_extension_registry/src/v3.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d53ba99ddcce48c32eed684abe73bbba73b0b4e874630b32a62e484320b9d30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs: crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RefreshingCapabilityPort::build_inner at line 185. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.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":"crates/app/ironclaw_composition/src/runtime/capability_host/refreshing_capability_port.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3951c17b35a3e0c01375b9699fed95759c79786947ba4b3c1d08ddfdd5b6e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs: crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BuiltinFirstPartyTools::dispatch at line 799. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/first_party_tools/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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd28ba02e94d9959a91619595ca0480efb17e6be6b72876a8d426e38488f281"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in extension-card.ExtensionCard at line 148. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af9d9c4642819c6e7ac5cde97151dbc01afb86dc8980e6260d5cc8028c28f2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/product_auth/api/auth.rs: crates/domains/ironclaw_auth/src/product_auth/api/auth.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RebornProductAuthServices::handle_oauth_callback_with_optional_provider_identity_check at line 1212. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/product_auth/api/auth.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":"crates/domains/ironclaw_auth/src/product_auth/api/auth.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c52c41f90eea73af244ad3a02301bca49d231514c6beb902cbdcb3126a6461"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/gemini_oauth.rs: crates/domains/ironclaw_llm/src/gemini_oauth.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in GeminiOauthProvider::to_gemini_request at line 1439. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/gemini_oauth.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":"crates/domains/ironclaw_llm/src/gemini_oauth.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"db794ac3e613fbb8893ed94383fd1e2c4c07f66c22744a7532ac846f5db2689a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs: crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in FilesystemAuthProductServices::sweep_all_accounts at line 678. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/product_auth/durable/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":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa138c0378458fc3b06e2e1fb9ade46267ff25b26ea28cdbfa08e6f5727ae7c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts: crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in automations-presenters.scheduleLabel at line 129. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.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":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"72488cd33dc1ab73021827bf9227b5686910de5ccfe8f2655ac47be38a50c42a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/libsql.rs: crates/substrates/ironclaw_filesystem/src/libsql.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in LibSqlRootFilesystem::ensure_index at line 433. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/libsql.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":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471a57f430bceb2893d8b2850184297c4f81e7000702c62b6b3e1f7a4fb0ce1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/rig_adapter.rs: crates/domains/ironclaw_llm/src/rig_adapter.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ironclaw_llm::rig_adapter::convert_messages at line 520. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/rig_adapter.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":"crates/domains/ironclaw_llm/src/rig_adapter.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdee7eb82fe098492c25750e6213b3acaa9b24a2d53c328e864163bd0a92f35"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_extension_contracts/src/channel.rs: crates/contracts/ironclaw_extension_contracts/src/channel.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ChannelDescriptor::validate at line 353. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_extension_contracts/src/channel.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":"crates/contracts/ironclaw_extension_contracts/src/channel.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae18cad04a371a6b909df588898a40f04019d9b0db3bec391787240fb4585a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs: crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SubagentSpawnCapabilityPort::invoke_capability_batch at line 1278. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/subagent_spawn_port.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":"crates/loop/ironclaw_loop_host/src/subagent_spawn_port.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"973efdbb65cc0f73f105329e80fc19259206db523664fd110ca0fe0abfac0814"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_triggers/src/libsql.rs: crates/domains/ironclaw_triggers/src/libsql.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in LibSqlTriggerRepository::run_migrations at line 92. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_triggers/src/libsql.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":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a718e38a3bd5802111ef23350fac5a21e4823cba61c2c959add23608257c3274"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/delivery_coordinator.rs: crates/product/ironclaw_assistant/src/delivery_coordinator.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in DeliveryCoordinator::drive_prepared at line 837. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/delivery_coordinator.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":"crates/product/ironclaw_assistant/src/delivery_coordinator.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"971cc98dbebed890f42bcb7cebf73161291caaba40712ba2327853e76adc5b78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx: crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in select-menu.SelectMenu at line 229. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx\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":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01034f2323d6af7271296968eed4d208ed26082e80ba536bc942f83de0595bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/openai_codex_provider.rs: crates/domains/ironclaw_llm/src/openai_codex_provider.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ironclaw_llm::openai_codex_provider::parse_sse_response at line 722. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/openai_codex_provider.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":"crates/domains/ironclaw_llm/src/openai_codex_provider.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b228499f001f1ce10bce880d2255443f35c2a34c275ce7873876343670511f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_host/src/channel_host.rs: crates/extensions/ironclaw_extension_host/src/channel_host.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in GenericChannelHostAssembly::reconcile at line 555. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_host/src/channel_host.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":"crates/extensions/ironclaw_extension_host/src/channel_host.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4366d0f1b58dd2d3d0f3ac9dc8b973d5317b125e0b2980d90f9264af95b3a256"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_agent_loop/src/executor/mapping.rs: crates/loop/ironclaw_agent_loop/src/executor/mapping.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ironclaw_agent_loop::executor::mapping::model_error_class 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_agent_loop/src/executor/mapping.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":"crates/loop/ironclaw_agent_loop/src/executor/mapping.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"153ca2ae6decbd8f58ca8c1916efe1ca072f1a5854797a6452d217523d56435c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_agent_loop/src/executor/model.rs: crates/loop/ironclaw_agent_loop/src/executor/model.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ModelStage::process 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_agent_loop/src/executor/model.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":"crates/loop/ironclaw_agent_loop/src/executor/model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"978a8e596d8f278965abe067c32e86c7b899a4e42b864c270db9e1ea57197a56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx: crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in user-detail.UserDetailView at line 47. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd09a03684a5e213449d2a39244d98ec996851fec44391424ffe8ddc2e9df09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_host_api/src/dispatch.rs: crates/contracts/ironclaw_host_api/src/dispatch.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RuntimeDispatchErrorKind::human_summary at line 462. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_host_api/src/dispatch.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":"crates/contracts/ironclaw_host_api/src/dispatch.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66053ae074a5421bf88b5302d6fec481c1a4551d79a77133d405e7e85a8c12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/fakes.rs: crates/domains/ironclaw_auth/src/fakes.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in InMemoryAuthProductServices::cleanup_for_lifecycle at line 1380. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/fakes.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":"crates/domains/ironclaw_auth/src/fakes.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aed18e02c316cb9f8ddd0d6af977d027c8d6aa61b3046e5c0b0172484bca56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/error.rs: crates/product/ironclaw_assistant/src/error.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ProductAdapterError::from at line 313. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/error.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":"crates/product/ironclaw_assistant/src/error.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab42fbaf16dd6e5cd7f1bd39823a444ea7a9a8807a76b8f80b135c6b4be9d80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in users-tab.AdminUsersTabView at line 223. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdaf1af3916a50699f2e2da58ce44544f06bb0cd9b1a62af9935f3b9e18c573"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/reborn_webui_v2_live_qa/slack_helpers.py: scripts/reborn_webui_v2_live_qa/slack_helpers.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in slack_helpers._slack_personal_auth_preflight at line 912. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/reborn_webui_v2_live_qa/slack_helpers.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":"scripts/reborn_webui_v2_live_qa/slack_helpers.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac3a6764f08d9b0efd04908ee0386a1a9394db08c1ae72d5db5c41d3afbdfdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs: crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in LoopRuntimeContext::render_model_content at line 157. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/runtime_context.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":"crates/contracts/ironclaw_loop_contracts/src/runtime_context.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"db388ad7f7f2e3c5937b49a15c96fc5d9d7f7219d4219d1bda914ba39be7a3c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/result_read.rs: crates/loop/ironclaw_loop_host/src/result_read.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ironclaw_loop_host::result_read::parse_result_read_input at line 679. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/result_read.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":"crates/loop/ironclaw_loop_host/src/result_read.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf4ea6d08c9d71a60ac00347a9995cf220e2bbf3bff371c8cef7f0a786e21fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx: crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in logs-page.LogsPage at line 121. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bac10855ec81ded68142fcc8c195eaa202fed38e862bd079002a4afd64b425"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in useInspector.useInspector 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7135178029ef8ca554aa488a5fc2f756ac41307f66e87efe5fce64caf0589f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/egress/credential.rs: crates/kernel/ironclaw_host_runtime/src/egress/credential.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ironclaw_host_runtime::egress::credential::apply_credential_injection at line 388. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/egress/credential.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":"crates/kernel/ironclaw_host_runtime/src/egress/credential.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3cb5d0e7c963c1506f24668a60e9493cbcf41cfe9be89fb9d00f2bd22a0710"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_registry/src/v2.rs: crates/extensions/ironclaw_extension_registry/src/v2.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in CapabilityDeclV2::from_raw at line 1193. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_registry/src/v2.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":"crates/extensions/ironclaw_extension_registry/src/v2.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a8dfd1c6c61c3ffd3282a6e3423283fab6354431d1d4e08cc09f71c0f7c42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/projection/live_progress.rs: crates/product/ironclaw_assistant/src/projection/live_progress.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in LiveProjectionPublisher::publish_reply_revision at line 479. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/projection/live_progress.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":"crates/product/ironclaw_assistant/src/projection/live_progress.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e8fd371e80b4e62f0524a60adbd2704552494fd8a4e2f7315fdf560f185b1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/ws12_workflow_contracts.py: scripts/ci/ws12_workflow_contracts.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ws12_workflow_contracts.validate_crate_scope_filters at line 1537. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/ci/ws12_workflow_contracts.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":"scripts/ci/ws12_workflow_contracts.py"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7edade45a0ab456a9791331d190b2583977fe7de8faf2f310b3f6adf0d3563"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in history-messages.toolCardFromPreview at line 201. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d6ed662ec72350b3493f1e8212102e6e11531c0121fda0f44d5e40c58eac9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/codex_chatgpt.rs: crates/domains/ironclaw_llm/src/codex_chatgpt.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CodexChatGptProvider::handle_sse_event at line 868. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/codex_chatgpt.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":"crates/domains/ironclaw_llm/src/codex_chatgpt.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1404910bf1e81ae4c619dddcb7bba9e3cfbd648a644c40c0dc271be470e3b41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx: crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in automation-detail-panel.AutomationDetailPanel at line 38. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/automation-detail-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c251cb602fdce4be3a8aec6523a7d498ca93373d14eb04a7d2bdf6bdb0c7ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_product_contracts/src/outbound.rs: crates/contracts/ironclaw_product_contracts/src/outbound.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ProductProjectionItem::validate at line 1052. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_product_contracts/src/outbound.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":"crates/contracts/ironclaw_product_contracts/src/outbound.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b773b3d16c32aba129d8ec06b1d410779b0c547a18b043a3eda7ecd73593fd68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/live-canary/notify_slack.py: scripts/live-canary/notify_slack.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in notify_slack.slack_payload at line 1013. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/live-canary/notify_slack.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":"scripts/live-canary/notify_slack.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a25ea200563fe445217509e28187256e5fbdae92ca3f2b9a79218fb7fe04ac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_agent_loop/src/executor/canonical.rs: crates/loop/ironclaw_agent_loop/src/executor/canonical.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DefaultExecutorPipeline::execute at line 17. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_agent_loop/src/executor/canonical.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":"crates/loop/ironclaw_agent_loop/src/executor/canonical.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"118afed9caf079df290eddd386cf5621441c96a8b5bcc613d31aea47df566d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs: crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw_loop_host::capability_surface_filter::invoke_filtered_batch at line 296. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/capability_surface_filter.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":"crates/loop/ironclaw_loop_host/src/capability_surface_filter.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d095d6158507b8443c5d92a9e19f4be2e8d70c11e0cd1da89ecb83e8261cdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/services/production_wiring.rs: crates/kernel/ironclaw_host_runtime/src/services/production_wiring.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ProductionWiringComponent::as_str 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/services/production_wiring.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":"crates/kernel/ironclaw_host_runtime/src/services/production_wiring.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a551f6d2f0ba0142f91f8c859c0c9b3accdfb42d1a13c16228995aacf3688f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/postgres.rs: crates/substrates/ironclaw_filesystem/src/postgres.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PostgresRootFilesystem::ensure_index at line 363. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/postgres.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":"crates/substrates/ironclaw_filesystem/src/postgres.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"461671e43b535aaf5704755f148381fa5f42b408a7e341f79f03a62e0926c110"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/scoped.rs: crates/substrates/ironclaw_filesystem/src/scoped.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ironclaw_filesystem::scoped::scoped_path_detail at line 123. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/scoped.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":"crates/substrates/ironclaw_filesystem/src/scoped.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3434b161ff18df29598eb7d2f52c51fe41c33c785b89842fc8845983b490a13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx: crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in sidebar-threads.SidebarThreads at line 237. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx\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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-threads.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8a0244f19ddf2ddcd90536db9d2e0a515d644d7d8c61b392a5e508bc39074"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in markdown-renderer.MarkdownRendererImpl at line 163. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"890a773a5facbdfb953a3725bd0fd421b958b2f4c8ab1cea61fa27ecc5a4a66e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_loop_contracts/src/milestones.rs: crates/contracts/ironclaw_loop_contracts/src/milestones.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in LoopHostMilestoneKind::kind_name at line 264. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/milestones.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":"crates/contracts/ironclaw_loop_contracts/src/milestones.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e065de674519df673a9d833f174bd2adbbb02187cf85d439b025957a59653f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts: crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in useAdminUsers.useAdminUsers at line 57. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.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":"crates/product/ironclaw_webui/frontend/src/pages/admin/hooks/useAdminUsers.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a6f138c6b349f5b81036d5ee384a2b472f654ddc96f3bad65f424abdbdb097"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.rs: crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in FilesystemAuthProductServices::cleanup_for_lifecycle at line 17. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.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":"crates/domains/ironclaw_auth/src/product_auth/durable/cleanup.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"74416b7fcd66518ea4262a3a76f17a94e596c3e27c4dd229bca34d3f220223f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs: crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in InstructionBundleBuilder::build at line 230. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.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":"crates/contracts/ironclaw_loop_contracts/src/instruction_bundle.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a4a19b290ec0a19d7588fd06be3574a895ea50972d3a4de068e91a34732e2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx: crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in workspace-tree.WorkspaceTree at line 293. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fecac7da8a3eed284e44301132edd8f748c3ffba1b657cebe38f747f892507"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_host_api/src/result_meta.rs: crates/contracts/ironclaw_host_api/src/result_meta.rs changed 7 times in last 90 days, max cyclomatic complexity 37 in FailureKind::from_primary_tag 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_host_api/src/result_meta.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":"crates/contracts/ironclaw_host_api/src/result_meta.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"56986f43f722704c44d6a7696a167b3b994b9ad92d83029bf26b0649485eed2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_hooks/src/middleware/capability_port.rs: crates/loop/ironclaw_hooks/src/middleware/capability_port.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HookedLoopCapabilityPort::invoke_capability_batch at line 326. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_hooks/src/middleware/capability_port.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":"crates/loop/ironclaw_hooks/src/middleware/capability_port.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf346f903efc5ff978c0486aa0085856bf305ce2f7db01b783f0352711147d4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/blocked_auth_resume.rs: crates/product/ironclaw_assistant/src/blocked_auth_resume.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BlockedAuthResumeFanout::fan_out at line 197. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/blocked_auth_resume.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":"crates/product/ironclaw_assistant/src/blocked_auth_resume.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e677bfb459da07eec5e48f5f32f132e99d2757045c64dfd19c6ef0c97ac240"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx: crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in extensions-page.ExtensionsPage at line 108. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/extensions-page.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"671bc3572b402bf538890277fffc0e4725f7c82a34955409374aeab1a4bdb7ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in tool-activity.ToolDetailPanel at line 223. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/tool-activity.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5df73911db81639441e8a4953627fb59c14bd02c5845b3b3e9310164cd09c1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_composition/src/readiness.rs: crates/app/ironclaw_composition/src/readiness.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RebornReadinessDiagnosticComponent::as_str at line 178. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/readiness.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":"crates/app/ironclaw_composition/src/readiness.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a605426397f8a0193f583dcc7864b1d0059a857fe681b9581063ceb4a067c0a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/app/auth.ts: crates/product/ironclaw_webui/frontend/src/app/auth.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in auth.useAuthSession at line 132. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/app/auth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/app/auth.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"09225f1eb401d923cb0455f620f392b9d8b383e1900dca6edb666e2098a4a65e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_approvals/src/profile_gate.rs: crates/kernel/ironclaw_approvals/src/profile_gate.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ironclaw_approvals::profile_gate::require_approval_for_profile_policy at line 268. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_approvals/src/profile_gate.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":"crates/kernel/ironclaw_approvals/src/profile_gate.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682976b7566f84cd55967e787d042bb342b46f543f56d4f7f014eda554c63cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/slack/src/payload.rs: crates/extensions/packages/slack/src/payload.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw_slack_extension::payload::normalize_slack_event at line 193. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/slack/src/payload.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":"crates/extensions/packages/slack/src/payload.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e7b985f1bf9cae435c8b045b852641f76fa30e9c429d701fab9cb49aaefe7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_turn_runner/src/text_loop_driver.rs: crates/loop/ironclaw_turn_runner/src/text_loop_driver.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ironclaw_turn_runner::text_loop_driver::loop_failure_kind_name at line 265. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_turn_runner/src/text_loop_driver.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":"crates/loop/ironclaw_turn_runner/src/text_loop_driver.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f7fbd7de5f9250a51954c13f4d600f126b9d0499f0a3db6ea2ccd4e9c448bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in skills-tab.SkillsTab at line 14. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skills-tab.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"285a8eb693ba2f9b0586f466baa80039ee9d86286dc5899213819f439d18cdfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_support/src/coding/file.rs: crates/extensions/ironclaw_extension_support/src/coding/file.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw_extension_support::coding::file::read_file 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_support/src/coding/file.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":"crates/extensions/ironclaw_extension_support/src/coding/file.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28757581a7691eeada80c5376102e8b045b94b558190893df9092ef676d9e87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_turns/src/coordinator.rs: crates/kernel/ironclaw_turns/src/coordinator.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DefaultTurnCoordinator::derive_unbound_submission at line 272. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_turns/src/coordinator.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":"crates/kernel/ironclaw_turns/src/coordinator.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d745cca269ee31171ba03a76bc79af2703bd1180e27ac6e9452dec659189ca50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/compaction_task.rs: crates/loop/ironclaw_loop_host/src/compaction_task.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CompactionTask::validate_range at line 293. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/compaction_task.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":"crates/loop/ironclaw_loop_host/src/compaction_task.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a7190a1e9fd2e2a3e3ff94a6c823bb50daf46c2d7d59f1bc4e6b3ece4484b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_agent_loop/src/executor/prompt.rs: crates/loop/ironclaw_agent_loop/src/executor/prompt.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in PromptPlanningPipeline::run at line 208. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_agent_loop/src/executor/prompt.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":"crates/loop/ironclaw_agent_loop/src/executor/prompt.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e9c50da2bc08da873c9379215d33d71ac1cf4107477c7a24e2c977ff1f849b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/telegram/src/channel.rs: crates/extensions/packages/telegram/src/channel.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TelegramChannelAdapter::send at line 271. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/telegram/src/channel.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":"crates/extensions/packages/telegram/src/channel.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2941b0719c93ee4b3f62853c90de161bcc326a9beae2b02041f2867772217529"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/slack/src/channel.rs: crates/extensions/packages/slack/src/channel.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SlackChannelAdapter::send at line 134. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/slack/src/channel.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":"crates/extensions/packages/slack/src/channel.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f3973dae1c517bbcba4f6bd62b24e8d154723db65faff7220205fbd6c83b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_threads/src/error.rs: crates/domains/ironclaw_threads/src/error.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SessionThreadError::kind_name at line 96. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_threads/src/error.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":"crates/domains/ironclaw_threads/src/error.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a35928c31acf7476e7973343743bb386071731fa276a88372e701e381d687fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/critical_mutation_gate.py: scripts/ci/critical_mutation_gate.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in critical_mutation_gate.main at line 223. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/ci/critical_mutation_gate.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":"scripts/ci/critical_mutation_gate.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4b7d72074fd8c4371f745fb86d38d25e3d4f2dc248cf419d55457a5b601ed9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/automations/automations-page.tsx: crates/product/ironclaw_webui/frontend/src/pages/automations/automations-page.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in automations-page.AutomationsPage at line 12. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/automations/automations-page.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/automations-page.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e38689d7a4bb7046c12800f6b3f6db86715946ee28cefe85f01de6241ba4144"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_host/src/ingress/router.rs: crates/extensions/ironclaw_extension_host/src/ingress/router.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ExtensionIngressRouter::verify_and_dispatch at line 362. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_host/src/ingress/router.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":"crates/extensions/ironclaw_extension_host/src/ingress/router.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0076a317fe1301a0ddc65c3abea187bdfbdb553a3918348e46be5efebd688357"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.ts: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useLlmProviders.useLlmProviders at line 68. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useLlmProviders.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdad3ac3b9ce5b8ae59e41a8449aa15c90fc8df1cb60ac53bd8b9d2b8b614fe8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in onboarding-pairing-card.OnboardingPairingCard at line 18. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/onboarding-pairing-card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"973e9632d56b974099df40db4032f6027669a1560dbbb89d93506abc0d17a9bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in tool-activity-state.mergeToolActivity at line 136. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d08404ef3d218408c53355a82473efb2f4317b6fea2b8538b173c06217653"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.ts: crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useLogs.useLogs at line 92. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.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":"crates/product/ironclaw_webui/frontend/src/pages/logs/hooks/useLogs.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"80707c60b33d02634a65e45fc705954c3da4284c7547c3222cfe2893ff0e43a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_host_api/src/failure/summary.rs: crates/contracts/ironclaw_host_api/src/failure/summary.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in ironclaw_host_api::failure::summary::reborn_failure_summary_for_category at line 82. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_host_api/src/failure/summary.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":"crates/contracts/ironclaw_host_api/src/failure/summary.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c05cef18b5db09275e939d8b611f6120c904752080e9648895638220cd5928"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/github/wasm-src/src/dispatch.rs: crates/extensions/packages/github/wasm-src/src/dispatch.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in github_tool::dispatch::execute_inner at line 6. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/github/wasm-src/src/dispatch.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":"crates/extensions/packages/github/wasm-src/src/dispatch.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e24f5614711dc1a558e99dfb57884664ec381b912702dd7b7e3d5c1824def2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx: crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in projects-page.ProjectsPage at line 14. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fd9b8b8f19e97e4415667a0ac5e450b764e5881efa4850cbc40043432bb6bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/anthropic_oauth.rs: crates/domains/ironclaw_llm/src/anthropic_oauth.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ironclaw_llm::anthropic_oauth::convert_messages at line 1243. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/anthropic_oauth.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":"crates/domains/ironclaw_llm/src/anthropic_oauth.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1645a2e625ca789b9ebf6a28bd1d28ace0312441f0759439c54883963f6cf3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_loop_host/src/driver_host_port_adapters.rs: crates/loop/ironclaw_loop_host/src/driver_host_port_adapters.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in HostManagedLoopProgressPort::emit_loop_progress at line 280. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_loop_host/src/driver_host_port_adapters.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":"crates/loop/ironclaw_loop_host/src/driver_host_port_adapters.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e88da2f9530c4227a6dca5b9e9ae6af082f41981034c17eb92d5d8910441d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/memory-native/src/service.rs: crates/extensions/packages/memory-native/src/service.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in NativeMemoryService::write at line 206. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/memory-native/src/service.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":"crates/extensions/packages/memory-native/src/service.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6702a1a0379354c00b10248c2ca0f73215fd1cb14cd69a2d317ee9b3436057a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/in_memory.rs: crates/substrates/ironclaw_filesystem/src/in_memory.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in InMemoryBackend::query_ordered at line 424. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/in_memory.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":"crates/substrates/ironclaw_filesystem/src/in_memory.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2741d35c7421c70308cf5ac96f95abf15b019bc92e1f575acdce524a73b266de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in auth-oauth-card.AuthOauthCard at line 60. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-oauth-card.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf0fd72a43fac3f130a9d150d18d34fc7bfd9083987c185130464f77349c77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in attachment-preview.AttachmentPreviewModal at line 38. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1192ad03f0e711875f7da9799563f752617414f0ae774d8a0442d81c2a64c8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx: crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in device-link-panel.DeviceLinkPanel 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/components/device-link-panel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"295c28268467b84cc64b88c09a91137af569fdd2a3582e714e68ced48e37cbe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in model-selection-policy-editor.ModelSelectionPolicyEditor at line 53. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f991ebcd6a286d93960f9c0b2d2bf88d79eba3d25fe06d1890ffff333ce4b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/components/sidebar-nav.tsx: crates/product/ironclaw_webui/frontend/src/components/sidebar-nav.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in sidebar-nav.ExpandableNavItem at line 49. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/components/sidebar-nav.tsx\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":"crates/product/ironclaw_webui/frontend/src/components/sidebar-nav.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4044dbf780435080205f8731b16af5c1c265c43bfce9aec27ee5d446c1c32e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in useThreads.useThreads at line 16. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useThreads.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"398b6fc011d6cf83b34db7a53acafa44c2f90f8b6be48ca1125a99510af9ba00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in configuration-tab.ConfigurationGroup at line 76. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/configuration-tab.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a972abdb6430a749c523312772cf1741cc18a61ad40a37626165307c018e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_extension_contracts/src/test_support/conformance.rs: crates/contracts/ironclaw_extension_contracts/src/test_support/conformance.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ironclaw_extension_contracts::test_support::conformance::run_channel_adapter_conformance at line 138. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_extension_contracts/src/test_support/conformance.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":"crates/contracts/ironclaw_extension_contracts/src/test_support/conformance.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3daea5b9737e2bf8274eaac9ba184413b765ba230a2e78c7fdceee897244ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_loop_contracts/src/host/error.rs: crates/contracts/ironclaw_loop_contracts/src/host/error.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AgentLoopHostErrorKind::as_str at line 60. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/host/error.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":"crates/contracts/ironclaw_loop_contracts/src/host/error.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6a320b6fc66f18a1dfe7656f1f31ac11976a8bad564c9f1507ca03e30e13f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_composition/src/error.rs: crates/app/ironclaw_composition/src/error.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in RebornBuildError::from at line 78. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/error.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":"crates/app/ironclaw_composition/src/error.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b519d70431a0b36b71325acb201f4260106be57ca0f88413ec68b92c19ff9d6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_turn_runner/src/milestone_events.rs: crates/loop/ironclaw_turn_runner/src/milestone_events.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DurableLoopHostMilestoneSink::runtime_event_for_milestone at line 254. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_turn_runner/src/milestone_events.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":"crates/loop/ironclaw_turn_runner/src/milestone_events.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f874a9b7b09e5b91c30498f56781553dbfc9238e92cc7efde6e2526eb221040"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_cli/src/commands/mod.rs: crates/app/ironclaw_cli/src/commands/mod.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Command::execute at line 69. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_cli/src/commands/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":"crates/app/ironclaw_cli/src/commands/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9406364e547b4d7aadfe2d048f7482597949404b6a8c9c4e754c299dcfea2f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_processes/src/journal_store/state.rs: crates/kernel/ironclaw_processes/src/journal_store/state.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ProcessJournalMaterializedState::apply_command at line 202. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_processes/src/journal_store/state.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":"crates/kernel/ironclaw_processes/src/journal_store/state.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"346236847ab3bc22c19d8f8738467608876d28837aa3634c9707615621896e53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in registry-tab.RegistryTab at line 64. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/registry-tab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f5156f3c35d30fae8e07a9faa7b71fbed3d51e782b014c464029312b13469a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in trace-commons-tab.TraceCommonsTab at line 103. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d484bbe772cd82cd98b238bc64bf0c84bd18c08b04b56074d19238783bf32ea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx: crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in pairing-web-code-panel.PairingWebCodePanel at line 37. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/components/pairing-web-code-panel.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"31582124f626b3fd21d921dc25b67cf5084e72430bb9f464bc065c5d0a4265f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in inspector-panel.InspectorPanelCore at line 781. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"6810c854c31c93399ff9d1f7bb9720cda74650a75c261111190fe59456a7cc0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/services/production_services.rs: crates/kernel/ironclaw_host_runtime/src/services/production_services.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HostRuntimeServices::validate_production_wiring at line 21. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/services/production_services.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":"crates/kernel/ironclaw_host_runtime/src/services/production_services.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4e0f8941c30c8e3493721adcf9ab066601c882107034a6e2ac39bd74848907"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/slack/wasm-src/src/lib.rs: crates/extensions/packages/slack/wasm-src/src/lib.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in slack_user_tool::action_from_context at line 234. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/slack/wasm-src/src/lib.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":"crates/extensions/packages/slack/wasm-src/src/lib.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df86e465db5bf8640e33c9095427ade684b510dc504f3adf26b87b7416eb66e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.ts: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in useProviderLogin.useProviderLogin at line 166. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderLogin.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"736a20b2070a24074c43f48f5c410ec20a7da2637e28dd53dcd6d841125a7d8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in approval-card.ApprovalCard at line 39. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/approval-card.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b0fbe1a4f0fc58a80567e25a94ef3dad36ca4e4241b5ff985675254c6be034"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.ts: crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in useNotifications.useNotifications at line 105. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.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":"crates/product/ironclaw_webui/frontend/src/hooks/useNotifications.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"725eb2a16fd6e65a705efd364c4cc589861db01ac96a9ef87afe262351d39caf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs: crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TriggerPollerWorker::clear_terminal_active_fires at line 21. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_triggers/src/worker/active_cleanup.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":"crates/domains/ironclaw_triggers/src/worker/active_cleanup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"44acf58b9fe313c4530008c86da05a779f5a209a354de0805a21d8e97a63b856"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/gates.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/gates.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in gates.gateFromEvent at line 39. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/lib/gates.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/gates.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22ae62ac03116a078eb8040d3bd008a15ae9baf45d8d9743f32ef061a80708f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs: crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HostedMcpPreparationService::attempt_hosted_mcp_preparation at line 419. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.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":"crates/extensions/ironclaw_extension_host/src/hosted_mcp_preparation.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd904fe15ebb9e27d971c2fc42ced5ef4fb67a38976f109056b21aaa39396b87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_assistant/src/run_outcome_observer.rs: crates/product/ironclaw_assistant/src/run_outcome_observer.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RunOutcomeProcessCommitObserver::observe_process_commit 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_assistant/src/run_outcome_observer.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":"crates/product/ironclaw_assistant/src/run_outcome_observer.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e93b90f5f62ed705ac48a934960648354ae27587a326081ce97b3bce9d487e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_safety/src/leak_detector.rs: crates/substrates/ironclaw_safety/src/leak_detector.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LeakDetector::scan at line 243. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_safety/src/leak_detector.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":"crates/substrates/ironclaw_safety/src/leak_detector.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05a592b5095625c46a59659bbed944411996c65c17ab894b9ddcf018868d4a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs: crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FilesystemSessionThreadService::ensure_thread_index_query at line 109. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_threads/src/filesystem_service/thread_index.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":"crates/domains/ironclaw_threads/src/filesystem_service/thread_index.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b141f03cb921d92845fd75ceed7b5c8041812e8009159722ed8aa9a9c311f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/types.rs: crates/substrates/ironclaw_filesystem/src/types.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FilesystemOperation::fmt 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/types.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":"crates/substrates/ironclaw_filesystem/src/types.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"31591a583b5ad4d1b90dc44d0ecf559b6217d532480166422a165a9f9383cb0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/design-system/button.tsx: crates/product/ironclaw_webui/frontend/src/design-system/button.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in button.Button at line 110. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/design-system/button.tsx\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":"crates/product/ironclaw_webui/frontend/src/design-system/button.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30bc5e8f29a293bf31568d1e31421e71027a66bf25e6ebaa4d26be373e72514"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts: crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in workspace-api.readWorkspaceFile at line 472. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d7f0dcb9bc3c8e590609e67b2b7961e3105a2f60b16f03bea7fa1a142d13a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/error.rs: crates/domains/ironclaw_auth/src/error.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AuthProductError::code at line 103. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/error.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":"crates/domains/ironclaw_auth/src/error.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98954ce6e71e75af9c8895b172c72396d525467b60472e21e61f7e82f837ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in inference-tab.InferenceTab at line 26. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"352e3e2070d15ec4873d81b7facfa6747af9f27d08748920224cecf50c186d1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/components/connection-status.tsx: crates/product/ironclaw_webui/frontend/src/pages/chat/components/connection-status.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in connection-status.ConnectionStatus at line 42. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/components/connection-status.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/connection-status.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e2d248dd968bc2dbb10f318a3160e9798534d68c48a77e6b456b4c2615f2c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_llm/src/bedrock.rs: crates/domains/ironclaw_llm/src/bedrock.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ironclaw_llm::bedrock::convert_messages at line 443. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_llm/src/bedrock.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":"crates/domains/ironclaw_llm/src/bedrock.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bcc0abd423c542b3bda850893ffa3db87456c91162e671a6e15d6f6c18cc05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in provider-card.ProviderCard at line 17. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb54354e98234fa2069443c177f7997189d65c42ad116fff13898be42cd7fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_cli/src/runtime/trigger_poller.rs: crates/app/ironclaw_cli/src/runtime/trigger_poller.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ironclaw::runtime::trigger_poller::trigger_poller_settings at line 49. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_cli/src/runtime/trigger_poller.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":"crates/app/ironclaw_cli/src/runtime/trigger_poller.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"99595bf90807c9916a590c147794a339e1973510ba850f10f8bf10617c7fae37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/substrates/ironclaw_filesystem/src/cas.rs: crates/substrates/ironclaw_filesystem/src/cas.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ironclaw_filesystem::cas::cas_update_loop at line 351. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/substrates/ironclaw_filesystem/src/cas.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":"crates/substrates/ironclaw_filesystem/src/cas.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"45de86ec87c218f7a97a613a92ff65630b6bf862cf33d2c33346099055d2cfd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_host/src/egress.rs: crates/extensions/ironclaw_extension_host/src/egress.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in PolicyEnforcedChannelEgress::approve at line 138. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_host/src/egress.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":"crates/extensions/ironclaw_extension_host/src/egress.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4dac85faa8ecd2b1484f8ecc265e0703c745ebfb2860adcddaba4231ac6467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/ironclaw_stress/src/api_capacity.rs: tools/ironclaw_stress/src/api_capacity.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ironclaw_stress::api_capacity::run_window at line 709. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- tools/ironclaw_stress/src/api_capacity.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":"tools/ironclaw_stress/src/api_capacity.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1ef6a642fa9da5227f335013b7d9ebe66901498c7a7a377cd51d55982bde30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_processes/src/journal_store/command.rs: crates/kernel/ironclaw_processes/src/journal_store/command.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in StoredProcessCommand::load_references at line 78. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_processes/src/journal_store/command.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":"crates/kernel/ironclaw_processes/src/journal_store/command.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"640cde03afc0a6210d947e090f16ccae781fb432f182cee78ca8f77c04aae36d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs: crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ironclaw_extension_manager::ironhub::catalog::validate_manifest_artifacts 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.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":"crates/extensions/ironclaw_extension_manager/src/ironhub/catalog.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"92192e212d86878a6cae9b24c2a31bf406cdbdd6060ab5598389ffe652d25bf6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx: crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in notification-center.NotificationCenter at line 67. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx\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":"crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fe371b4b2db38961d59c80b967d93ce05be24652a9bcdbf12b5e2fda2f9121"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/loop/ironclaw_turn_runner/src/production_readiness.rs: crates/loop/ironclaw_turn_runner/src/production_readiness.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw_turn_runner::production_readiness::component_subject at line 724. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/loop/ironclaw_turn_runner/src/production_readiness.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":"crates/loop/ironclaw_turn_runner/src/production_readiness.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c4b0324e452059ab43ed0b3f0cf96d9c95440d3a05bea3b3cc6145d23be77b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in settings-field.SettingsField at line 21. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/settings-field.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec57e543b2c8751543ba43c68e235804f1bbf5cb1f2b0c8ca4e83d13ce5aee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts: crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in useProviderDialogForm.useProviderDialogForm at line 22. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0476caeb69d601896eab2f0ab8ea8eb11ac7bc0456d4cdf91e6c39044bcc3df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_notifications/src/store.rs: crates/domains/ironclaw_notifications/src/store.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in NotificationInboxStore::publish at line 150. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_notifications/src/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":"crates/domains/ironclaw_notifications/src/store.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a8db1becc63e16e13d621363adbb0dea2e789ba51e0a5e8272d6924f8c8da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/domains/ironclaw_auth/src/engine/keepalive.rs: crates/domains/ironclaw_auth/src/engine/keepalive.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ironclaw_auth::engine::keepalive::sweep_once 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/domains/ironclaw_auth/src/engine/keepalive.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":"crates/domains/ironclaw_auth/src/engine/keepalive.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba4db01e093e0af5dafd3a006cd92d05bc8078a0a09fa59a9dea516684ec2a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/workspace/hooks/useWorkspaceBrowser.ts: crates/product/ironclaw_webui/frontend/src/pages/workspace/hooks/useWorkspaceBrowser.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in useWorkspaceBrowser.useWorkspaceBrowser at line 17. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/workspace/hooks/useWorkspaceBrowser.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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/hooks/useWorkspaceBrowser.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1cec22f64a3d060a353abefa3fd128c8c8eb7450b6495c30ce5698e3eefbe4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in provider-dialog.ProviderDialog at line 21. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-dialog.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6355b5e62224a9d9e89506b8d96c9c02a5d8c67c3274017e6f623d7df56073f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs: crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ironclaw_extension_support::coding::grep_tool::grep at line 36. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/ironclaw_extension_support/src/coding/grep_tool.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":"crates/extensions/ironclaw_extension_support/src/coding/grep_tool.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d7ea6b39085b3af2954d0da1e877b75c835f56a5949a12bd84215cb038aa35"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/extensions/packages/google-docs/wasm-src/src/lib.rs: crates/extensions/packages/google-docs/wasm-src/src/lib.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in google_docs_tool::action_from_context at line 278. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/google-docs/wasm-src/src/lib.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":"crates/extensions/packages/google-docs/wasm-src/src/lib.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f523a24fecd67a7f65e939aa0f7c2749712e80bd74069e08e7cf69ffc45d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs: crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw_host_runtime::first_party_tools::json::dispatch at line 31. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.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":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d040fcf0c6e3252c1f05021bf54d7fa26d06d35e4b014bd9637f5d2132f0d7f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx: crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in project-filesystem-panel.ProjectFilesystemPanel 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-filesystem-panel.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fb96a6a30ecf58a07be1b2fe195fec03b6202c762649fa481f99ce2527ae20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx: crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in notification-channels-panel.DevicePushBlock at line 29. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/automations/components/notification-channels-panel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e57e0787377d6f3d755e62ad6cf238691a809643c21116f653322a6f155e646"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-install-panel.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-install-panel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in skill-install-panel.SkillInstallPanel at line 23. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-install-panel.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-install-panel.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c673f7bf466463bb1f4de4f4b228307057a83993befb16755c961eacafb250"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_capabilities/src/host/authorize.rs: crates/kernel/ironclaw_capabilities/src/host/authorize.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CapabilityHost::authorize at line 268. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_capabilities/src/host/authorize.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":"crates/kernel/ironclaw_capabilities/src/host/authorize.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ed9339127026fffa32430ff049e343ffd886fc03630f0c02023b09c2111a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_capabilities/src/host/spawn.rs: crates/kernel/ironclaw_capabilities/src/host/spawn.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CapabilityHost::authorize_spawn at line 207. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_capabilities/src/host/spawn.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":"crates/kernel/ironclaw_capabilities/src/host/spawn.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce6e480b8d9f029030cd8bb045b0dcc8965ea1589a7aedf24365674356e78ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.ts: crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in activity-summary.summarizeActivity at line 23. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/activity-summary.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac6427bf834055d536ecbeda966ec368446e1a12108452ab3e5406aa322be2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/check-guidance.py: scripts/ci/check-guidance.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in check-guidance.discover_guidance at line 434. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- scripts/ci/check-guidance.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":"scripts/ci/check-guidance.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6dcf34935569ec6a15a5ae1085efda9c57465c878f988724db44f63a7c3ef3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/contracts/ironclaw_loop_contracts/src/loop_exit.rs: crates/contracts/ironclaw_loop_contracts/src/loop_exit.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LoopFailureKind::as_str at line 323. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/loop_exit.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":"crates/contracts/ironclaw_loop_contracts/src/loop_exit.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b31e7f33df3a5c9dd61ad06820739d262b452f9c427c42e1beb73dbb56f9638"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib.rs: src/lib.rs changed 2 times in last 90 days, max cyclomatic complexity 25 in ThreadBackedLoopModelPort::resolve_model_messages at line 2011. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- src/lib.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":"src/lib.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c530fbeeba83c04da61dff30496df913b8ad97db9ae2ce4ec912d047bc7cc0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in provider-management.ProviderManagement at line 36. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-management.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a012a89f2bb63c2dc0708bf6d967db56e247493693d27ea01c178edccedc28f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs: crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CapabilityHost::auth_resume_json at line 43. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_capabilities/src/host/auth_resume.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":"crates/kernel/ironclaw_capabilities/src/host/auth_resume.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308b0c3f88bfee89aef01115eacd008630e8eeb1b0bf656a149071259f9b909"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx: crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in user-model-preference-selector.UserModelPreferenceSelector at line 19. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx\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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/user-model-preference-selector.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8211047e9f07e90cde0bf3fc2347d87f23378872c925d2431c7a2f6067e6f900"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/kernel/ironclaw_capabilities/src/host/resume_support.rs: crates/kernel/ironclaw_capabilities/src/host/resume_support.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CapabilityHost::dispatch_resumed_capability at line 308. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/kernel/ironclaw_capabilities/src/host/resume_support.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":"crates/kernel/ironclaw_capabilities/src/host/resume_support.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46a78ba3520c4f9cddc416c94c3f3aba7c2bf15fc348bfd3fb2bfe00bf59165"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/app/ironclaw_cli/src/commands/traces/contributor.rs: crates/app/ironclaw_cli/src/commands/traces/contributor.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ironclaw::commands::traces::contributor::dispatch at line 7. 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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_cli/src/commands/traces/contributor.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":"crates/app/ironclaw_cli/src/commands/traces/contributor.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d4e5c2b588371a0f867c84a89e3fcdacfe85ab491b89cef04fb6afcb944c03"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/contracts/ironclaw_loop_contracts/src/host/context.rs: crates/contracts/ironclaw_loop_contracts/src/host/context.rs 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 2 (its worst body is LoopInputCursor::is_for_run at line 168), 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(safety): redact model-bound secrets without rejecting turns (#7509)\u201D; \u201Cfix(loop): compact context on window eviction (#7504)\u201D; \u201Cfix(loop): retain accepted task across context eviction (#7503)\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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/contracts/ironclaw_loop_contracts/src/host/context.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":"crates/contracts/ironclaw_loop_contracts/src/host/context.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0160f7935888ff558ffc6060d9a83a51fbf91384f8a0ef2a8626c23a446e76"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/app/ironclaw_composition/src/filesystem_assembly.rs: crates/app/ironclaw_composition/src/filesystem_assembly.rs 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 2 (its worst body is ironclaw_composition::filesystem_assembly::build_filesystem at line 87), 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(resources): stop libSQL write-lane starvation from cascading through the resource governor (#7714) (#7717)\u201D; \u201Cfix(processes): lease expiry recovers safe runs instead of failing them; isolate the journal heartbeat pool (#7471)\u201D; \u201Cfix(skills): one DB-backed tree for every skill mount, and make a skill\u0027s own commands runnable (closes #7168) (#7171)\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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/app/ironclaw_composition/src/filesystem_assembly.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":"crates/app/ironclaw_composition/src/filesystem_assembly.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf6ace727a84ba915d294f633dca5be769da1d8c2cfae536280a991e827992"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/extensions/packages/telegram/src/linked/login.rs: crates/extensions/packages/telegram/src/linked/login.rs 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 TelegramDeviceLinkAdapter::submit_code at line 429), 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(device-link): say \u0022not configured by administrator\u0022 instead of blaming the user\u0027s account (#8073)\u201D; \u201Cfix(extensions): tell the truth on cards and install results (QA #7660 \u002B install guidance) (#7666)\u201D; \u201Cfix(telegram): recognize the 2FA gate on migrated DCs and say where login codes arrive (#7658)\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-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 14:55:51 -04:00\u0027 --until=\u00272026-09-10 14:55:51 -04:00\u0027 --full-history --no-merges -- crates/extensions/packages/telegram/src/linked/login.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":"crates/extensions/packages/telegram/src/linked/login.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddc965e71fdf5e675cfda11a146b69029b67d4a640eea1f96fb7d112d04f565"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 35 significant file(s) lose their only recent owner: tools/ironclaw_stress/src/scripted.rs, tools/ironclaw_stress/src/api_capacity.rs, crates/lanes/ironclaw_sandbox/src/sandbox_process/railway.rs, crates/kernel/ironclaw_host_runtime/src/first_party_tools/json.rs, crates/lanes/ironclaw_sandbox/src/sandbox_process/user_container.rs, tools/ironclaw_stress/src/analysis.rs, crates/domains/ironclaw_skills/src/management/install_bundle.rs, tools/ironclaw_stress/src/suite.rs (\u002B27 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"59081b80eb306df50adf671901a7723b68f72e28777fe35af0165740b89b74c6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 27 significant file(s) lose their only recent owner: crates/product/ironclaw_assistant/src/model_channel_delivery/tests.rs, crates/extensions/ironclaw_extension_host/src/egress.rs, crates/extensions/ironclaw_extension_host/src/channel_command_roles.rs, crates/product/ironclaw_assistant/src/model_channel_delivery.rs, crates/extensions/packages/slack/wasm-src/src/types.rs, crates/extensions/ironclaw_extension_manager/src/channel_config_product_service.rs, crates/extensions/packages/telegram/src/payload.rs, crates/extensions/packages/telegram/src/channel.rs (\u002B19 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"12e31dc0775d4391d9ce73199c7163ff5e636e7c32ec76eefeb6fb3457a46d01"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 23 significant file(s) lose their only recent owner: crates/contracts/ironclaw_product_contracts/src/inspector.rs, crates/domains/ironclaw_notifications/src/store.rs, crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/inspector-panel.tsx, crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx, crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts, crates/product/ironclaw_webui/frontend/src/pages/settings/components/model-selection-policy-editor.tsx, crates/domains/ironclaw_notifications/src/types.rs, crates/product/ironclaw_webui/src/webui_v2/inspector.rs (\u002B15 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6b8e2b049d5cec1e00285f2b3f846eada6cf9eddd11bfbd26d1230cde91ad2d7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 8 significant file(s) lose their only recent owner: crates/loop/ironclaw_turn_runner/src/structured_finalization/tests.rs, crates/loop/ironclaw_loop_host/src/system_inference/tests.rs, crates/loop/ironclaw_turn_runner/src/subagent/await_edge/store/tests.rs, crates/loop/ironclaw_turn_runner/src/structured_finalization.rs, crates/kernel/ironclaw_host_runtime/src/capability_response_processor.rs, scripts/ci/lib/integration_test_inventory.py, crates/extensions/packages/github/wasm-src/src/api/contents.rs, crates/domains/ironclaw_triggers/src/trusted_submit.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7fa02e130dc469d9e62de2a66f767e14003cbd337bf3c21d20698451437d3103"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: crates/loop/ironclaw_hooks/src/evaluator.rs, crates/loop/ironclaw_hooks/src/postgres_backend/backend.rs, crates/loop/ironclaw_hooks/src/manifest.rs, crates/loop/ironclaw_hooks/src/identity.rs, crates/loop/ironclaw_hooks/src/installed_hook.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"035ade23539c806c6940c60875d85a9a46ef92f01ac1fda25eaaa4b607ca9582"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 5 significant file(s) lose their only recent owner: crates/contracts/ironclaw_common/src/attachment_format.rs, crates/contracts/ironclaw_common/src/identity.rs, crates/product/ironclaw_openai_compat/src/content_parts.rs, crates/contracts/ironclaw_host_api/src/safe_summary.rs, crates/contracts/ironclaw_common/src/attachment.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23f09ebbd9ab52b9223bbeb76ae79a4677fb5da2d7b6369fc08acec667bd36ae"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (105 single-owned of 1689 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1689 of the 2026 production source files in this repository met that bar). They are anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(follow-up): add a LibSql-backed sweep test that drives the real \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/test_support/oauth_product_auth.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9715dd665610d981bc313a980f9f43d3ad3a1b282e2689d7785df39666225d6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#4175 follow-up): project completed product-auth accounts into"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_auth/src/product_auth/durable/mod.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed243aafce6832e97a97130c235fb3a8084a5615458877a3506fb77807a760a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(next pass): if promoted tools are truncated by caps, start a deliberate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/tool_disclosure.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85335ca75fbcf860943bf2b533c6542729d8885abc09d478b3b9db8774f0696"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(design): \u0060AwaitingVendor\u0060 is non-terminal but has no \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/auth_interaction/types.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96f0e05a24b4aee0d40c82092b475eb0b61a5eeffb7b891f1422d94b583c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(design): a device-link step has no redacted chat-surface \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/auth_interaction/types.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0703afba5003f1424e5cfd0d83401c1e068bc61a968a5ac71310255f1ae60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO stubs against missing v2 endpoints are hidden here until the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/app/routes.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad8dc444a3905df76dc5f835d893b1911a03aeed8ac7738edbdc0f5d5203bd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // --- TODO stubs for v1-shaped helpers brought-back code still imports --- \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc264981edd1031a7767fbdb86338b7fc66a92c2ce685137834891a40b14b63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: requires v2 gateway-status endpoint. Returning a zeroed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8a272b769d30d64f82699c104e377dd0a853eba831a9ac9de24a49840deab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // All jobs endpoints depend on v1 \u0060/api/jobs/*\u0060. TODO stubs until \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/jobs/lib/jobs-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31989c32b0169fd429a4b9bf5238518924427c8429a2404452b2215202fa9a3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: gateway restart is a v1 capability (POSTs \u0060/restart\u0060 as a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useGatewayRestart.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f179d2b19262e71f0fe8d121ac07d3ff1e863960f25ff92af9d85791421a6379"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO(reborn/fs-secrets): once \u0060EncryptedBackend\u0060 ships, replace the inline \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d37dcaecea0968ab0f583bd01052293bc5d228498ed6b41ec4aab5ef5985ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(perf): this is an N\u002B1 scan \u2014 list_dir over the per-owner \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_secrets/src/secret_store.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15e55d2821d95bdfedf053f43fbe8a84d62fcd27632c594ddb697749257a4e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T0-TRIGGERS, no enabler needed): follow-ups this group can grow as new \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/group_triggers/scenario_verbs_lifecycle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"254dd556eff36c5612b7985622cce062ddce211265960be52b8ff84654e4f8bd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 16 of 78 project(s) overshoot their size bounds, lowering Project Cohesion to 5.9/10. The most over is \u0060crates/product/ironclaw_assistant\u0060 (69392 LoC, 333 public types across 12 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":"aaa2281c5074e826886d90b35d880a83b7b1595cd3f980a43d656ea162207dbc"},"properties":{"commitSha":"5a62ceaa99043d87312a6ec0c59d8910ca5b2e97"}},{"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":"842d2f1f6ed613e5b13016991c2584413dcd3c6b9b9a7ce9f0545af753419be9"},"properties":{"commitSha":"5a62ceaa99043d87312a6ec0c59d8910ca5b2e97"}},{"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":"03244f11e8608f85c6991ca7fdc518036baad481f37ef8c3b5f04e1d8b81fd5c"},"properties":{"commitSha":"5a62ceaa99043d87312a6ec0c59d8910ca5b2e97"}},{"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":"5fa0e16bf409ef9ab13567b2a8fe80b6b5b19d4d62ba347163cb275fe232a8aa"},"properties":{"commitSha":"5a62ceaa99043d87312a6ec0c59d8910ca5b2e97"}},{"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":"bfd5d34e4d16d76093d9200208e0961e3267acffc3c3ce955ca98dd51d1e7590"}},{"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":"6f7ed88814d3cab9d7642d69837f9841d961473dab0800782e7a71cf737f50a3"}},{"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":"c71bd84273de8290797200bd4028e775d94f26664293d91778e757b7d979fb10"}},{"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":"863894906ad6d30a8acee7761c829be2d9af7f4f63f4bb92b7dc0501c440f220"}},{"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":"28238f34a3bcd8206c8bfe0aaaab32da548854aed81c80365b651e3e294d9b7e"},"properties":{"commitSha":"980d60ea45c69b83d61abea56b1ae72f8d2b4cbe"}},{"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":"5c864361bd8fedf59658967902668fe160803ce2fe7b20087d212dfca6e3192a"},"properties":{"commitSha":"a53b2c10b569de297ef3178e029b86df256c3763"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228962a7bc4505c577830111f55c858f5c6a6196b4b73fa18b7f62ed871ecfe7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcb9be549fb075f1c0b0969bca24dbbce51e7d4d747ea36ce940aa46203b8a1e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"442254f23dfaab278f1ba285b3f8cae0de6550c5ca24a7e05d6385e8e2faf711"},"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"}}]},{"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":"3fb7c532c2680d624f57e8a97b2f2a70b01cca277add3c0f5d1d391f66bbfaf8"},"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"}}]},{"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":"aeacbb594791e9789ccc9e25464bd8d963ec357bf038b5f820892bec415ada06"},"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"}}]},{"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":"8eac57c47b1b320d760cdac085d1035d5f8b450e3af6d1eee68154f1bd6d3578"},"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"}}]},{"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":"39cd0be19591bebd5f5f3a391d1df2d593ff7fdbb8aef4ec2c806a0cde43ab45"},"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"}}]},{"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":"fb61ebf2b5ae1513a754df5b84ed69a7a6dab6ce535d7acee40e637ce9bd4a17"},"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"}}]},{"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":"d3ad97534ec7c10f12c39e021a22d3a2ee1bb02ae3921da6879764cae08306fa"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"043bfb0e4f67775f3bded462af91f775f8c11bff271e5a832a269ccf97d355b4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa3f325722f38364b704fa71d246b32c024b2061e363c65b201f311f3d7631b7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f66ca1ad9be079ec9213c2fd95bc943370f63b5c100dd381d713951a6053a743"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"611ca12452b7d1459b610cbdf163ac221b7e0ee1bfcc03ac61dc1f1c623c3158"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88841eab4772df0125a4d685cba957634079eb3ab3eb64fded64089f664b8e54"},"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"}}]},{"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":"05e368344f55bfb3d68fdef86fe82068da2a5c271ea36d51f93cee42acf6a4f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eab171a06306fe4135bc4312302df09a944dd3c6d93d502d1d8f36d2017fc169"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59a21d06b242c435ca5434d7f4811ccb1a7fc2a762760c202486624259777500"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b9afa14d92e2245baf392682e45cfad38da22b19d332754a091c35a13df025"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"090ce7108eb1b930b41f045fdda56378c6f119ed0d9c1d956331f165ad7ce318"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e0a34a35cccd410d8ace713abac0d03daad5e85b96a10a557fb14a0efa1746b"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15e95baec45de4d72d355b272d9bd003be7ae4c59a4a07c76ce6474959d29277"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04280e7718a447aa14d04824dbb5f7937735752c367cc3815a316bb1bef37cf8"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6eb53df32e48d0d940b40a84afba8c847a2c82d02dbcaada409b4cede08e1441"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"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":"5043d1b6ff4b66198a4126bca4e995e80d4bb13e8b6efac2f6da6bb440105768"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"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":"444f540d95dbd1f6f8f412e630b7dbbe3d20a7fb3ea691a7f7d782583b52aa04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"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":"aecfd7238d4fdd6831bf4376dc5f30efd4c8a416b19be42a21d80777280dad2e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"5dd4cc13bbf5cfef3aad085890d7d45e387947925fbff5e93fe4ba4e2002e020"},"properties":{"dependency":{"package":"@vitest/browser","version":"4.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.102.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9b85187965de9ca72b16606c538a72f0ac48a56f7356938168954d4b8708ab80"},"properties":{"dependency":{"package":"tokio-tar","version":"0.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2025-0110","RUSTSEC-2025-0111"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"167b8fb4c7a29bd2b4bb98293da7f405152fd8933cb4f930234a8467677bf12f"},"properties":{"dependency":{"package":"nanoid","version":"3.3.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"2145608e50c294e695d71b51fb8d4fc7ba8ad00f31afcade4ccac9442eec92d4"},"properties":{"dependency":{"package":"postcss","version":"8.5.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA 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":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","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":"c356dafc2d2f879539349393edf47ceccc3e0771bf15e4dae816abd8594fd25c"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","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":"f33134b914692cd6c5f119efdf542f3d6c34c918da971c9cc600e5d39c46efde"},"properties":{"dependency":{"package":"rkyv","version":"0.7.46","advisory":"RUSTSEC-2026-0235","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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.3.27","advisory":"RUSTSEC-2026-0258","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":"3035e85b1a9c0c33df37dc333f490439b3fa52aefda24a401e2e75a177cdf778"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"RUSTSEC-2026-0285","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":"1e8899d559136bbe69ce8f81cb18d12c0c8d8495f8e2eee0fffa0441ff849c57"},"properties":{"dependency":{"package":"mermaid","version":"11.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"c8b376ba623d8c9fe734a6bdc1e5a7babc945ce4d549b3a83cf63d511bc441a0"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fad48dfbe1ce45a5959e61545ba60f468e3bc8b715eee7275a26918ed3536f0"},"properties":{"dependency":{"package":"valibot","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afaee57b9bb2604887e12077f5ff7438481ef379faa5c3157dc049ac910f4355"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.9","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":"23d094a82336d8fadd89d9987eeb22f83abf7f486851571207a52c0015124f91"},"properties":{"dependency":{"package":"vitest","version":"4.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions-oauth.test.ts","line":3}}}},{"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":"ebed39c5ee1d7c30c65aa3a228051d141c7acb90695257ceac93cedaf6b4e6bb"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","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":"25212212c15b203ee174ad0f37964e10aa712d032706ed6579b45f59c2ff6f9b"},"properties":{"dependency":{"package":"wasmtime","version":"47.0.3","advisory":"RUSTSEC-2026-0268","aliases":["[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0269"],"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":"6588322c2058d275c9b25f2d7811f0eaae96a3d9d23b880f13dc19bd2ecddcc8"},"properties":{"dependency":{"package":"dompurify","version":"3.4.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"crates/product/ironclaw_webui/frontend/src/lib/markdown.ts","line":1}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace97e2564814e77545d9c27b07627d44e1cc70105d7d23f1d38ef9f0b7008ec"},"properties":{"dependency":{"package":"libsql-sqlite3-parser","version":"0.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"2080050b5d20a03604e967c1663f65ce5c4b6eec61243c9018d28c411ded2ee2"}},{"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":"4055aa4178df82acba8ee890f63838a9c92a460f6667b01812bd04f074eed7be"}},{"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":"e8e2265e0f4e00503097b33eb695e4b694d54b7a948798ab77c46d76c90be3bd"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"731be6560a8439adb63d94a5f4865aaf6e62c25d831c4966cd8ad0136bdd4aac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"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":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"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":"fa031b262da9a29e0e0eba6bcddf27dfb9975d05503b755557349012792c63b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 29 of 1689 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1689 of the 2026 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: scripts/workflow_canary/telegram_mock.py, scripts/workflow_canary/sheets_mock.py, scripts/workflow_canary/telegram_setup.py, scripts/workflow_canary/routines.py, scripts/workflow_canary/calendar_mock.py, scripts/workflow_canary/scenarios/crm_tracker.py, scripts/workflow_canary/scenarios/calendar_prep.py, scripts/workflow_canary/scenarios/manual_trigger_from_telegram.py (and 21 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: canonical.rs \u2194 tests.rs: \u0060crates/loop/ironclaw_agent_loop/src/executor/canonical.rs\u0060 and \u0060crates/loop/ironclaw_agent_loop/src/executor/tests.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060bd243b35\u0060 fix(loop): make repeated-call detection advisory-only (#7531); \u0060202b9725\u0060 fix(automations): reject unusable scheduled output (#7530); \u006015f06e1b\u0060 feat(agent-loop): tools-capable completion nudge for interactive codi\u2026 (at that commit the files were still \u0060crates/ironclaw_agent_loop/src/executor/canonical.rs\u0060 and \u0060crates/ironclaw_agent_loop/src/executor/tests.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_agent_loop/src/executor/canonical.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fbc0114f0e7b526bb01c9e6457ed08bb6ded1a5e42b3076e6584e12e60c056"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: reborn_services.rs \u2194 router.rs: \u0060crates/product/ironclaw_assistant/src/reborn_services.rs\u0060 and \u0060crates/product/ironclaw_webui/src/webui_v2/router.rs\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00609da74f18\u0060 feat(llm): add tenant-scoped model selection policy (#7428); \u0060a2a8040d\u0060 feat(inspector): add operator inspection API and live updates (#7235); \u006080844141\u0060 feat(reborn): export caller-scoped QA run artifacts (#6344) (at that commit the files were still \u0060crates/ironclaw_product_workflow/src/reborn_services.rs\u0060 and \u0060crates/ironclaw_webui/src/webui_v2/router.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83257274550477961f24921826cb50e81bd837f5b47615e517b79f93caeef219"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: reborn_services.rs \u2194 mod.rs: \u0060crates/product/ironclaw_assistant/src/reborn_services.rs\u0060 and \u0060crates/product/ironclaw_webui/src/webui_v2/mod.rs\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00609da74f18\u0060 feat(llm): add tenant-scoped model selection policy (#7428); \u0060a2a8040d\u0060 feat(inspector): add operator inspection API and live updates (#7235); \u006080844141\u0060 feat(reborn): export caller-scoped QA run artifacts (#6344) (at that commit the files were still \u0060crates/ironclaw_product_workflow/src/reborn_services.rs\u0060 and \u0060crates/ironclaw_webui/src/webui_v2/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/reborn_services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6abb0186cd46f04a734ab94335ec313e2c38cecde727b6b1a7d8291f0592ac"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: runtime.rs \u2194 run_delivery.rs: \u0060crates/app/ironclaw_composition/src/runtime.rs\u0060 and \u0060crates/product/ironclaw_assistant/src/run_delivery.rs\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006094b7187e\u0060 feat(notifications): publish automation pre-run failures (#7899); \u0060ec4c62df\u0060 fix(notifications): persist auth gates before enrichment (#7901); \u00600fb92368\u0060 feat(notifications): publish durable resource blocks (#7900) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e144672e53c5cad2addf2af7b6b6948701f955b20789725f85345e9bbf9d6932"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: schemas.rs \u2194 trigger_management.rs: \u0060crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs\u0060 and \u0060crates/kernel/ironclaw_host_runtime/src/first_party_tools/trigger_management.rs\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060ca531e94\u0060 feat(automations): expose exact run capability facts (#7850); \u00601c30566c\u0060 fix(automations): stop authoring after persisted create (#7847); \u00602d643631\u0060 fix(qa): stop the agent asserting unverified state \u2014 automation statu\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_host_runtime/src/first_party_tools/schemas.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931cf09acb0418b91a6d803ed6c3dc0585f19a6ed769bdf8294aa084e2ac790"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: error.rs \u2192 first_party.rs, lib.rs, runtime_adapters.rs: \u0060crates/kernel/ironclaw_capabilities/src/error.rs\u0060 changes together with 3 other files \u2014 \u0060crates/kernel/ironclaw_host_runtime/src/first_party.rs\u0060, \u0060crates/kernel/ironclaw_host_runtime/src/lib.rs\u0060, \u0060crates/kernel/ironclaw_host_runtime/src/services/runtime_adapters.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_capabilities/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee74f18799ecb5268233c3ea489bfb6a6196df7098e1f036cf1cf49de8a71d7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: http.rs \u2194 lib.rs: \u0060crates/contracts/ironclaw_host_api/src/http.rs\u0060 and \u0060crates/kernel/ironclaw_host_runtime/src/lib.rs\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006004f56a60\u0060 [codex] Close Reborn production credential boundary gaps (#3903) (at that commit the files were still \u0060crates/ironclaw_host_api/src/http.rs\u0060 and \u0060crates/ironclaw_host_runtime/src/lib.rs\u0060); \u0060fb9f0623\u0060 Fix Reborn HTTP save_to authority (#4105) (at that commit the files were still \u0060crates/ironclaw_host_api/src/http.rs\u0060 and \u0060crates/ironclaw_host_runtime/src/lib.rs\u0060); \u0060aa324939\u0060 [codex] Add Reborn HTTP response body saving (#4071) (at that commit the files were still \u0060crates/ironclaw_host_api/src/http.rs\u0060 and \u0060crates/ironclaw_host_runtime/src/lib.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/contracts/ironclaw_host_api/src/http.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c1e754b3aebff57072b0bee014f6c4639531dfeb4b8c037d20733f2f15663"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: lib.rs \u2192 init.rs, config_file.rs, fakes.rs: \u0060crates/app/ironclaw_composition/src/lib.rs\u0060 changes together with 3 other files \u2014 \u0060crates/app/ironclaw_cli/src/commands/config/init.rs\u0060, \u0060crates/app/ironclaw_config/src/config_file.rs\u0060, \u0060crates/domains/ironclaw_auth/src/fakes.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39d2e80a62989affd83a3b844f803acd0febb56d07f9a89b5509a81b7a7f095"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: prompt.rs \u2194 lib.rs: \u0060crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs\u0060 and \u0060crates/loop/ironclaw_loop_host/src/lib.rs\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060c1491c30\u0060 fix(loop): retain accepted task across context eviction (#7503); \u0060ca4b4092\u0060 feat(reborn): per-user agent-context profile (timezone/locale/locatio\u2026 (at that commit the files were still \u0060crates/ironclaw_turns/src/run_profile/prompt.rs\u0060 and \u0060crates/ironclaw_loop_support/src/lib.rs\u0060); \u0060dbfe0518\u0060 [codex] Add budgeted compaction context scanning (#4541) (at that commit the files were still \u0060crates/ironclaw_turns/src/run_profile/prompt.rs\u0060 and \u0060crates/ironclaw_loop_support/src/lib.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kernel/ironclaw_turns/src/host_managed_ports/prompt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a11e92491520cb78d71d7a4b3ccd41d00750967631cec24698b07a39b37a1d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: libsql.rs \u2194 postgres.rs: \u0060crates/substrates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/substrates/ironclaw_filesystem/src/postgres.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060dc2581a4\u0060 fix(memory): ranked recall retrieval \u002B a visible difference between b\u2026; \u0060ff8079bf\u0060 Optimize RootFilesystem latency substrate (#5724) (at that commit the files were still \u0060crates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/ironclaw_filesystem/src/postgres.rs\u0060); \u006014e025d7\u0060 fix(filesystem): address PR #3661 indexer review feedback (at that commit the files were still \u0060crates/ironclaw_filesystem/src/libsql.rs\u0060 and \u0060crates/ironclaw_filesystem/src/postgres.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_filesystem/src/libsql.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ff15b6f282c337992f72d7901ce84d4017d9e9e16e4df63d7748dabd13066a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: factory.rs \u2194 lib.rs: \u0060crates/app/ironclaw_composition/src/factory.rs\u0060 and \u0060crates/extensions/ironclaw_extension_support/src/lib.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060362c87ab\u0060 Wire Reborn auth consumers through staged credentials (#4231) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/factory.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060); \u0060f64324d3\u0060 feat(reborn): add web access extension (#4219) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/factory.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060); \u0060cb211f94\u0060 [codex] Add GSuite OAuth backend (#4111) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/factory.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/factory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedbcd7b56824dc523b5a963b2e2d4d0b82bca25bcc3231dae153f30f7d48f3f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: runtime.rs \u2194 lib.rs: \u0060crates/app/ironclaw_composition/src/runtime.rs\u0060 and \u0060crates/extensions/ironclaw_extension_support/src/lib.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d7db675c\u0060 Add Reborn setup marker skill parity (#3950) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/runtime.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060); \u0060bf5a9b3b\u0060 [codex] Add Reborn skill management tools (#3935) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/runtime.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060); \u006086eafa3d\u0060 [codex] Add Reborn skill asset access and execution adapter (#3863) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/runtime.rs\u0060 and \u0060crates/ironclaw_first_party_extensions/src/lib.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fb05d52dbab0a12eacf74a106988481b951c823e377e77337fa8361e424aaa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 mod.rs: \u0060crates/product/ironclaw_assistant/src/lib.rs\u0060 and \u0060crates/product/ironclaw_webui/src/webui_v2/mod.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006080844141\u0060 feat(reborn): export caller-scoped QA run artifacts (#6344) (at that commit the files were still \u0060crates/ironclaw_product_workflow/src/lib.rs\u0060 and \u0060crates/ironclaw_webui/src/webui_v2/mod.rs\u0060); \u00607842547e\u0060 [codex] Add Reborn effective config key route contract (#4601) (at that commit the files were still \u0060crates/ironclaw_product_workflow/src/lib.rs\u0060 and \u0060crates/ironclaw_webui_v2/src/lib.rs\u0060); \u0060c203a83a\u0060 [codex] Add Reborn operator command-plane route shells (#4599) (at that commit the files were still \u0060crates/ironclaw_product_workflow/src/lib.rs\u0060 and \u0060crates/ironclaw_webui_v2/src/lib.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a2ebf4ba9214cb5c64798d0008d7f0319ac98124f5062171824703467a2b85"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: product_live_adapters.rs \u2194 capability_host.rs: \u0060crates/app/ironclaw_composition/src/root/product_live_adapters.rs\u0060 and \u0060crates/app/ironclaw_composition/src/runtime/capability_host.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006047772e45\u0060 feat(reborn): show tool arguments live while the tool is running (#5035) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/product_live_adapters.rs\u0060 and \u0060crates/ironclaw_reborn_composition/src/runtime/local_dev.rs\u0060); \u00608ab4ac42\u0060 fix(reborn): show tool arguments in conversation Activity view (#5012) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/product_live_adapters.rs\u0060 and \u0060crates/ironclaw_reborn_composition/src/runtime/local_dev.rs\u0060); \u00608aee9f75\u0060 Fix subagent safety and capability gating (#4373) (at that commit the files were still \u0060crates/ironclaw_reborn_composition/src/product_live_adapters.rs\u0060 and \u0060crates/ironclaw_reborn_composition/src/runtime/local_dev.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/root/product_live_adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b5cfdc73cf1731a7ae84e0fe6cb87fb89384f298e3f4060b3fbca23a9a2278"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: libsql.rs \u2194 tests.rs: \u0060crates/domains/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/domains/ironclaw_triggers/src/worker/tests.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006026a5f902\u0060 fix(reborn): deliver triggered Slack runs after settlement (#5318) (at that commit the files were still \u0060crates/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060); \u0060d2b91964\u0060 fix(triggers): surface trigger input errors (#5140) (at that commit the files were still \u0060crates/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060); \u00600387b563\u0060 fix(webui): open, watch, and approve triggered automation runs from t\u2026 (at that commit the files were still \u0060crates/ironclaw_triggers/src/libsql.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/libsql.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d610dffa064013a6e22130992ff33088c842a548de9e88745ec09f81ceeb3617"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: postgres.rs \u2194 tests.rs: \u0060crates/domains/ironclaw_triggers/src/postgres.rs\u0060 and \u0060crates/domains/ironclaw_triggers/src/worker/tests.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006026a5f902\u0060 fix(reborn): deliver triggered Slack runs after settlement (#5318) (at that commit the files were still \u0060crates/ironclaw_triggers/src/postgres.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060); \u0060d2b91964\u0060 fix(triggers): surface trigger input errors (#5140) (at that commit the files were still \u0060crates/ironclaw_triggers/src/postgres.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060); \u00600387b563\u0060 fix(webui): open, watch, and approve triggered automation runs from t\u2026 (at that commit the files were still \u0060crates/ironclaw_triggers/src/postgres.rs\u0060 and \u0060crates/ironclaw_triggers/src/worker/tests.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_triggers/src/postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24ae96f3341578e7aa46379c060dcdc609c3067de59e7c61c599de5471e4942"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 text_loop_driver.rs: \u0060crates/loop/ironclaw_loop_host/src/lib.rs\u0060 and \u0060crates/loop/ironclaw_turn_runner/src/text_loop_driver.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006081724a68\u0060 feat(inspector): add model call statistics (#7277); \u00609f466f32\u0060 Surface NEAR AI credit exhaustion in reborn (#4286) (at that commit the files were still \u0060crates/ironclaw_loop_support/src/lib.rs\u0060 and \u0060crates/ironclaw_reborn/src/text_loop_driver.rs\u0060); \u0060689cd790\u0060 Reborn cost-based budgets: foundation (resources, accountant, gate, p\u2026 (at that commit the files were still \u0060crates/ironclaw_loop_support/src/lib.rs\u0060 and \u0060crates/ironclaw_reborn/src/text_loop_driver.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d459027687a588bcadb8f2d29e0f57779b965bceba555a5069a553830a49417e"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"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"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d663e1939a097ec153c38438b1cf43515a8111432b2f8813ece6207349427ba"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"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":"1ae293ce5d00c64f9fe36fad06531a59d9923eca1c6f5991b41ebe62d4e553d0"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/attachment-preview.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcee9db7f1b5f2e50d7249504d16e637858ed840e9ffb456d11667ca00c54a18"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/components/command-palette.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"076ef2ba9215d3e2910a95ec3cdb2e1975d3f5c150436f9399b1f85c33d11493"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"14597ee0d43a2b9766f5b82b1cc2ae10e8e2dd77509806b669c8872eb4a8dd0d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b7250280c21772dca8f0319d37a69261c824aa3339986ada7183b0889894c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"07742f84e32cfc78dc79769184efcaba99cf93ce24ff2e2c6d262893f83abf58"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd6c1ed3a8dd9164cdf332cdbb8ba62b334f4548444530cca653d4143058b37"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/thread-sidebar.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ce8fedd5650bf1893ee1c52e6f5df3410d7d013233d5e8fea5ebb7d699140"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/jobs/components/job-activity-tab.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb0fd5cc4ad84784516db3c64d7adca51ee69ede040523659f3f2bfc0d3a702"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/jobs/components/job-activity-tab.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ea7031c464589460e62eb616d4af8e41d86923167a4dfae4cc035dffcc6e09"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/jobs/components/jobs-list.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1eeeed01ca86d909f720a2532003e26a83c0ba8e37309907ede4d412d523793"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/jobs/components/jobs-list.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2805e8f037dfcd4c726522fb4c5087ee194302ddadbd92d51e52f71f8056fda"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-grid.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f424d57bd66936cc5fc5033948dabe1abf7efdb8ee28536c8fe148aabddbb8f8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-card.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"21898e2a8879336b11aa88b18ef16a58594a537235cbe82e86117b9041a97010"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/public/wallet-connect.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d1daf0560922b174fbe3a115feee9399117b6c9fc8419741cb8dedca8b6bea"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c033c945c090cc97e9e20a896debee2011c1340012d86854e1d6efeb776573"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/markdown-renderer.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f920dc957ee6aa52cd14ff2eac0964416b559ea1765142d9add8659d33b3ee3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"921751a587a88175c488ec201ce99889643ce3e0c2902fbc9ac1719274c7cc32"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.6:1): \u0060[class~=\u0022bg-signal\u0022],[class~=\u0022bg-signal/60\u0022]\u0060 sets color: #ffffff !important on background-color: #4ca7e6 !important \u2014 2.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/styles/app.css"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a96863107189f636084ffc3f8f3f159113903e94c5bcaeef3ba10e3f61cea12"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 161 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: ironclaw_web_app (Application) \u2192 ironclaw_host_api (Web): \u0060ironclaw_web_app\u0060 is a Application project but references \u0060ironclaw_host_api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ba17e0cff82647233fcc3930c94213899b28b1032c179f8a3b57da5bccbfb8a6"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: DeviceCodeStart: \u0060DeviceCodeStart\u0060 is a data-only domain entity with \u0060pub\u0060 mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_llm/src/openai_codex_session.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e259db7627bf20fbefdead61c18a996d6ec185d10fe2febdd569bfa03cbfadc"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: SessionSkillActivationPorts: \u0060SessionSkillActivationPorts\u0060 is a data-only domain entity with \u0060pub\u0060 mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_assistant/src/inbound_turn.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cefbd26ba2a5f33559b24d41df2c3b58f3b21d5c48b3aaefd19984a850f1c75"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): NotificationChannelsSetHandler.request_approval: \u0060NotificationChannelsSetHandler.request_approval\u0060 performs two independent DURABLE writes \u2014 a durable state write (\u0060replay_payload_store.save\u0060, :263) and a second independent durable store write \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_composition/src/runtime/capability_host/notification_channels_set.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cde60e4a71bf8a397031f3b8d014bab62b72376b179549cf2470f9214e1fbe9"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 54/56 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060crates/product/ironclaw_host_ingress\u0060, \u0060harness/latency/runner\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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. 2 of the 39 files that make outbound calls are unbounded; the first 2 are listed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/src/commands/traces/mod.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ccc994a3285b275cc3a3ff854f1ffbd967359187f8b6a7502ca367c0466fa5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\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":"crates/domains/ironclaw_llm/src/session.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ed8e37b48118df55ed8842a45fe69a39dbe8359633eb23a40c9c2bb4ac5de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 10 sibling directories (31 clone groups): 31 duplicated blocks under crates/product/ironclaw_webui/frontend/src/pages/ have copies in at least two of the sibling directories admin, automations, chat, extensions, jobs, logs (\u002B4 more sibling(s) not listed) \u2014 16 of them are reported below, and 15 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 31 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 31 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 31 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"008f9dd7daea6848547eb00c17f4b137a776a13c56260d532c75cc9befaf323c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (20 clone groups): 20 duplicated blocks under crates/product/ironclaw_webui/frontend/src/ have copies in at least two of the sibling directories app, components, design-system, hooks, lib, pages \u2014 10 of them are reported below, and 10 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 20 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 20 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 20 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":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6b2a01938ed57c247e7b6f3c887d539055f8d738a6efbe298464b8a68088d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (93 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx:88 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/components/users-tab.tsx:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 490 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/users-tab.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1440cc04382ceaa27f203b9617f32485d5975bc2e33a830fde9cada63e504ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/components/channels-tab.tsx:34 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/components/tools-tab.tsx:45 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/channels-tab.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6d44f36118b5c3eba910c7d380acd3aab0a9cd909d21eec6df83e294383370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/jobs/jobs-page.tsx:79 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/projects/projects-page.tsx:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 303 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":"crates/product/ironclaw_webui/frontend/src/pages/jobs/jobs-page.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e9d1bd9ee3752c315f0a62194f5265b574f93fa57a9625a93f3ae560afcc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-grid.tsx:11 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-grid.tsx:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 275 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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-grid.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf26d406d66591f046ab206a18ce5169cd124b68fdac93b7a6e13874734169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/pin-store.ts:45 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/thread-state.ts:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 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":"crates/product/ironclaw_webui/frontend/src/lib/pin-store.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"32beccf69eaca240675adf992e369dd896dae078636869675dc04874064a50f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx:348 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx:380 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 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":"crates/product/ironclaw_webui/frontend/src/design-system/select-menu.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b8cf9e2a2138b62126a64aa8399a7cdfc20a3024f4c82d9e6d4813ce212d7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/settings/components/agent-tab.tsx:18 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/components/networking-tab.tsx: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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/agent-tab.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"245549125c1f41dc7a7fa045c2c3be3970330c50b82ae73e6302d8fdf08bef38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/api.ts:696 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/api.ts:727 \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":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca07d706277e16994ed559593bea6774a2d162cf8a0cf38d95123845954c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/design-system/card.tsx:111 \u00B7 crates/product/ironclaw_webui/frontend/src/design-system/card.tsx:147 \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":"crates/product/ironclaw_webui/frontend/src/design-system/card.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8c0eeeb4d6920e44d3342ae4a2856a3d63ad3dc7e30b428f328a74b7b51c63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/device-link-api.ts:263 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/device-link-api.ts:329 \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":"crates/product/ironclaw_webui/frontend/src/lib/device-link-api.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79a88375f5db4c320024edb862e6b94df16b4c87a1123cbb736cfa2a65f4f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx:199 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx:222 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25506ac3d626e091206fccbec7c2d44f829feadd4138908d18726335f23fd7ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx:274 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx:299 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6062d94d2818a0f548e8019ed465de6180f27e161dd5e0f74187afacacb2d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx:301 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx:383 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"792ea421d5eb845959ff58e657bc0841fc628414a0e0caa9c2facbdbf5a38c2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts:442 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts:750 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"106f0904df0577be236b28bfcaeb6185d2950206ab074e24cba5a886d1549d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx:158 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx:492 \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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/components/workspace-tree.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c774b3e0a204a15205081ca4da9f5debe2419a3c5da89a847a337a796146e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/device-push.ts:200 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/device-push.ts:263 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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":"crates/product/ironclaw_webui/frontend/src/lib/device-push.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"be287f4f0b6a90dc012a39b54799c3a525cbb62331184aa9ac15d52c8ae621dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx:225 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx:243 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29a54040a01e1e6891c02ef81db5ff9e9e1a250746b17b12fbe5d675c6c7173"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx:18 \u00B7 crates/product/ironclaw_webui/frontend/src/components/notification-panel.tsx:138 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/components/notification-center.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8446f92f18624e222975a200288e1384be599a998943c4c9e5fa01e02fa05cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts:65 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/useInspector.ts:77 \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e6f3da4053b198ebaac24fbb5849d820281117d2930ab871bd01f775ce6343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx:175 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/components/networking-tab.tsx: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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/inference-tab.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0f688382bd8acd8b2bbfb1c230c83ff02c9be85087ec0a3d7b333642abae2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts:299 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts:316 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d206d7748343cea8ff153848453c9e68a4dd6871baf34ab1b681590754053007"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useConnectLinkLanding.ts:33 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useSetupLanding.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useConnectLinkLanding.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b7191bc67283acf271e24da5ea5358ce95c3f52f4894f315751056cd589e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts:720 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts:970 \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"647a0705d06c42f976faafb1cb7415cfad18b870a366011e3e8b12227ad7989d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/components/channels-tab.tsx:53 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/components/tools-tab.tsx:64 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/components/trace-commons-tab.tsx:228 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/channels-tab.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd6453e64342b416bfc5d6bddfff9b713f0ddf3be3fb2c9a0b0a080774cc9ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts:81 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts:97 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useProviderDialogForm.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759aaecc3b291a8d4810c3012cd2444d52a1463fd4e3503fe82e94f119a1fa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/settings/lib/trace-api.ts:52 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/settings/lib/trace-api.ts:100 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/lib/trace-api.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e1faa0b24135b09bc363c12bdafa25c7c408840880bebf1a16eee6eaa3549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/app/app.tsx:126 \u00B7 crates/product/ironclaw_webui/frontend/src/app/app.tsx:154 \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":"crates/product/ironclaw_webui/frontend/src/app/app.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5afe1665d707b97865df5a99fde922cc579bda590f5dbe3e0f3791cb0bbb3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/api.ts:950 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/lib/attachments.ts:107 \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":"crates/product/ironclaw_webui/frontend/src/lib/api.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"023cc736c796233f445fb114c9e8f39911ef352ed96fb2478860cc55e3216877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts:264 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts:278 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-api.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e79f9716be0641083d65dcd6ee844244e0f263be3f43d59963ddc3f0b487301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/notification-setup-api.ts:49 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/notification-setup-api.ts:62 \u2014 both copies are in the same file, so extract the block 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":"crates/product/ironclaw_webui/frontend/src/lib/notification-setup-api.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fcabf8467ea3a5fd53fbe122ad78bd24bcb0e567c2a546719b8691087ca1e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/vm-component-harness.ts:29 \u00B7 crates/product/ironclaw_webui/frontend/src/lib/vm-inline-source.ts: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":"crates/product/ironclaw_webui/frontend/src/lib/vm-component-harness.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"95403d4fc3e6328456e37d48ebeff2a81e4bba8e50b712df8db3226cd78b9ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx:491 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx:624 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c330706af17f1e5d477f5398c79432c1dfacc1049458ec5b0c7d30a5c36dea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts:827 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts:847 \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df1171127de8bb000ee7266f77a88090995b401651e21f7807db24ff2594b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts:296 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts:356 \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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/hooks/useExtensions.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"26000f9c8cc4bd57e193aea22928e13bdff21fff1a04037772df7385a2720a69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/components/link-payload-panel.tsx:131 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/automations/components/automations-empty-state.tsx:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"crates/product/ironclaw_webui/frontend/src/components/link-payload-panel.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c2e3900d317a4f433e3e682e6a05902ce467ffda2bb9d420d5411cddc68c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/lib/thread-meta.ts:46 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-presenters.ts:109 \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":"crates/product/ironclaw_webui/frontend/src/lib/thread-meta.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f85a1df7835466eecaa4259fa5653042e5ddf848bdb42cc00c2b24b4fd633c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-generic-card.tsx:23 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-token-card.tsx:75 \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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/auth-generic-card.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ecc13f8087da4b4cddf8547e868aa9327f0dc580f29a1512a57c5d27d4bdb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts:270 \u00B7 crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts:393 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useSSE.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7093f190e852fe71cfaf732392c32cd34987fd522f544fcd94f81a3b5ffd5f0f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:1 imports highlight.js/lib/core, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4897a6bfd9d2e40d97952aeb0af133a925cf47258aff83f10e52f19b914462f1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:2 imports highlight.js/lib/languages/bash, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccb3410a05e17c0c2b83f5656592adfa990c8461c553f4b5cc7593d18312758"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:3 imports highlight.js/lib/languages/c, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1516e596f65beb15332c437a24f330f70ce75e75851bd7d22565000d5724e922"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:4 imports highlight.js/lib/languages/cpp, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"44646bf45fbc2df9ab3f8517a675681c5a2d2c5efce208b58638f11f2b9838b8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:5 imports highlight.js/lib/languages/csharp, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0462c385eb5d3e0b811931970946636132a79feae20a9794b8a0e7fa5df0ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:6 imports highlight.js/lib/languages/css, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a7e394de8bdfad340a87871824294824ef0939921bee4083956e73880a11ae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:7 imports highlight.js/lib/languages/diff, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"74616b20b33f0addf3a40f2c25f4a6e372e57201472a0a04d9e40e4f89b92c27"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:8 imports highlight.js/lib/languages/go, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ee663b5efea98fa56b7d9cbaabf4fe8edc374037419f6410e8e75d832cfc3e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:9 imports highlight.js/lib/languages/java, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"53febe3e9afe271e66de1d40244a9211914cad4f8420dc4eab52b82a0ba043db"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:10 imports highlight.js/lib/languages/javascript, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f488527986fc85e2293102494226e5b652d6d9d6b6d701a5b214d15bbffc3de7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:11 imports highlight.js/lib/languages/json, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"53061c06031bc9e9d386de1e28594a0da6282c8285b57058697c070c5e075520"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:12 imports highlight.js/lib/languages/kotlin, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"883fa9976b8f252e0c3f4697c47d95cb2c02630dc588f80e7599cca055a4397f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:13 imports highlight.js/lib/languages/markdown, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a60611e385e60f5f39b4d03be5360647318a070cd744d861671f8f8712ace90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:14 imports highlight.js/lib/languages/python, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed351ba8fddf2d0068f7f01c8cc5da5fffd2ccab82d6d090ab5e0495f0d828"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:15 imports highlight.js/lib/languages/ruby, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e08717dffbc44482f15feaf7b8076b11a929b24f0141c406dffbf0239190af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:16 imports highlight.js/lib/languages/rust, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2bea83ff21d9de54f5217d690ebe848ebfb437602e3907f679f7baa6244bf7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:17 imports highlight.js/lib/languages/sql, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb0c2591346000b7fe643b71bd67b654795d9df5d9594a1822c176df3fb1139"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:18 imports highlight.js/lib/languages/typescript, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28c050d7aee7b47a981c88949a3545af1b26ec2cd9b4005d2e278dc046808e6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:19 imports highlight.js/lib/languages/xml, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc4c2fe89f5ce2adfb70abef7fd0441ff34cf519810cc264f0103b2e31fd271"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts:20 imports highlight.js/lib/languages/yaml, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/syntax-highlighting.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7f8b8deeee20492a8d0dfa34f9cb0a86b4ec98306dfa969b15c62520c21599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageBubbleImpl (cyclomatic 82, cognitive 69): MessageBubbleImpl has cyclomatic complexity 82 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 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/message-bubble.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c4c827cf9741b5cf0d7dff5d7c0d704bdab3819368e7853f9cb117e2e7f6b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyProjectionItems (cyclomatic 74, cognitive 141): applyProjectionItems has cyclomatic complexity 74 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6835eecbe0f84b35a2bb2833106785b20929867117839d4eb44dae80754f051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderCard (cyclomatic 51, cognitive 43): ProviderCard has cyclomatic complexity 51 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 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/provider-card.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9c4ca4c70d246a95ecac089f64403d7ca4b3044d20b0bd87e5e785cbbecc72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 63): (anonymous) has cyclomatic complexity 49 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChat.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a5f38d331c0c498459e3b9f93af61f5284449df0171e6aea6fdf756f6ab1f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Chat (cyclomatic 49, cognitive 40): Chat has cyclomatic complexity 49 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 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/chat.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab3d1cc66c025d5901376b679af38f549220e470b92ae770bc79836b1e5d87b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 40): (anonymous) has cyclomatic complexity 48 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 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/useChatEvents.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e1806c0de71a5f853d967b87fce2b9a1377092ee3c7dec4a2a49e272d30b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigureModal (cyclomatic 45, cognitive 38): ConfigureModal has cyclomatic complexity 45 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 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/configure-modal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"15245cd501d8d19cf2c5eb85cde8beaf26f99f8e96dd769bc72b6138d9047cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionCard (cyclomatic 38, cognitive 34): ExtensionCard has cyclomatic complexity 38 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 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":"crates/product/ironclaw_webui/frontend/src/pages/extensions/components/extension-card.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cafd78df3c47cd5f6be5abed3ef9c5c412ee831b975591d1b00b3a693aa7492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleLabel (cyclomatic 37, cognitive 33): scheduleLabel has cyclomatic complexity 37 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/automations/lib/automations-presenters.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fd0e97fe8b2278b769cf482eeefb4fbab0e987c412b1883dae6eedd6325fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatInput (cyclomatic 35, cognitive 31): ChatInput has cyclomatic complexity 35 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 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/chat-input.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"acabcd86cc2c899e0084650337db59a85cec8efcd0e26b7a5841bff47afc6222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeToolActivity (cyclomatic 34, cognitive 26): mergeToolActivity has cyclomatic complexity 34 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/tool-activity-state.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5447b1762bb743a193d0b2f036003e8623befb342e09df1cb372fdb6178d9951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LogsPage (cyclomatic 31, cognitive 27): LogsPage has cyclomatic complexity 31 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":"crates/product/ironclaw_webui/frontend/src/pages/logs/logs-page.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6411d090747c4acda450ee475f3ec07f83dac26daae0fba7ece94834fb2ba5d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishProductInspectorEnvelope (cyclomatic 27, cognitive 31): publishProductInspectorEnvelope has cyclomatic complexity 27 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/inspector/product-activity-envelope.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94fe0269ea1f55b159ac2cdce86f388f0cfa4474eb518c21258858432c86cb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 26): (anonymous) 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useChannelOnboarding.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"250f3fe619cc5c58b0ae8d3c68ca4f41bd18fc261173677ff0919ecc24e0f359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolCardFromPreview (cyclomatic 26, cognitive 18): toolCardFromPreview has cyclomatic complexity 26 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/lib/history-messages.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee70483ea96a23debc125dbb9ecb0433086f6b98241ed7de421e3678fe42b89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Button (cyclomatic 25, cognitive 26): Button has cyclomatic complexity 25 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":"crates/product/ironclaw_webui/frontend/src/design-system/button.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2319a6e3a0697c768e1e5053b398f3fa36c455587f547634eb8f3792763613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDeviceLinkPromptWire (cyclomatic 25, cognitive 22): isDeviceLinkPromptWire has cyclomatic complexity 25 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":"crates/product/ironclaw_webui/frontend/src/lib/device-link-api.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5934f95b2fc138c1668ce149561df727a66eea1492cc4e7cfdb4960f9e45f9dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCard (cyclomatic 25, cognitive 20): SkillCard has cyclomatic complexity 25 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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/skill-card.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25b05512a3499044882ec5f02f62293318b1c6867d1d5466d2615ff477ab92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserDetailView (cyclomatic 24, cognitive 20): UserDetailView has cyclomatic complexity 24 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":"crates/product/ironclaw_webui/frontend/src/pages/admin/components/user-detail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be438432b08e59031e4d4d6b37a11dff827e84115c27b91427e1e77cd04426"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertPreservedAtOriginalPositions (cyclomatic 23, cognitive 32): insertPreservedAtOriginalPositions 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":"crates/product/ironclaw_webui/frontend/src/pages/chat/hooks/useHistory.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1bb85c517586df1fa9ff86c0bb77a192cea1e9f024d14e249d5ba10bd7a0c7"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 32 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: crates/product/ironclaw_webui/frontend/src/i18n/es.ts (1642), crates/product/ironclaw_webui/frontend/src/i18n/ar.ts (1641), crates/product/ironclaw_webui/frontend/src/i18n/de.ts (1641), crates/product/ironclaw_webui/frontend/src/i18n/fr.ts (1641), crates/product/ironclaw_webui/frontend/src/i18n/hi.ts (1641), crates/product/ironclaw_webui/frontend/src/i18n/ja.ts (1641) (\u002B26 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/product/ironclaw_webui/frontend/src/app/retired-routines.test.ts:9 imports \u0027../\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":"crates/product/ironclaw_webui/frontend/src/app/retired-routines.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fe5b50f2cb68a38e90120b7c924ca990cf97c56ee5cd97603545e04cf2d55f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/product/ironclaw_webui/frontend/src/styles/theme-colors.test.ts:7 imports \u0027../\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":"crates/product/ironclaw_webui/frontend/src/styles/theme-colors.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b96159c3bf080d84b3aff01d6ae8b967f562977cdb020ddfed9759e4b058e"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/channels-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf881d0de16506fdfd830538052088f30f5fa7ad1a49a620db71bf30e1685ef1"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/users-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99b968a27229cb05b8c10294c166caf2b5ff0bc9ad68fff796ad3b78288418d"}},{"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":"crates/product/ironclaw_webui/frontend/src/design-system/props.type-test.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c13088f10d5162d576538ec30eb37eeb7eb6664b0dea28992a75b4589870410"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/thread-sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554f28bdf04fd9e6679dc58b865a217aa0eb07248e83497366435cbd744e4374"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-inspector-rail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e679528fb006f20b224ffd138da8c8048668eebe1ab8cea4414ad07aed5b0c"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-thread-inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ae3209216199c4a27452e81cdc3b6bae35d198310ac7d9d1799064843ceb1f"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-widgets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf74890608164c9c6742f832376d4a3269432eca7877e7934d6000826fa7941"}},{"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":"crates/product/ironclaw_webui/frontend/src/wallet-connect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e519ea57bd85d2ddc357a19cb599bc70616b4dd20642436782dd9a52143b884"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/agent-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a91b8c0c5e8e201ee5862379c5ff81083d2d834d59b88e9f7b15795571af7e"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/networking-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d50eb186490623beb12344431cea1adb81f1a7e726053912e814f1d49c2e4d"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-attention-strip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"992e4863fa83c79e23b01a8d0822637ac72743f81940d3079ef85ca715272199"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useUsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecae0848f97e75cec4f798020d49f8361fc77d5353ef171ff96c2d58693c98b"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/code-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4995d40dac2a7a444c1256b3ce990dae004797b2c0e2d01eff2603d6c0880b1"}},{"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":"crates/product/ironclaw_webui/frontend/src/pages/projects/hooks/useProjectInspector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c10d920df12ce636b4f05650fbbafb285141e7daf2f0ec281e18a7dbb86a00e"}},{"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 crates/product/ironclaw_webui/frontend/src/app/retired-routines.test.ts and 1 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":"crates/product/ironclaw_webui/frontend/src/app/retired-routines.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e540c6a1508b3af618c9e18e3bdbbba1e78b2c2451fd6f4e5fe7d5e7af8fdc5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~268 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/channels-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dcdd12eea075cfe87e8f313136d5593dba0f82ed249884525b8e2230dccb2a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~227 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/users-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"767ccf60a8df9c1e5e20a18e3ed1e00f6ac191fbefac96074ee0de7243a14f1a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~150 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/design-system/props.type-test.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"351523e3b015db08e20e013f2d66c54358633407a38fd9a56c45965336fa904d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~142 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/thread-sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93a913787636657b87400d63338b929e8aba3efb2de2eebd96a31861e41e280"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~97 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-inspector-rail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af528634777ef0bfef95e236c43070db7ae0d79f8f4cab4195b96e219c9b650"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~81 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-inspector-rail.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-thread-inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b09b97c4ea1b0d2edf1ca2b0e5a8f1ca449fa8565aa65168a685e6998a1c61"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~76 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/project-widgets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd026c723f75c6f7a60fdd900268c638341d59061a9341aeab2cf2bddb096d9a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~73 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/agent-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b833da9aeca5c1a5bf032958e3def389efca620ce5a5b99cdee7e336b687e6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/components/networking-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc98fcdec6530132bda0338d3cec88b91a35e2c6c59d698e6b14240ec9985f9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~51 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/components/projects-attention-strip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d394df0b91f79013704357dfc0275a94ea6de951c57f69ce2fa09828da33531f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (crates/product/ironclaw_webui/frontend/src/pages/settings/components/users-tab.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/hooks/useUsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7153f0c1324d9f688632b39e3f660bbb188be3c0f5d4500fad91f40e24e0c098"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/chat/components/code-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2f8bfa5f8f00fa94e86fd935743b2ee3ca462b8cebc7d3fe2354818a6e9b16"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (15 application, 6 tooling, 318 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/projects/hooks/useProjectInspector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7446e35ed2e4fc85b93178d73657cba5dea3b29af6a38e771d2f5bbc0ce7e6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027routeSectionDefs\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/app/routes.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f2901080ab518b2cb77453323e4d53dd578e009c66511d84fc1e0f1b8c90c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027routeForId\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/app/routes.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a8787e839d0ae2bc6f61cb1dc351becbf8f93bff898dddc9e93290b2e2e5d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StatusPill\u0027: Nothing imports THIS copy of \u0027StatusPill\u0027 \u2014 but crates/product/ironclaw_webui/frontend/src/design-system/primitives.tsx:19 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep crates/product/ironclaw_webui/frontend/src/design-system/primitives.tsx\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/design-system/badge.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadac66492a7c97540d4e0dbb86466ea355b529663947aefd272f70aa513235d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cx\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/design-system/primitives.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85410bd793d48cfdd5dec76d347769267486247327ec261398fd97dd780fd8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027optionalString\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/channel-setup-api.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d952ba7cb0fbd2a197dd2614028b9efeb1774746d1d995b2312c6cd720ce75df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readDeviceLinkFlow\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/lib/device-link-api.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082ecd31b6cc8ea1e559823320a47a07936450b5769a0506809a1b60f465cf2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027summarizeUsers\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/admin/lib/admin-presenters.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"28afd7c3c54592b3c104564f0d16f31328bbd6b8ce8304e666465ae8690b4fd6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseCustomProviders\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/lib/llm-providers.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b1d7bc1dea2025fed0294d9aec369e52d76bfd0c4ac8656b2c3af1f5c28ee6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseBuiltinOverrides\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/lib/llm-providers.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"136f9d801b50e7ff65f4df4bf041df4367b089472a52ac9fb173f8b51a7facdd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027fetchSetting\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/settings/lib/settings-api.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c95d0a06019b11bbf4d15bd54b34add3e40c003c3f992029ac3f5ffeb6ac31"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatWorkspaceDate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-presenters.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002b85f1ef00b74c044d71fc5a16c8bbbaf642d8562fbb3abc34ee35cb181c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027snippetFor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/pages/workspace/lib/workspace-presenters.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d5560a12742bcf277bd844d07725b03cb57a288aca575a164d89eb02721e26"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): crates/product/ironclaw_webui/frontend/src/i18n/ar.ts \u2192 crates/product/ironclaw_webui/frontend/src/lib/i18n.tsx \u2192 crates/product/ironclaw_webui/frontend/src/i18n/ar.ts (one verified cycle inside a mutually-dependent group of 11 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/product/ironclaw_webui/frontend/src/i18n/ar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bf93fed3f9bccbafe7205afbb80a0cad1ac85718592d7762c3770722d47f43"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022access_token=\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022access_token=\u0022)\u0060 also satisfies \u0060lower.contains(\u0022token=\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_safety/src/display_redaction.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8809bb0e4ff281783523e9009d5da6c7aa1f10703dd0214ca6a6e23f43b6e61f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022access_token:\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022access_token:\u0022)\u0060 also satisfies \u0060lower.contains(\u0022token:\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/substrates/ironclaw_safety/src/display_redaction.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"15edb2ffb96d19910f73808ffbd621e2635a943330e6c4e2a75e0cc11ab54af3"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022402 payment required\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022402 payment required\u0022)\u0060 also satisfies \u0060lower.contains(\u0022payment required\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2b4c4fa5ec2639205a923a0783e9e791757f44b38cab78c6e4be5e9bdb0f3"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022insufficient credits\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022insufficient credits\u0022)\u0060 also satisfies \u0060lower.contains(\u0022insufficient credit\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c875f5e678bd345c7aca39f1ca17b0eff6d28aa5d210b46578ae389be9b48"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022not enough credits\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022not enough credits\u0022)\u0060 also satisfies \u0060lower.contains(\u0022not enough credit\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_loop_host/src/model_gateway.rs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"3199ccfd3f051c5c630fdc442c889f1335be7c84918d1dc8f1299548650689c4"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060stderr.contains(\u0022inline secret\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060stderr.contains(\u0022inline secret\u0022)\u0060 also satisfies \u0060stderr.contains(\u0022secret\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/tests/smoke.rs"},"region":{"startLine":6619}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c20f801b632b9c6f58cb82c6c21e462202984800c6c646a84c430858203f6"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060stderr.contains(\u0022inline secret\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060stderr.contains(\u0022inline secret\u0022)\u0060 also satisfies \u0060stderr.contains(\u0022secret\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_cli/tests/smoke.rs"},"region":{"startLine":6951}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43ceaee4dbb15728284cb268fac3ad81f727d7b610f4b05fbd1330456a34bc3"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060trimmed.starts_with(\u0022///\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060trimmed.starts_with(\u0022///\u0022)\u0060 also satisfies \u0060trimmed.starts_with(\u0022//\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/app/ironclaw_architecture_tests/tests/telegram_extension_gates.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcf4cfb49fbf1e38691bcca30690996a3da317f07e8132bb599de0c5d64a7f2"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060msg.contains(\u0022after_turn\u0022)\u0060 can never decide this \u0060\u0026\u0026\u0060 \u2014 every value satisfying \u0060msg.contains(\u0022install_builtin_after_turn\u0022)\u0060 also satisfies \u0060msg.contains(\u0022after_turn\u0022)\u0060, so the \u0060\u0026\u0026\u0060 chain is already decided by the former. The expression is equivalent to the chain without it, which means it is narrower than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/loop/ironclaw_hooks/src/dispatch/mod.rs"},"region":{"startLine":5367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1e3e0695c8e11b7decbb97fb1c2e3c2a9e6d2f546383dc6bc5df4deb931887"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060message.contains(\u0022internet connection appears to be offline\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060message.contains(\u0022internet connection appears to be offline\u0022)\u0060 also satisfies \u0060message.contains(\u0022offline\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a257bfd03218dacd74f80b7989c8f02384eb62d3577e6ff8dc71a7d3c9f1c"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060message.contains(\u0022connection refused\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060message.contains(\u0022connection refused\u0022)\u0060 also satisfies \u0060message.contains(\u0022refused\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/domains/ironclaw_trace_commons/src/contribution/remote/claim.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d41b7e403d68c5cb364a94dfb83fdb6f779bb25f47f5c1cc4e623bdde712777"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"CWE-345","shortDescription":{"text":"CWE-345"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":82,"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."]}]}