{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM8","name":"Value-object opportunities","shortDescription":{"text":"Value-object opportunities"},"helpUri":"https://codehealth.canine.dev/dimensions/DM8"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"event.Test (cyclomatic 34): event.Test has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/event.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db3cbd1248e2373eca20802eebf74b28b02ae205f8bbb8b2c35cfda9062ff48"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStore.buildQuery (cyclomatic 28): EventStore.buildQuery has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/postgres/store.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a236760d7c8db8c33d2a55704823c83a88356eaf22d0fbdd82767283cef10"}},{"ruleId":"D1","level":"warning","message":{"text":"eventstoreui.LoadConfig (cyclomatic 25): eventstoreui.LoadConfig has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/config.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cdbb2d96c1a4a33f24b6848ca286882f0adb5356dd71201f161b4fddda0a16"}},{"ruleId":"D1","level":"warning","message":{"text":"query.Test (cyclomatic 20): query.Test 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":"aggregate/query/query.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2cbb48272d58070743da0add0ab5b7e77421adf28d4589889e1091b521bf5c"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.handle (cyclomatic 20): Handler.handle 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":"command/handler.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f52fe2dfbf778786100d3dfa2c7880094cdc66dd25f0ca9ab3c536594530c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.processOnce (cyclomatic 20): Service.processOnce 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":"workflow/service.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dfa681ba9f60d9e18b76f11c1f7c4f2ce331298831e001a6fbe821e6d469d2"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStore.Query (cyclomatic 18): EventStore.Query has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 43). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/query.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"80077c81a32b59f66516dee5b7a97446d14921b6a0bc6193992a29a605b8cc60"}},{"ruleId":"D1","level":"warning","message":{"text":"effectState.apply (cyclomatic 18): effectState.apply has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/effects.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5962c58510bb6edf9e81af15d6b9798d88c2625f4726ad3e982ed0870771bc"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStore.Insert (cyclomatic 17): EventStore.Insert has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38523870fdbad06d951a168ac3cd68e551b436614356d2a5cccb6e22bcdfda9"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStore.Query (cyclomatic 17): EventStore.Query has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 757). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"0754123d40b7ce794172cabce2938b43ec692712d3bfce891d65f32bef385813"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStore.drainConsumer (cyclomatic 16): EventStore.drainConsumer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/query.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2569d122fc801f024102bc727b89dbfab9fc746013a821f26f76a94e800491a4"}},{"ruleId":"D1","level":"warning","message":{"text":"mongoReader.Events (cyclomatic 16): mongoReader.Events has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c41f8a45b19a9ceae4b86f45521698b92841db6d0d81c33a5e521a728984ab"}},{"ruleId":"D2","level":"warning","message":{"text":"event.Test (cognitive 45): event.Test has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 14, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/event.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee452c4958b8521b16abdb351696aa12e68c6c38c04c7f0233142a595954327"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.buildQuery (cognitive 44): EventStore.buildQuery has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (31 pts), loops 4 (10 pts), match/switch 1 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/postgres/store.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8bb4babdecdc6457e25a0bca3cbd20618a00bb1d6d83314fdd24dfc376d407"}},{"ruleId":"D2","level":"warning","message":{"text":"query.Test (cognitive 38): query.Test has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/query/query.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf033c78774cf661227c88a0b30800af097dad306eebe0d310f70dc8b6904d37"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.handle (cognitive 36): Handler.handle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 5 (17 pts), boolean chains 1, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"command/handler.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d67e9ab24f568991e4b78212e819fe4879959fa19f21af9719921e1b0e9b7a3"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.drainConsumer (cognitive 35): EventStore.drainConsumer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 3 (10 pts), loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/query.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38bf4a46c4a511a8e5b1a29c2208a55987adb5f789517d36f3862c59ffa7b89"}},{"ruleId":"D2","level":"warning","message":{"text":"Expectations.Events (cognitive 35): Expectations.Events has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 4 (11 pts), match/switch 1 (2 pts) (nesting depth added 24). Most of this is not in the body itself: 0 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 145). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/eventbustest/expect.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc667c1c23b1c4d8fd8a71d4e771824f2e6fe3798ba9d57a3db51399fc331e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"eventstoreui.LoadConfig (cognitive 33): eventstoreui.LoadConfig has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/config.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e8c14e48d4b1909142b21013a4476ffe9e6db798cd4b2c132e5f037112a096"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.Query (cognitive 28): EventStore.Query has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 3 (10 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 43). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/query.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"519ebeb885b9a7241b11cf4142fe85e386b4d105497cf4db49e84e6357ac7276"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.processOnce (cognitive 25): Service.processOnce has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/service.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25fb55da834b30692190d7d846371e033baf4935ff837d897662ea19371e51d"}},{"ruleId":"D2","level":"warning","message":{"text":"subscription.work (cognitive 23): subscription.work has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts), match/switch 2 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/nats/subscription.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"332db45662988e5b51f06a09a95d38ba9bf871949e905719b7e06629fbb6537d"}},{"ruleId":"D2","level":"warning","message":{"text":"effectState.apply (cognitive 22): effectState.apply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/effects.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f91477814a2ecc5719be95e89f3b558348462f3583fe9934ecb2a61be650c"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.Save (cognitive 21): Repository.Save has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/repository/repository.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e97e39e664f759c6805fb08f456a460591d4b65e151f01646083846be31a5"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.Query (cognitive 21): EventStore.Query has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 6 (8 pts), loops 2, jumps 1 (nesting depth added 8). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 757). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"61190b59906a3f6aaebc325f15babc4f8ab36b72c333ef6c1c15f78b49171ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregate.ValidateConsistency (cognitive 20): aggregate.ValidateConsistency has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/consistency.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f18df1d93a9969f9c4060e5ce9fd73de5a5d1a16c66991f2e9057cbe7c3bc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.Use (cognitive 20): Repository.Use has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/repository/repository.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f67b444c6994d37e587aa7cadfa16c26694502ab23079233a2d63e4618bab"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.Insert (cognitive 20): EventStore.Insert has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, loops 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d272bd64c17f145009a4f888d420ba37eceba2dad4c75d402e31d629fe7fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"mongoReader.Events (cognitive 20): mongoReader.Events has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"846b3cce828a92134bedbceee2a6786edf887fe1d853a7a5542db77008ba937d"}},{"ruleId":"D2","level":"warning","message":{"text":"streamCatalog.page (cognitive 20): streamCatalog.page has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/streams.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d5b8a200b0ccee3be7a954cff1d97f2825c80b0951c02741a0ec4d8848183d"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.Delete (cognitive 19): Repository.Delete has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/repository/repository.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a55066ef07cc25cf708f5b5f30745b9c0a9d83664b1b32bfc7cf2f179ce28"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.acceptEvents (cognitive 19): stream.acceptEvents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), jumps 2, loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/stream/stream.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75510a2af5d25db1987b2916b07ad3499d0f0e3ae4ce068a3e7912f55c813a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.dispatchCommand (cognitive 19): Service.dispatchCommand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/effects.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df4cc48ba61a2ab2ebdc00aaf187ade5304687c872466a06d2dbfc2ef87110"}},{"ruleId":"D2","level":"warning","message":{"text":"subscription.addStream (cognitive 18): subscription.addStream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/bus.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b39aecf6648c281ea4f52efbd0430d4a85ccbc7bbddb13e9fc699f606c8669"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.Query (cognitive 18): EventStore.Query has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 5 (7 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 649). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/postgres/store.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb0ae02ca2295fe3c150ef2b47672ca291d2bc1f913791a6cd0f67495a6d48b"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.NewService (cognitive 18): workflow.NewService has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/service.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e970c6674dbd96911b594cec46afb0f023bc7afedd771101fdb1807543cb7274"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.Insert (cognitive 17): EventStore.Insert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/postgres/store.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"91db3361d9db3fb7253e7a40f7b698f9ead710550babe6ec3cbb0f5133273e11"}},{"ruleId":"D2","level":"warning","message":{"text":"eventSubscription.work (cognitive 17): eventSubscription.work has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (7 pts), match/switch 2 (6 pts), if/else 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/eventbus/bus.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"194114dbf0af52af3fa5dd16d90a1ec12ec11088667d1d696a9403d44c4f380d"}},{"ruleId":"D2","level":"warning","message":{"text":"postgresReader.Events (cognitive 17): postgresReader.Events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/postgres.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d708650dc9488065d3de5bdf81f3532fa298f0ec16b69dffa1fd5e1e7d7171"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelRepository.Use (cognitive 16): ModelRepository.Use has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). Most of this is not in the body itself: 0 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 180). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/model_repository.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5cd6c689bee6d301d99db695a96d42a798ff964de1890736eff31630861a3b"}},{"ruleId":"D2","level":"warning","message":{"text":"Expectations.Event (cognitive 16): Expectations.Event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 0 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 110). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/eventbustest/expect.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e3cdc7488a2c47a5292751e6055753f02baa1756cc412c6d0825d3b47548f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Base: TooManyMethods \u2014 36 methods, declared across 3 files: workflow/events.go (24), workflow/workflow.go (10), workflow/snapshot.go (2). The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/workflow.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e6423fb991247534bc2ecf5ab3f78d5628e34b07ebdc4dcfac189b462819b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongo/store.go: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a80ae9a609ef94ffed31dfab7ae99fe84b9279029941bd3b5a3aec9069b99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): backend/mongo/snapshot.go:386-411 | backend/mongo/store.go:964-989 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/mongo/snapshot.go:386\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":"backend/mongo/snapshot.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3edba6cec0261ea0d3cd7bdd5e294fbbd129ab9e12b6675592c3c5182d0dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): backend/nats/core.go:85-105 | backend/nats/jetstream.go:252-272 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/nats/core.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"972390fce735915ebfb8dcaa039f7777d8119bd81aaa6e6d032a70645083bd85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): aggregate/snapshot/store.go:69-88 | event/event.go:311-329 \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 \u0060aggregate/snapshot/store.go:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060event/event.go:331\u0060 calls \u0060Aggregate\u0060, \u0060AggregateNames\u0060, \u0060stringsContains\u0060 and \u0060aggregate/snapshot/store.go:90\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/snapshot/store.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc95f081ad7f020dd58fdf4554abbe52da94d72ec4635633e678ec11a2739bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): contrib/auth/actor.go:253-272 | contrib/auth/role.go:115-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/actor.go:253\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/auth/actor.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"da773bd89abec6ec102a4870b408b1c7cfa5a00361c2d00ee32b6b03f98b6d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): contrib/auth/actor.go:309-328 | contrib/auth/role.go:169-188 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/actor.go:309\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/auth/actor.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d1cd6601b7cf03cd5ba4f34652bc680cd687a934dc638f716044e7f46a1daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/nats/core.go:64-82 | backend/nats/jetstream.go:231-249 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/nats/core.go:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/nats/core.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fee1727736681d93109a2024ac6f6b35dd0925a668e7a9682bb55d38d9996a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): event/query/time/constraint.go:114-131 | event/query/version/constraint.go:126-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"event/query/time/constraint.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8fa277b8a7c20eed57e2250581cfc4be6b849bfb6fbbfebedc51396fa43d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): aggregate/query/query.go:211-227 | event/event.go:344-360 \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 \u0060aggregate/query/query.go:211\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":"aggregate/query/query.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"279738bba6835fec9b077390745a6545ee69bb4bdd6b97a229525bb068ad28e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/mongo/store.go:407-423 | backend/mongo/store.go:632-648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/store.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27f12a8b23c6b621ebc0e6b848d0f05b50159d3d42a9f2335771f54440dc87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): contrib/auth/authrpc/rpc.go:140-153 | contrib/auth/authrpc/rpc.go:183-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/authrpc/rpc.go:140\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":"contrib/auth/authrpc/rpc.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5521811af184fda5315c808faba60a52b33adc38cfa3d66c6b589cc3ea58d40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): event/eventstore/store.go:147-160 | projection/job.go:503-516 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060q event.Query) (\u003C-chan event.Event, \u003C-chan error,\u0060 in one and \u0060events []event.Event) (\u003C-chan event.Event, \u003C-chan\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/eventstore/store.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b069f721c42d2a47fe00db486d28ad8c02382a9c8b6d6580cdd9faf65fb8267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/eventstoreui/app.go:173-186 | internal/eventstoreui/app.go:208-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/app.go:173\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/app.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9549c8c0444f1c4d63bb7d020ee90518e79149dd6c7a66edd516888b13c87ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): projection/schedule/continuous.go:165-177 | projection/schedule/periodic.go:76-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060projection/schedule/continuous.go:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060projection/schedule/periodic.go:75\u0060 calls \u0060Stop\u0060 and \u0060projection/schedule/continuous.go:164\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"projection/schedule/continuous.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df0f58d3b7f322c8dbcf56001078fdf17128298a9e1f91ada08fa27a350969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/testing/eventbustest/expect.go:130-140 | backend/testing/eventbustest/expect.go:186-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/eventbustest/expect.go:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/eventbustest/expect.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"af76faf2606f7d63d425cc90b2215055ac1dcb2711cb449ba97d58bb1fcf4865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): internal/eventstoreui/mongo.go:403-412 | internal/eventstoreui/mongo.go:506-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/mongo.go:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4749d4e571e3c55b50a2226603d60b59a6cae95a9a4d427f772bf7e13920cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/eventstoreui/mongo.go:412-422 | internal/eventstoreui/postgres.go:294-304 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/mongo.go:412\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c75993a0db197fd37e46e07943dc80e2648b552b4cbd4a01bcae2911072696f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/eventstoreui/mongo.go:516-526 | internal/eventstoreui/postgres.go:393-403 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/mongo.go:516\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a2f4c109da3fbf5f1f83100f1229b8a2c4fdd453b6ae7faba075aaac36f6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/eventstoreui/postgres.go:284-294 | internal/eventstoreui/postgres.go:383-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/postgres.go:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/postgres.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8ff5b60f69608f951358143bd4ef3756cc3ef2c1503ebb7a8d7d402216f5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): backend/mongo/snapshot.go:375-383 | backend/mongo/store.go:1061-1070 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/mongo/snapshot.go:375\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/snapshot.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"439400df956f9b0324733db55fd7e817a5a86d32dfbe6f6fa5783f86bd7ead94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): event/eventbus/bus.go:266-275 | event/eventbus/bus.go:290-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060event/eventbus/bus.go:266\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/eventbus/bus.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2564d47e1bdaafe92165130ebba0c17ec84bbc65b61054ab0f3a415d37af0c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): projection/schedule/continuous.go:180-189 | projection/schedule/periodic.go:91-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060projection/schedule/continuous.go:180\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":"projection/schedule/continuous.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"877191b5bc94a2b857b52d0b77a3b523113225e4b19f0bdad1e48de7442505cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/mongo/snapshot.go:413-421 | backend/mongo/store.go:991-999 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/mongo/snapshot.go:413\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/snapshot.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b9f8c59580c5290eae48139dc70f138f5f37787c4a82e38e3cc149d949540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contrib/auth/authrpc/rpc.go:164-172 | contrib/auth/authrpc/rpc.go:207-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/authrpc/rpc.go:164\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":"contrib/auth/authrpc/rpc.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40dd2486f5d859f4daa9a06167ffef0922ee91301ac2503ee51606fca32034d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/testing/eventbustest/expect.go:119-126 | backend/testing/eventbustest/expect.go:155-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/eventbustest/expect.go:119\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":"backend/testing/eventbustest/expect.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f754eece2e7701a09075e5e917b4ca4a098a49937c8d332d0ca797ac02753728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contrib/auth/commands.go:147-154 | contrib/auth/commands.go:160-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/commands.go:147\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":"contrib/auth/commands.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc2cba325ac9acdee26a60c379a940aefc77748ebe95e1f44c144b72cab804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): contrib/auth/http/middleware/middleware.go:47-53 | contrib/auth/http/middleware/middleware.go:72-78 | contrib/auth/http/middleware/middleware.go:116-122 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contrib/auth/http/middleware/middleware.go: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":"contrib/auth/http/middleware/middleware.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c7e2d9273a0a9d1b1c66f60925fc626655d61b87d4a8670b6916a52450dd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/mongo/snapshot.go:120-126 | backend/mongo/snapshot.go:146-152 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/mongo/snapshot.go:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/snapshot.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c19a6f0108beef5b54055df5b105b2990ec3512428af8a627df5f2d5678d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/xaggregate/shuffle.go:13-19 | internal/xevent/shuffle.go:13-19 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/xaggregate/shuffle.go:13\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xaggregate/shuffle.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd40150bd0dc0e73f79e28621906a465a0990bad6db26f0f2bb382ced1aaabd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/eventbustest/core.go:102-107 | backend/testing/eventbustest/core.go:216-221 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/testing/eventbustest/core.go:102\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":"backend/testing/eventbustest/core.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a1e24256ad6210e63e556c8598a09b079442c8053e2aa6b2e1c62a7ab0594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/mongo/snapshot.go:336-344 | backend/mongo/store.go:1009-1016 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/snapshot.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54f50447d091cdfb83e6fa3ddf115b40f68dddd8fa35947fdae50b711bd706c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/mongo/snapshot.go:346-354 | backend/mongo/store.go:1018-1025 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/mongo/snapshot.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a485225986bab8b6ad8ae5799334f4d8c3d93956cbecdfd8a39227bc84a3626c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contrib/auth/granter.go:248-253 | event/handler/handler.go:146-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/auth/granter.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537359fc840a64f88fde1398df7f64bb68160552618750277994d26f576f897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): event/query/time/constraint.go:192-204 | event/query/version/constraint.go:207-219 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/query/time/constraint.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"862db67cde6c256cdcc1630528d166012bdf6f5d80ede8e0509d642d6d949f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contrib/auth/projector.go:46-55 | projection/lookup/lookup.go:247-256 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060proj *PermissionProjector) Run(ctx context.Context) (\u003C-chan error,\u0060 in one and \u0060l *Lookup) Run(ctx context.Context) (\u003C-chan error,\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/auth/projector.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1373b95dced1d53309b6f685cbd4781e2fa40729eaf2c4edb83d6d752d44d65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/natsjs/delete.go:18-30 | backend/natsjs/insert.go:22-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/natsjs/delete.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3494ef798871fd5cf2b2cc1fb7640b91e86d4a78aa17be88a77aba7fc42fdaf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/eventstoreui/mongo.go:344-352 | internal/eventstoreui/mongo.go:465-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/mongo.go:344\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e40ac6643e9bd1c1b2dcbcb5b21dd17f5dfb12a26193c8eba71f309ab1df66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/mongo/store.go:1041-1046 | backend/mongo/store.go:1051-1056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/mongo/store.go:1041\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":"backend/mongo/store.go"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d0b43387c90760de2687c9ae2025e8620daa75ec6abd011bc2011c12f1738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/eventstoreui/postgres.go:277-281 | internal/eventstoreui/postgres.go:376-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/eventstoreui/postgres.go:277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/postgres.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"21650e800d5c01074bd787bd992f8d129aabc8ce46f7915a7688523c55b07a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/workflow/cluster/main.go:127-138 | examples/workflow/cluster/main.go:174-185 \u2014 both copies are in the same file, so extract the block 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 \u0060examples/workflow/cluster/main.go:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/workflow/cluster/main.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4170a35f2b45f0bbf5b535d9c92ac5295b37acc1f46ca2479e1e396e2da5d3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/workflow/basic/main.go:65-70 | examples/workflow/cluster/main.go:62-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/workflow/basic/main.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c5246933ab05b796534c5db10b1808b5336e1d03425966a2c7a6bb269ed1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): examples/workflow/basic/main.go:189-198 | examples/workflow/compensation/main.go:248-257 | examples/workflow/correlators/main.go:251-260 | examples/workflow/recovery/main.go:177-186 | examples/workflow/state/main.go:206-215 | examples/workflow/timeouts/main.go:200-209 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/workflow/basic/main.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd79825ea3300eb9ed21c081434a21e55ebcb327cb502731e16b364dd99c0ac3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: handlerContext (LCOM4 8): handlerContext\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/context.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c212ff7025dcbbeb28d78d51713668196a9ecc3fe1d7b24fb96c1a96d1774428"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InvoiceWorkflow (LCOM4 5): InvoiceWorkflow\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/workflow/timeouts/main.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d0715a700640077ecf2661d978eb7b9bfb8acde4e290be6c5bafd147f5a79b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: actionContext (LCOM4 4): actionContext\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"saga/action/context.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4a15ff1dd704885af75fc7257663fe582d5928d9f6a087782d741d75df934c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Base (LCOM4 4): Base\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"workflow/workflow.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c47621865ade1a0905b3e86ea0b901fb26b8a82bac6b27172223fe8d9f37b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/postgres/store.go: backend/postgres/store.go changed 4 times in last 90 days, max cyclomatic complexity 28 in EventStore.buildQuery at line 691. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-05-27..2026-08-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-27 20:49:15 \u002B02:00\u0027 --until=\u00272026-08-25 20:49:15 \u002B02:00\u0027 --full-history --no-merges -- backend/postgres/store.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/postgres/store.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"30171abd16bbcd313ce86d98d630945d6d65dae5912942be3b2c04d5f9cbc153"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/eventstoreui/mongo.go: internal/eventstoreui/mongo.go changed 2 times in last 90 days, max cyclomatic complexity 16 in mongoReader.Events at line 363. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-27..2026-08-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-27 20:49:15 \u002B02:00\u0027 --until=\u00272026-08-25 20:49:15 \u002B02:00\u0027 --full-history --no-merges -- internal/eventstoreui/mongo.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/eventstoreui/mongo.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51ee28feb32df38794766128ca0c17c78e26e1f73d23283c2f5fa5e452a687e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return an error if the aggregate does not implement Unmarshaler? \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":"aggregate/snapshot/encode.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de37db68b62e40ea3860c8087ee15130274d64034427f28c1832a802c4a3c2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bounoable): This should move somewhere else to not pollute this package \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":"contrib/auth/repos.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7c31693d8c8d51c35d9d02f5e9bc839078f07299de2ee03ce7f23ff12a0e91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bounoable): Test lookup of roles. \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":"contrib/auth/lookup_test.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5c904a24329c1bfdd362e55b2d96021bcca32bb5d3c4007e1b7917bc390a17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bounoable): List other event store implementations when they are ready. \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":"event/eventstore/store.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4a25851c26a6f8937afe62dba2ce44e472b592f5556fd878e868aafe0f2f76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bounoable): Actually implement the MongoDB Change Streams service. \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":"event/eventstore/decorators.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2e834376256d54c51d5fd49733480bc8fcab95e71499fb5f2131c77dfe8f8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // any package. TODO: delete package (?) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xevent/etree/etree.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"159118fe746829c7a9a8746a60818395a79b01634c4268337ec8cf1103ec4c72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove as soon as go natively supports nanosecond precision on all machines. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/xtime/xtime.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a17b94a43739fdf7459059672e175a1420fd44d0ebfac2e7713616ee48f607"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bounoable): Is this sufficient for avoiding collisions? \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":"projection/job.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ad353e7bffe9798ba684c99519299e4d9fcb38bd18721f283f9e2449c30f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The README begins with a long banner (goes - Event-Sourcing Framework for Go) but the body never states what the project does or its main value proposition beyond the Why goes? rationale. State the purpose of the package in one sentence above the banner so readers can skip past it to the core content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The Install section is present but only describes Go 1.25\u002B and a one-line go get; no real build or setup steps follow. Add Build/Run instructions for the package, including how to install dependencies (goes/backend/mongo/gob) and run the server."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The quick start is a minimal example but no usage examples appear in the visible portion of the document. Add one or two runnable code blocks showing how to create an aggregate, save it, and fetch it back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README files are the only documentation; there are no install, build, or setup instructions anywhere. Add a short Install/Build section covering go modules, dependency pins, and how to run the tutorial."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tutorial/index.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7365b344845ebf1f3d2ca725b2ebab32691caefdc4f93f982bb98be15cccb40c"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The README files are the only documentation; there are no usage examples or \u0022how to run it\u0022 in any document. Add a short Usage section showing one or two runnable code snippets from the tutorial."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tutorial/index.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"787db154cd4e02b885e9df3f562c4fe74b71546f746c72c68b4d9e52a4ba7b43"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no contributor guidance: The README files are the only documentation; there is no guidance for contributors anywhere. Add a Contributing doc covering how to submit pull requests, review workflows, and test changes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tutorial/index.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f2eb14caf14f5ff6db504d330bf39c7b0c45d65f0fa4c53bed4102dcb7ee29"}},{"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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fb9563de809251a1b7b037e0576b24519aaba0ca3b2ffc69243eac46362ac63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59d3bb87f9aa3d1ce602efb2efaa5d85e84f44c6ec482f97fa3320f9c215e619"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca3f78d768f727fc4cbcbd0d3b31c728232cd64d0e3ebbc4f967db00f21dcf6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f5744635bc03b397c723d692ef745fa97297f6b850bd26faad787afc98dd4d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad3f6d9137c37f2f4778e5d68633abee366b1525152959d8d807985a0a2c1129"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c930b52698b021299f166b6bb485920fd6e5688e6a75971e5513faf84896323"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"742700ef382124b9121a0d16c654d8d120e7170555e7aba9bbf3e8e9169522eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96e50cd48add79a91239162a87dab6c17608a05a7da11e26ed149915908a113"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68ea85e608ecab258dd81707a7a70c63b0e1e78848d0fdd1b77b5224ae1b3cf0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4228a3db886b85045aa7fa132212e00c19d24c4eea27acf2f0e74bd9aa41b1f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33dc91954cd4e2a882fc80ee1722bafead7bd759a8c2eb1009e8015d5cd6ad08"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"407832a02703cc47869099dc053799ee0adabd60212276d22ba40c759c03a89e"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fca7eb1e7298a2615267821615aa5eeb20eb440796556617864883b1b1c5ded"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51d7a4ebf24d382c99e24e470c2c7970ae10c5c417e6db32bb86ac733b2c1c6b"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4a43d2a82eb3866be91de1e7ee574d903f901f56a54e9d8165d4fc3cba61762"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b64feb023a6a60ad65e33b4a4b9d928da734a1386956571346970925d381876"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ab156a6563f347a405ef29e20ff8d2b1c7783b3d119e4662c5eaaa6c8b92f09"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c5c12a5f3125e99ad82f86d97c43e10325adc6bc620c2123431c74bdff6a0e6"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38164413a3e6e13bdd31522c4a115f8873d312ff7f61bf35a2d1d2ac10eb7856"},"taxa":[{"id":"CWE-300","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f7f518a2fae73703230d9c30b29f0d35c7e32b3acda052d2b882d4692047345"},"taxa":[{"id":"CWE-300","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10d0d3e5420da08b82b9645b3f31111a2e4d986ec47f3979d6122587dbdf750e"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06a30d2ec6fdb814ed8d9dbb1ddfce4f67acf9e62795237856fc02dd8f1a4910"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba06ed94c64aad9104f13c9290dcad943dfaa7456cc080bd2f16c93e72fbad59"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d94222fa9934edd47ba3a0ef99e3a7d85a9c2a0dac93507e5359a1abb9d5d840"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e3497dff39b29b75ac9960654bbb40b8974db0fe5077832fce62e57e7802e79"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d999f7f0da1c7805a61d7a77ca6e9d78cdf7e7d953cafe7b73d81759ae1a99"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"886742cb819e0d06775e459d9d2537b4092a998f50ceed613501acd86680b416"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a169f574a6a36b038c3df7e05d8c16f6fc2078a686c71fe137ea69e6cc7dd18"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdcc288b1a70ede21736327412885a3f7e7ce015f2d90dd2daf83181c5dc278e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73b4c604f16a17726b15a036f877df9bba3dda55b371967095d1f481995e6eb6"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"339e19777ba186ebe1efdbaeaeee5e377e35ffee8c00ae7b05a05466e2528f40"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57c29fba346d94647537eca2b6831be3fea5d9af5b1182c60123289c031249df"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc144f9c8bc417dc64b90ef5cf29021e7b929fe37fce7d26a65db5a2ac87b15a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71c29cf7c19f589b3122aeb1778d9b0b49ab5404a4f2e6d315fff3d07a4b3bb1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9897d5336294ca199ab9b0e8e7d6148d04503358d3f6983d3e70128f00527ad0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"236e16e096a669f1a322eca52a01aa48af5c2252d313ed9b48beb9f2f3fd98ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6db0cb6b498f92764e6e3c8d8e45c9f5558e656f27e42795793463dc9a7af14"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99248ca46994ddc232f29d8bb6c2b7577501aa5afa7e3b3371944e0c4898cf01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff55a8e66b4759357edf0484d9706365fdb2b5ebe5335870400dbc0d9cb122d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"185c9a2a9dc632a145dcdae21f6781bfa30a3cfb08d85e89fbc3f314ef3b8927"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b07f7579076628bd79d209a9a37ee15b3727086be16ddfbcf8b1646dd9b10be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/input/Input.vue"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1b0240bafb609f39422005b17c927846b43386a07f73b0b3cd2b5f23d247d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/layouts/default.vue"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcd9fb25a09cbe328152f22755152798fb28b2137ae44cd21e5649f4302670e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/events.vue"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7157879c2cd8658ac8f456b31b24af271245bcde6eb245b37779bb9a6ef5651e"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/login.vue"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"241fec6bbc6a821b94108aaeb601891db02115d4979ecde475b1c809fbda80d2"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-vuejs-accessibility) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 78 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: eventstoretest.testConcurrentDelete: \u0060eventstoretest.testConcurrentDelete\u0060 saves \u0060Context\u0060, \u0060Of\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/eventstoretest/eventstoretest.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"476cebc9a7c3a71ff95c974dd9f94ee9b3a64154b4b13e259455213723cda3a3"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: builtin.Handle: \u0060builtin.Handle\u0060 saves \u0060Repository\u0060, \u0060Store\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"command/builtin/handler.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"feef12be84abaf26e54894cac951755029003574a0d6ff5b8bb7fc9b5fd97df9"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Base: \u0060Base\u0060 exposes publicly writable state (ID, Name, Version, Changes)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregate/base.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cffd3b286a8146b7cc28eb6d47eb1e7cc8814ef4bdb6a6b25eac430039cd62"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): storeWithBus.Insert: \u0060storeWithBus.Insert\u0060 writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren\u0027t atomic \u2014 a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern \u2014 write the message to an outbox table in the SAME transaction as the state change, and dispatch it from there afterwards \u2014 or your platform\u0027s equivalent (a broker transaction, or an outbox library from your own ecosystem)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"event/eventstore/decorators.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce64954789e524f69e938974df66490f9536ecb98bcb4acaf645ec1ef1256002"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add gosec / govulncheck (or golangci-lint) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 5013 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":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): ui/app/composables/useEventsExplorer.ts:23 \u00B7 ui/app/composables/useStreamsExplorer.ts:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useEventsExplorer.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0139fb05d3557306b2ca0e3ca997e8db07d3879160c74dd8641d288561d095"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): ui/app/pages/events.vue:25 \u00B7 ui/app/pages/streams.vue:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 177 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/events.vue"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b176eaffcc6cda50d63de2286a940e0e687b15973381946ebe76a734c3f2ada"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ui/app/composables/useEventsExplorer.ts:55 \u00B7 ui/app/composables/useStreamsExplorer.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useEventsExplorer.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fc4f5bcdfe795c85701c1dd20fc72c7e24b4668e3429fb6f164e3c88fa3b87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ui/app/utils/format.ts:9 \u00B7 ui/app/utils/format.ts:18 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/utils/format.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5060c3426fc955698e9c20392d86cd89ca2f85472cb430a5b14a73916fb854"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): ui/app/pages/events.vue:57 \u00B7 ui/app/pages/index.vue:41 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/events.vue"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"48007a562d7f3f28ae0113c748686aa5cbd14cbeb2d018749b0f2008bcab872e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 13, cognitive 15): load has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/StreamDialog.vue"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16276ca34f68d0a24efe764d98ef7ed1ad5baa20824f2dbbbadc7bbb6da8fa"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~79 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useOverview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db5babdb58044451b418585679917436fe2a2505fbe584a09efc1f5484f60c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~74 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useEventsExplorer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2451d43a92c547b47d4fbe487bb3541a346a2690e775204cfe50e42129cbe04a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~70 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/streams.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54539e0ab1ad7d30269ec5e662e98bebab5fee9f01445fc64d7f1b9524283113"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~65 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/types/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69aee6caf0811c0f89d4b5b9a4de3bc0120b6453bd4e191a7a25daa945901c4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~61 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/events.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"270f9756bbb468a7400f38a4b6c08653f7439d6b2c9fb43cc230e411a7929312"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useStreamsExplorer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb1ddf179b637801fb558fcb9ac240e063f0421ab8cc0377c9e3c4a52b5f43"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/utils/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4990c93f18103b9acb2c3dadca0915f70399213f0aec4654c08b9a110eb00e7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/layouts/default.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb82b6e09183d9bc0c8c635318e33e158e26cc02834d9cd6f47d2d022e4e5d8a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~49 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/JsonView.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc09736630df8fe0d522c2e3c0cc365dd15517a171867d880506dce5f4e85ba"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/StreamDialog.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5f1b7923cef5d1508cc106d5fe0f465a2ec36240b7bbcc196c4a6881f58c5f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useAuth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9812d8dd0e6c41755e30047c04dd6290e565f20334c6b6a8bbfd803d7d48b1b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useStores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4664e22651b29043912f7aaf714db37ecaa25399c6fb5cc36cd77dba32c252d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useTheme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c84fa317fba74465d6cbdcb8fd7cf2a50abeebf20e90d1d1f73d8f6441e51b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~45 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/index.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e8955bf3ff90e5572fa5e5f8f3264991b6ac712940c3dc43b1a34a38032278"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useEventStoreAPI.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55857bfb12401878b8280a2ff35fa4f85499d1329c854448a9657b080c62071a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/button/Button.vue) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/button/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9119b95a30e32cabab7153031b6596f6c1823cd36d2b290c8c57d4c4130d359"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/sheet/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/sheet/SheetContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e39dbc68edbc6e432da0ccfc398e2498355279a666b5dafae7cddb4bce3f4f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useStoreFacets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9867f7a54e6a04588a37db5351364726d84763fea693c75ed3b0543c6aa8e8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/select/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/select/SelectContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e0e92cd1d17291f8931245d06dc063a40bbaa4cb16d194c0b902025fb84a7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/FacetMultiSelect.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4a0a9d7cca78df4e4416c5bf84d4a65e812e460ce666e12dd12e6111ff6c6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~26 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/dropdown-menu/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/dropdown-menu/DropdownMenuContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecae6e7871079987c2d9af5a978a18e0c51a76cac46b82de2a8d354b187c42c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/FacetList.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64c5eaf76f931b237d0cf37fd38a1e54410a4d902d226052081af86227dccf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/CopyButton.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a46099d4cde752917233a2a47a6ebd9a23a135222eacca7c5e34897fdd684"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/badge/Badge.vue) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/badge/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c200560c1818d3c05eee4d91f2390e6f9c03595278bed6d0602c50b98129b7b0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/switch/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/switch/Switch.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f71eb17f8d29b54061c57083362c719deedfbc4ba0dd69eba4d55f93f2c831e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/pages/login.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d576773148c429274e19306c5e1cef68991f66b6a2936e802dea78dfbe13be0b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/alert/Alert.vue) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/alert/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acea9c7a0f6cf622a4cfcad6726b58c27a26749a200500a3e71170a092a8cbd5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/dialog/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/dialog/DialogContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f2f3f53b5dfb3933b36ac4e1c3c2ee15cadaa901d556c25f430c5b10035390"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/dropdown-menu/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/dropdown-menu/DropdownMenuItem.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4beacd58d9862d5c23ed1d4fd73841b9c4632abe15f532459be795ed4024b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/EventTable.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412029592c8d0f136245e0f43036c837a09fbefc5e2e43cd88bfe7d949e494d1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/input/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/input/Input.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab58e2c3392a9de8b64404e75eb91850fd7102947c7b7df400b3aafdd2d6dc26"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/select/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/select/SelectItem.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8ca562da0fb0f9f4d83ddf32d904bacae99a82b9766bea6d32f9e2ef959a86"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/dropdown-menu/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/dropdown-menu/DropdownMenuRadioItem.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f459949b50cb86fa453e23fa9ebd5c87db6aaae1c0fe55ffeba7dd62f566448"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/composables/useLiveRefresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d2cb76ee111983219b046bac63c653235edd5861888e0d6554f32cf86d9c8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/button/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/button/Button.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8ae40ce7e7297ba69a3774bcca540adeb8f90db3fed17a469ce1b031b5c335"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~16 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/select/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/select/SelectTrigger.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f503fafcfb3d40c6dba715e6336dd8651c248ce726f01eb3f296b37cee5bc2d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/badge/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/badge/Badge.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2054562a368b2c224c008e9b4d3304c5c93a60008683f17c1d0adbd94d4c48"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/dropdown-menu/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/dropdown-menu/DropdownMenuLabel.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5546b4d51ce10e5d6bd1eef7e731cd6bdf48d8ec1c7d1dbad1895ced2d3f40"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (1 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ui/app/components/ui/separator/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/separator/Separator.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"098c1a08f61f7fc0a3ade864005a720f27b366f7a22d349c9143dab667fe33f1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027vue-tsc\u0027: Declared in ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a518bb70ec67b3cace787fd1350107de9020a0a230c7d07d32581efda433379"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/app/components/ui/alert/Alert.vue \u2192 ui/app/components/ui/alert/index.ts \u2192 ui/app/components/ui/alert/Alert.vue"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/alert/Alert.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4d47f30c72ecfa262ab5a39ea29c3b903145f4bbc12573c10acd73be9e231e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/app/components/ui/badge/Badge.vue \u2192 ui/app/components/ui/badge/index.ts \u2192 ui/app/components/ui/badge/Badge.vue"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/badge/Badge.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8252f341d935047790cabd96df45cee2d642c3cfa8828a982e00a45e953058f9"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/app/components/ui/button/Button.vue \u2192 ui/app/components/ui/button/index.ts \u2192 ui/app/components/ui/button/Button.vue"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/button/Button.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e3d037f6b7e49818ff109940395d772e7a8508d93a5e64997dc27f09bc098"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/app/components/ui/select/SelectContent.vue \u2192 ui/app/components/ui/select/index.ts \u2192 ui/app/components/ui/select/SelectContent.vue"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/app/components/ui/select/SelectContent.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c731c08c983981069e1ece90f5c10ec7c7d6c488277296db3fcaa74e8c5eb1d"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b01ba9a874922e55e7cdb79906b2a02e7936491713eb7ecb21e12684be1ec3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"CWE-252","shortDescription":{"text":"CWE-252"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-300","guid":"c5969c2f-022a-5059-bb13-5ac56ccacbd0","name":"CWE-300","shortDescription":{"text":"CWE-300"},"helpUri":"https://cwe.mitre.org/data/definitions/300.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"CWE-338","shortDescription":{"text":"CWE-338"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"CWE-476","shortDescription":{"text":"CWE-476"},"helpUri":"https://cwe.mitre.org/data/definitions/476.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":48,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}