{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack (cyclomatic 20): StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack 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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a44bffaa9130c3b350ba27538c419702653a5907e3f8848156d74875470f7"}},{"ruleId":"D2","level":"warning","message":{"text":"StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack (cognitive 47): StackViewWithCustomPredictiveBackKt.StackViewWithCustomPredictiveBack has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 25). 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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f995989803dac574fdc4943629166cf1ed9eaa04a74c8248973fff70b602a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:40-88 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:46-78 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:41-158 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:42-74 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:76-123 \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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe70dc84062f7408a1e19e25a83c23137f7a7ae31bc2918e316ed222af571987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:259-305 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithDefaultAnimations.kt:43-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea2132af1e4ae7768894ee9ad80cebd657dc05026ce00ba6e7701875f419d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:83-120 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:145-184 \u2014 both copies are in the same file, so extract the block 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 \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:83\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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd9d7e85b622dc2df43eb67e96cf73cc1acfe8419063926176d07aae758e811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:47-83 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:79-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02036bc50fe8a335e4ad89da608f4fba1ccba04882f51ff50dfe3614e893461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:47-78 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:43-74 \u2014 before extracting anything, compare \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt\u0060 and \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f667dfe1bd40b876dde83f0c8479b51df426f1b876829f085ee31cc9cb7c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201330 lines \u00D7 2): component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt:17-38 | component-toolkit/src/wasmJsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt:17-46 \u2014 before extracting anything, compare \u0060component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt\u0060 and \u0060component-toolkit/src/wasmJsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c9f516acfc74e751eb00d22215efd775acc8a8e8071dff4755552847de42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt:88-114 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/settings/SettingsTopBarViewModel.kt:85-111 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/topbar/Demo3PageTopBarViewModel.kt:89-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"089500fd217b5ce68bf45746051cda8804503ff545c19d6aee581448e7e821e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt:14-31 | composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt:14-31 \u2014 before extracting anything, compare \u0060composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt\u0060 and \u0060composeApp/src/wasmJsMain/kotlin/com/macaosoftware/component/demo/WasmPluginManagerInitializer.kt\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jsMain/kotlin/com/macaosoftware/component/demo/JsPluginManagerInitializer.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a732d754da4f23a568a398647dbf215ca78a87d58e57923a9407e0b86b86f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:47-61 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:134-148 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:43-57 \u2014 before extracting anything, compare \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt\u0060 and \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:47\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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cf059431f075280ddbf2056306fb1469b4489d40902c62211bae04089fb39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:63-77 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:124-139 \u2014 both copies are in the same file, so extract the block 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 \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt:63\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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6001426af12e2ee42dac8a2b78b578c51f7ace2b1d0e9eb54c4f862e102a6557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:47-60 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt:48-61 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/pager/PagerDemoViewModel.kt:135-148 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:44-57 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt:79-92 \u2014 before extracting anything, compare \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/drawer/DrawerDemoViewModel.kt\u0060 and \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/panel/PanelDemoViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt:47\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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/bottomnavigation/BottomNavigationDemoViewModel.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ed4fabeb5c04e0738e60f350f1d29f4f80ef82ec94e0e7bfd36a66fe52b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt:89-99 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt:86-96 | component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt:85-95 \u2014 before extracting anything, compare \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ff5470401277b66936c5670fe9e3e2f3f6442947e9ccdad9c2c1969ad280ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt:116-124 | composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/settings/SettingsTopBarViewModel.kt:115-123 \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 \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/settings/SettingsTopBarViewModel.kt:115\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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/home/HomeTopBarViewModel.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"472fa71670636f171d592002cd6eef266efb0f2f2ad3eead969f00847404070b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :component-toolkit: :component-toolkit: abstractness 0.28, instability 0.00, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"409ce1a5e7c5c6d5d0cd9060362f145f70d4cfe1e47adb1ae55e4acd36b08607"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (JUnit (with Kotest or MockK on Kotlin)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Add the possibility to fecth a plugin by a specific id, not just the type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macao-sdk-app/src/commonMain/kotlin/com/macaosoftware/app/PluginManager.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf62fef405ffb9a407e4f2980ff202661e83968ed014098a4e3b1a072d7568ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove thios delay \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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/startup/DatabaseMigrationStartupTask.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6f97ae44820b9057b839c8520d2c90c4220b75c24c8008407a30b18257e663"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove thios delay \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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/startup/LaunchDarklyStartupTask.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bba093a251ba5d36f6da6ecab2969b1884fd6b5ab6fa18592baf2e189234768"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove thios delay \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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/startup/SdkXyzStartupTask.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfcc6503d38fcf622f8ab00f67cbde84e60377da1d5885cae1a21f328f1e6c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this, only for simulating a network request \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":"composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/startup/DemoRootComponentInitializer.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51840442e24c5214c47ca05ccd53046218364a194c2ec650b29c83e9189995f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Do not calculate this here because it triggers recomposition \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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbd130a8117846e5a62e5fed11d5161583a12d7bcfc2ec412c5f204007510b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract this to a helper class and Unit test it \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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/pager/PagerComponent.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ed81bb606d4de924f63c8a9598014be7a564624a35227b50024009f39249a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // By convention always stop the previous top before starting the new one. TODO: Tests \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":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c335d75cab3c1f4c2c0a83c0594aab29e14422686c7f20943a38496fb6cf10"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060component-toolkit\u0060 (5013 LoC, 213 module-visible types across 25 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":"D34","level":"note","message":{"text":"Dormant codebase: 33 of 33 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 33 separate risks. Counted over 33 of the 131 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithCustomPredictiveBack.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41893b51569fbc59b01d2cac94a903de77212b5f980a86cc2ef362cdae1a6222"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/adaptive/AdaptiveSizeComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b80c374b474b588c64d0383918743fb23031ecb930c7e95ff831ac651157e80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/pager/PagerComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c9ff21a99a7bdf69823c9ef063b5d5824d4bd4c246f19b65d995bc1163afe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/topbar/TopBarComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6d1eaa8438d2a878907751c5e24246a443df57652f50d37c659d6f43d583de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb436a4c5ee108ea4a8ff443b6f020ffa792987e70c512c91640e02ba2ca9a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/pager/indicator/DefaultIndicatorView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9f78258818b593f1362e7b593f1cd71a042e9f0a5892dcb2043fd97e4ba85a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"915ae093660fb9ac3f6d34e9e9ed5836ad8b2bceea345d95f7c282f7f219baf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa2251388228b225d6df6a6c2541d24466bd7235e54f7a82c4b4f03115bd049"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f279038d7ed68209215439a5b9c5297713bb8dec8758d3abda4d82a0ce6b6308"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/Component.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9684d9a0ebf9aaea67ccb43b562891caf983a5a5b51309e1783d45927d18378"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a09466f81d1f45810da72f395320df007f03323e8c30b7e6318ff8e84f319a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff8debcbca1d0eb473480694d4a19f6e850cb6ed69553679eedd19ef86f0824"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macao-sdk-app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63a6ff61b50df7834cfad47af7af83fd1d1acbeb6f897debbbd60fa614f6f28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/jvmMain/kotlin/com/macaosoftware/app/WindowWithCustomTopDecoration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8c2a81c677c5d6a336412148e4e24bfcee91792c4d83b15fac9428129eb59c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63c902196371bf5d30f131a2e793b597169686820ee36e01aeabb17959c23a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b407c42b1c3bb99c3c7bd822589d12d3f929e753b7b0a199b8686abbf85fdad6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d6fe45a0e9cec897c02b611c118a6adfa4d4af1bada929e8818dc76cefa654"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/plugin/account/AccountPluginEmpty.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c9883f0dfdb7b66b6d8d866b6e5ac5445a763330f584a4f3315d576da8ea4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6942be02e7b5f6113d247467e6769b1fd0ccf3b2b619660429627e93e048eb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06899674f1b5caae58c3442d30b219e51fd08c2292293959beb4c698f27dcb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/androidMain/kotlin/com/macaosoftware/component/AndroidComponentRender.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a99c2ad9ce910983b8085c32be5fc2d113a42d94dbb649a2dd06e2dc73924c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/plugin/account/AccountPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bd75b019a33febccc923513815b262761d0b8b1a2a2df87d3ece492052640b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerStatePresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed52beb4fa20cf331cec85b2ef472f36e76d16fb84a0d526836e8a87f8bfde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/util/BackPressHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"523c37fa8e8e8b8798980cfaeb3ad231940767f946655b24fe358d3ecfc61245"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/BackStack.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58122acc1adabe5f990e68db9a217bc82e9927115746dfda9394d2f5508509f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macao-sdk-app/src/commonMain/kotlin/com/macaosoftware/app/MacaoApplicationState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e98a55beb57e594654ff6f6c944ae06cbdf24f0e914407a3d45fb78d122174"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/topbar/TopBarView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4896b9da033f7930cb45c15f6c6775588f88f37eee7bbb7bdc932d452f8ea7e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackViewWithDefaultAnimations.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfac8028ad54fbc84b431fac16885dc310b6ca5c22a012c2321bf26c221e4eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/androidMain/kotlin/com/macaosoftware/plugin/backpress/SystemNavigationUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2833e1e67a17e90e8a02c0f6d2f523f15dc1d919de78413c2cc980ec9091d2ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationStatePresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"059950b706e1cd51beb1abb557976c53d198fb0adae0bc8477de89627998d7f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelStatePresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee07c55d089885e0fa0fa495c3d81977dad07f43f7c4c683447e78283a4de98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/deeplink/DeepLinkManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89a68f5eaeb9bdbfb0b1a151e9537fbd82b7dac4cf621eb75027a0c34daf585"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c29a5d8f2edda538c5fddd205341750fe7b6461d294b912829537702add562"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: DesktopComponentRender.kt \u2194 MainWindowComponent.kt: \u0060component-toolkit/src/jvmMain/kotlin/com/macaosoftware/component/DesktopComponentRender.kt\u0060 (context component-toolkit) and \u0060composeApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060 (context composeApp) sit in DIFFERENT parts of the tree yet change together 58% of the time (14 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006008196489\u0060 Commonize MacaoApplication. (#370); \u0060757b318b\u0060 Cleanup platform bridge remnants. (#351) (at that commit the file was still \u0060jvmApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060); \u00603c5a5891\u0060 Remove the callback lambda previously added in DesktopBridge. (#272) (at that commit the files were still \u0060component-toolkit/src/desktopMain/kotlin/com/macaosoftware/component/DesktopComponentRender.kt\u0060 and \u0060desktopApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/jvmMain/kotlin/com/macaosoftware/component/DesktopComponentRender.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4dd58044e2236b908d29c0da9f3b2fb8dea1fb7e9191ff4be59b86b374e3e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: BrowserComponentRender.kt \u2194 MainWindowComponent.kt: \u0060component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt\u0060 (context component-toolkit) and \u0060composeApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060 (context composeApp) sit in DIFFERENT parts of the tree yet change together 50% of the time (10 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00605ae979de\u0060 Remove Platform Bridges classes in favor of PluginManager or Dependen\u2026 (at that commit the file was still \u0060jvmApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060); \u0060749dee06\u0060 - Implement navigateToDeepLinkForResult to pass request/response betw\u2026 (at that commit the files were still \u0060component-toolkit/src/jsMain/kotlin/com/pablichj/templato/component/core/BrowserComponentRender.kt\u0060 and \u0060desktopApp/src/jvmMain/kotlin/com/pablichj/templato/component/demo/MainWindowComponent.kt\u0060); \u0060b4844ad8\u0060 - remove Router and access handle deep link directly at the Component\u2026 (at that commit the files were still \u0060component-toolkit/src/jsMain/kotlin/com/pablichj/templato/component/core/BrowserComponentRender.kt\u0060 and \u0060desktopApp/src/jvmMain/kotlin/com/pablichj/templato/component/demo/MainWindowComponent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/jsMain/kotlin/com/macaosoftware/component/BrowserComponentRender.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16387e22140b8893a8d8a6ac0d58f1fef36242c901c784690932ace72f9657f8"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ComponentWithBackStackExt.kt \u2194 SettingsTopBarViewModel.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 (context component-toolkit) and \u0060composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/settings/SettingsTopBarViewModel.kt\u0060 (context composeApp) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00606e6c35e0\u0060 Rename uriFragment to deepLinkPathSegment. (#336) (at that commit the file was still \u0060shared/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/SettingsTopBarViewModel.kt\u0060); \u0060e0351c5b\u0060 - Rename BackstackRecords to BackstackInfo (#315) (at that commit the file was still \u0060shared/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/SettingsTopBarViewModel.kt\u0060); \u006039186bc9\u0060 - Adds replaceTop(Component) and top(): Component? functions to Navig\u2026 (at that commit the file was still \u0060shared/src/commonMain/kotlin/com/macaosoftware/component/demo/viewmodel/SettingsTopBarViewModel.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf811e29a18318819f85537e47e439f25feb8b11e4652111d3ba6aa9e9e5260"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MainWindowComponent.kt \u2194 MacaoApplication.kt: \u0060composeApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060 (context composeApp) and \u0060macao-sdk-app/src/commonMain/kotlin/com/macaosoftware/app/MacaoApplication.kt\u0060 (context macao-sdk-app) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060623fd8be\u0060 More work on the initializer API (#377) (at that commit the file was still \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/plugin/app/MacaoApplication.kt\u0060); \u0060e7623ba7\u0060 Implement App startup initilization off the main thread. In default d\u2026 (at that commit the file was still \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/plugin/app/MacaoApplication.kt\u0060); \u006008196489\u0060 Commonize MacaoApplication. (#370) (at that commit the file was still \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/plugin/app/MacaoApplication.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cefe21378bb50b370e89a927940bb4de0b30157c9055c02577848f446e7ddb5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ComponentWithBackStackExt.kt \u2192 BottomNavigationComponent.kt, DrawerComponent.kt, PagerComponent.kt, PanelComponent.kt, StackComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt\u0060 changes together with 5 other files \u2014 \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/bottomnavigation/BottomNavigationComponent.kt\u0060, \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt\u0060, \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/pager/PagerComponent.kt\u0060, \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/panel/PanelComponent.kt\u0060, \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackComponent.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 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 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/ComponentWithBackStackExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e8f7daca6ff40efc87a4c08b4a8d7d5a19e3f3d1ca2c9a6026ada8460c1ba7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainActivity.kt \u2194 MainWindowComponent.kt: \u0060composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/MainActivity.kt\u0060 and \u0060composeApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060 change together 58% of the time (7 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 7 shared commits counted here, the most recent 3 are \u0060c9acebf1\u0060 Refactor a bit Initializer API. (#378); \u00601c6365f8\u0060 Decomonize PluginManagerInitializer (#372); \u006099d4f287\u0060 Rename some classes and functions. (#352) (at that commit the files were still \u0060androidApp/src/androidMain/kotlin/com/macaosoftware/component/demo/ManualDiActivityDemo.kt\u0060 and \u0060jvmApp/src/jvmMain/kotlin/com/macaosoftware/component/demo/MainWindowComponent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/androidMain/kotlin/com/macaosoftware/component/demo/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1737189021d6b85f812dbde360c6afb971d139349fdad9da1974d4f32918ce3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NavigationComponentExt.kt \u2194 DrawerComponent.kt: \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/drawer/DrawerComponent.kt\u0060 change together 54% of the time (7 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 \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 7 shared commits counted here, the most recent 3 are \u006094fba15d\u0060 - Completely remove NavItemDeco class and prefer specific nav items p\u2026 (at that commit the files were still \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/drawer/DrawerComponent.kt\u0060); \u0060e583ab18\u0060 - Start removing styles from NavigationComponents to State Presenters\u2026 (at that commit the files were still \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/drawer/DrawerComponent.kt\u0060); \u006031b077e2\u0060 - Create a default empty view for components that which to provide in\u2026 (at that commit the files were still \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/NavigationComponentExt.kt\u0060 and \u0060component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/drawer/DrawerComponent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/core/NavigationComponentExt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3849c38df032a6bb02f5bfdd33f4661264841a728c1e8996bb58b487496616"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 222/230 types (97%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeComponent.value != null \u0026\u0026 !backstackInfo.isTopComponentStaled\u0060 appears character-identically in 2 files \u2014 component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackComponent.kt, component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/topbar/TopBarComponent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"component-toolkit/src/commonMain/kotlin/com/macaosoftware/component/stack/StackComponent.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c974abc989f89a5c8af286f9065a8e4447d3d32f4905ffc966052c1f7a968e27"}}],"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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}