{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P9","name":"Domain vs controller coverage","shortDescription":{"text":"Domain vs controller coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/P9"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"event-store.conformance.describeEventStoreConformance (cyclomatic 59): event-store.conformance.describeEventStoreConformance has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 2 of the 59 points are its own statements and the rest belongs to 41 function literals inside it that branch (lines 1005, 430, 1555, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e125d5b32c6669d0e259783a3a42035ac05fdff8ca850b5d1ff97ded2cbfb2d7"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshot-store.conformance.describeSnapshotStoreConformance (cyclomatic 53): snapshot-store.conformance.describeSnapshotStoreConformance has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to 24 function literals inside it that branch (lines 828, 549, 353, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbd4f62222bee3046c8676a123c4caddfebab1c6c8190ea2ad33774141cdb89"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.planRegistration (cyclomatic 49): plan.planRegistration has cyclomatic complexity 49 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/registration/plan.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5646660d749d8fbc4b8451dd1768917692ecc111f0be093f31c7e009f0364ba"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.planEventCollection (cyclomatic 31): plan.planEventCollection has cyclomatic complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1df80ce749a1b089f13b332dc6b26c0523fba1e07189ef8cd28d4ea95936e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.planEventMigration (cyclomatic 31): plan.planEventMigration has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"214610f42effcbd0b694021d09f5e3f067c780865da116365bff022aa345bf75"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.planSnapshotMigration (cyclomatic 29): plan.planSnapshotMigration has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d062b48c18623b321d63829b77ac74842b9bf945ee2ee9fd5ce8351c3389b"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate.runMigration (cyclomatic 25): migrate.runMigration has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a48c6c263bd8565fdba4243858398c5011a86bce11f33da27032a2620d2922"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate.execute (cyclomatic 20): migrate.execute has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb1f42d703e278d8e7d68213efe0f2cc202dadcd91bb412751d4555122fa239"}},{"ruleId":"D1","level":"warning","message":{"text":"mongodb.topology.detectEngine (cyclomatic 19): mongodb.topology.detectEngine has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.topology.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"952625af49679a2150c931d3c158bd3cacc1054b165b93c084487e39e0175c81"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.planEventSteps (cyclomatic 16): plan.planEventSteps has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/plan.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"86267c2d7f1c664774c7b88379ad7e8e46ed353acbdc4e056a48dac7a0ef10b8"}},{"ruleId":"D1","level":"warning","message":{"text":"plan.commonBlocking (cyclomatic 16): plan.commonBlocking has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b76d84d44892574f0f2d1b12561d3e113f6f5db22053e4eb376abf843e6c37"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.planRegistration (cognitive 93): plan.planRegistration has cognitive complexity 93 (threshold 15). Drivers by points: if/else 38 (73 pts), loops 6 (11 pts), boolean chains 9 (nesting depth added 40). Of this number, 81 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/registration/plan.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7275f610f5d79b2e6aa125a0c3222f35640723bc281ce9152f6b911f8c4daf"}},{"ruleId":"D2","level":"warning","message":{"text":"event-store.conformance.describeEventStoreConformance (cognitive 78): event-store.conformance.describeEventStoreConformance has cognitive complexity 78 (threshold 15). Drivers by points: loops 35 (43 pts), ternaries 12 (17 pts), if/else 9 (14 pts), boolean chains 4 (nesting depth added 18). Most of this is not in the body itself: 1 of the 78 points is its own statement and the rest belongs to 41 function literals inside it that branch (lines 430, 1005, 1555, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"574956885e4594ff18212bcea0a45154f9bd7da111e719be97fcb4e71ec2e0ee"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot-store.conformance.describeSnapshotStoreConformance (cognitive 76): snapshot-store.conformance.describeSnapshotStoreConformance has cognitive complexity 76 (threshold 15). Drivers by points: loops 31 (41 pts), ternaries 10 (18 pts), if/else 6 (11 pts), boolean chains 6 (nesting depth added 23). None of this is in the body itself: all 76 points belong to 24 function literals inside it that branch (lines 828, 549, 618, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ca588b096d35b13fb2d9f47ac8dbb08a1abe1131c1ad073a58252541f2774e"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate.runMigration (cognitive 35): migrate.runMigration has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6 (11 pts), boolean chains 6, loops 2 (4 pts), error handling 1 (nesting depth added 12). Of this number, 33 points are the body\u0027s own statements and 2 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":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8784a886bbbc56ab349f6bcc26acd19fcbcc0b8935476c234569211aa6fa81d"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate.execute (cognitive 35): migrate.execute has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 4 (9 pts), ternaries 3 (9 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 20). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"269887dc6193c1b6d187b125c00ffc87abdf062a7328efbee0ccf099d8de75f3"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.planEventCollection (cognitive 31): plan.planEventCollection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, ternaries 4 (5 pts), match/switch 1 (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9503730807fe0c53649d2701456e906655d7cc8940c24df7436db007f23f130f"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.planSnapshotMigration (cognitive 24): plan.planSnapshotMigration has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, ternaries 5 (6 pts) (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d66325fa3ec00f778371b6baaf5480c386e42718ff1140278b486fca68c6014"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.planEventMigration (cognitive 23): plan.planEventMigration has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, loops 3, ternaries 1 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 3 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aabac7c76497e01673d7978acf0edcfbd3405a1062cfbc5232fa5038c38002"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStore.appendEvents (cognitive 21): EventStore.appendEvents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-store.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86db28959f2f831c82082ff5c026d62a98c046733bbb973bcee0a7ce82dfa30"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.commonBlocking (cognitive 21): plan.commonBlocking has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, ternaries 2 (6 pts), loops 2 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd35ddf19d5508914732260a0d3e47fe26cbf4146d1b54472bcb5316ef3643a"}},{"ruleId":"D2","level":"warning","message":{"text":"json-event-serializer.toPlain (cognitive 20): json-event-serializer.toPlain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 2 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":"packages/core/lib/helpers/json-event-serializer.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67f6d62a4e6b355b9d55a460fb24626fccaf5b6545516930119a9b98e025cc"}},{"ruleId":"D2","level":"warning","message":{"text":"MariaDBSnapshotStore.appendSnapshot (cognitive 20): MariaDBSnapshotStore.appendSnapshot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147a11ab260f4492a87bc7b49efe2821eb52778ed4a8ae7f3560938dee23bae"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDBEventStore.ensureCollection (cognitive 20): MongoDBEventStore.ensureCollection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21c83bf5081ce2758b160400beaa0e2204b3804fff275eada6a6d636473c142"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresEventStore.persistEvents (cognitive 20): PostgresEventStore.persistEvents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3, ternaries 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d72b7514a0ace3a1cf7bc5cb0140130fbc85faf458c0fa24f0f91972a41e5"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.planEventSteps (cognitive 19): plan.planEventSteps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/plan.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a683a44915f14219cdcc91f0467ded22158ad9a5763cb6ebf43123b749c01d56"}},{"ruleId":"D2","level":"warning","message":{"text":"mongodb.topology.detectEngine (cognitive 19): mongodb.topology.detectEngine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.topology.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc76ca6cde868786f69c916e93863036ac7341275e248fa986d45d1e2f71eceb"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDBEventStore.persistInTransaction (cognitive 19): MongoDBEventStore.persistInTransaction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921289c44de509b630d8c1084e49e5bb086ab3e563f6f3812025a741c169fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"manifest.encodeValue (cognitive 18): manifest.encodeValue has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 7, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/cross-version/manifest.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1912ca65fb77ea53f875619b6193eb5effa1cbbfef465f99524bfd7ded1f15e"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.runUnderLease (cognitive 17): runner.runUnderLease has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/runner.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc1c6ff278b5d454d5e37e698f383365299f81e87ed1488eb852b5400e9c015"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: event-store.conformance.describeEventStoreConformance: FunctionTooLong \u2014 describeEventStoreConformance runs 1056 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 956 over it, 10.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d9996f7a99814609125714866961b0dc743be692b607afb6d4efc7149b32b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: snapshot-store.conformance.describeSnapshotStoreConformance: FunctionTooLong \u2014 describeSnapshotStoreConformance runs 575 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 475 over it, 5.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"725cf2a59bab64f03c6a6a673dcb043f56ac3e77a6ca3a48e2ebf1ac9a5f093c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/event-store.conformance.ts: FileTooLong \u2014 1172 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: describeEventStoreConformance (265-1825). The bar is 500 significant lines; this is 672 over it, 2.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e6fa0f888931bcfeaa5b8e0e744bd13695bb875bb025570705050a14308918"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plan.planRegistration: FunctionTooLong \u2014 planRegistration runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/registration/plan.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9672e0d5cc6cb426fd8e3c7994fe5313d3e72124569ff2ea3baed15c31fe5f2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/snapshot-store.conformance.ts: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: describeSnapshotStoreConformance (212-1090). The bar is 500 significant lines; this is 194 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282f14172700881b87e9933b51bde07ccb0c0aa3ab30d790e318614b986ac78b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migration/migrate.ts: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dbf91f5b97118649bb67e53e0a46b1cdac1d11f3430e64bb212e97f5a054a0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @ocoda/event-sourcing: @ocoda/event-sourcing: abstractness 0.19, instability 0.00, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1c1b8467969bd28bdad9f79334219bba66b8bf7ffc722eafb35dfd4db15fa13"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: ADR 0001: v4 core API: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/decisions/0001-v4-core-api.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477121545d896fbb7ab7ac48a085c05e16a658b90f6bdeb702f6d6d9d80edf54"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: ADR 0002: Schema v2 (global position, catalog, migration): This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/decisions/0002-schema-v2.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee292cc446c06838bb61c011a093dd066cc33c85c91c1264b9a4e654c6c1be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/integration/mariadb/lib/mariadb.event-store.ts: 9.7% line coverage (18/186)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc5f9a9aa12cca38ff73bb739020a66f79e027340fc3e6f3a9623bdc8fc4b12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/integration/mariadb/lib/mariadb.snapshot-store.ts: 6.1% line coverage (10/165)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc89d4f2d626083c9544ebd612c0a2ca073f9c1f8a0cba81076f8d1355d2e5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/integration/mariadb/lib/migration/migrate.ts: 24.4% line coverage (60/246)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78faf4dbc9d73f83679d7ed11fc24fcc93e525ff3b48d4157040c09afee95df7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/integration/postgres/lib/postgres.event-store.ts: 8.7% line coverage (18/206)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57b23e01101715c4ca9b6eb0e3ab288ae85c8714dd573788e7ff4db4f858780"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/integration/postgres/lib/postgres.snapshot-store.ts: 5.3% line coverage (7/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.snapshot-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82d7e877ec4d3af8f8566cd1960f376726a70345f749d9c2c101ca1419b19a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: refuses every 3.x event table until it is migrated: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b743d3f46cea0ea71603e7a2eb6a1a526dc4a3964a21ba55dd7ff985dc0bee4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: has every case of the fixture in the corpus: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee83304c5f96d0b1ea238d546f97571290751b13eeab52e18705bc4d8dc3611a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns every stream as 3.0.2 did, with the positions of readAll: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ea8c23d4a56e32abc04d21de8d80d81a351447a07ef17ee772e52157285aca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reads every snapshot as 3.0.2 did, with the registeredOn 3.x wrote, and the highest version as the last: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb928dea37b8740021ecaff8ee91cc54f15b9dbe9c0010132ec2be3eb495906a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns every stream as 3.0.2 did, to the millisecond, with the positions of readAll: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee09509155fc8c3cdb7ab3c4a4e392d7e69dda4a0278ad9f7ee147cd783f91a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: restores occurredOn to the millisecond 3.x appended, also for the rows a New York process shifted: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33be5e7edba45ab72cab7f615e110d1ab44f4ffeafa3a73d75cc2e9d8a5273"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns every stream as 3.0.2 did, with the positions of readAll: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/tests/cross-version/cross-version.spec.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe47c39cda75ba5cb6b3ead82638dd98d2b377182e0e1ea8ae4929eb65972a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: resolves ResultOf to the result of a Command, and to any for a plain class: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/command-bus.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98cfbdb9412e81a98948fbb2a24d19ec80842107e6d34830f9e2e2ae4124089"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: types the handler interface and the bus interface with the result of the command: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/command-bus.spec.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db59904b817bd66221329b3e97c31447c3bd1476cb982084b1c6bcc970c19d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejects what is not a command, and handlers with the wrong result, at compile time: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/command-bus.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"428c0d8ff5336353a83681a5a734296eef240ecebf382d9661ebf12956556a20"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is the envelope publisher an event store gets: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/event-bus.publish-all.spec.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e28e5da0dfe71a199efb16d1e9f3ffb0026a81baf7616ea09dfc8d4b4f41add"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: keeps accepting the 3.x publishers, which may return anything: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/event-bus.publishing.spec.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a88368227d21e175cb20df1bce5f3b6aa87a19052a92df864493e394d40231f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: resolves ResultOf and the handler interface to the result of the query: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/query-bus.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a06ecf410714a6ecd468d23884fefa94667f9f5de639e8962976cb37ddd6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejects what is not a query, and handlers with the wrong result, at compile time: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/query-bus.spec.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35fce1617cecdb0916260ccee19dc82edc2f6f196c36d69ee73e4e8895cb3f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: removes the types: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/removed-api.spec.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"897f012d95522f73459c1ca1a61bf8387446d7cd8c7f88412181327035619f66"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is Promise-only: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/snapshot-store.spec.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b360ec1b38dc3719932484849fcbe05f9314085d2be9f6f4ae8c5a4c2b6f31"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: types a driver as the class of a snapshot store, created with its options: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/snapshot-store.spec.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"890341621bf1e8fadd8c76e2b3804b0c767f4b54dfed8ed27c4090226fffe490"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defines the append options (\u00A71, \u00A78): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"735ad8b2b499c4b4c4c69b04a80843dbd161102e358406ed407aca2b95c56161"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defines the capabilities and the store context (\u00A71): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"adecd31af758467ce3775637f02d2810b5ae9d9c1b29acde496289a86c1eb576"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defines the outcome and the target of persistEvents (\u00A71): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01c25f3a0c35063fa23299bf5505668d04da84fc8a3f81cc5ca2579b463fcb7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: adds headers, the event version and the global position to the envelope metadata (\u00A78, \u00A79): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbf225747437be8f47c32b0b091ab48bc9bf8bd96bdedcd03ae4dfb3bebaf01"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defines the readAll filter (\u00A79): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ee8ed12618822ae6479d96ae7da46464a9a5f7f4f96e9a101aadfd2c59cb69"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defines the migration types: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/stores/contract-types.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b38da6fc45835dfee704a5bd02ed6f4acbd274cd1c48412476fc68af09c4055"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: narrows through instanceof and isEventSourcingError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/exceptions/exceptions.spec.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e19dc6ae0d443b8b822a53aef2563b6422c245f8ff34d0b5e0bb67d831d2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: takes an event class (ADR 0001 \u00A77): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/decorators/event-serializer.decorator.spec.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c04e2876032e41b65e5e27123a863bf5e2a0dcc7937d88b945c64465dfab3e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: takes event classes (ADR 0001 \u00A77): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/decorators/event-subscriber.decorator.spec.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f21f5a9ebc89324edc49978932b7602120b8af999f9714a434e1a20f386e93"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: needs-headers: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d90c377c6a4d9fe31338acf65ae15bd8fe2c8478c7e0489d4e2a0819a3ccb3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: needs-gap-safe: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e7753be339de2743ee26c17898947973e777596bde84acae99b4d00698193"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ungated: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"98430ec14b01799e449fa32c2f8dabf49f2d8bb36d8569730507c1785b4a44a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: documented-gap: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"976f4b35f6dd62f0cb942e682ad452fe0a0b86590dfe5c38f3ce934e7a6ab213"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gated: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d699604a878018623fc2c402afec25aaa5268c108c45956c5a6e0c8607ec2434"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: repeated: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3995378d5a1a99be738f84bd769e071af0ed3234c192b0a3090adab868c22521"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: kept: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d56949e2c9e6571eec90fa4df590097630031f2ca81b9561e94040ff34db2ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: left-out: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c391859c2d13b568ade15ec5c00a628785864cead5974958d18dd8e88d66b0f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: broken: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f201e7f16346aa8b55ecf645ab8a4cba58fb994a7f03fd9100631dd18363c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: timed: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09f0e2efc4dca66f4dcaa485f552dd3492f573f020a395a6b594f0467b4f225"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: timed: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9302575452cb9e2feda2bf629f69707130f0b8a5272b594cb568725c165378fe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: timed: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/conformance/fixtures.spec.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0934e92dd7b229d84e62d05f622774675aef2b167425c1bcbf6f727ecc33c3d"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: app.close() drains the running subscribers, then disconnects each store once: This test starts work it did not wait for (\u0060closing\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(20)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/event-bus.shutdown.spec.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048c443b936f801e49746ed8440d733b207499b221b997f6905d18048eb15aa"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: app.close() drains a publication that is still running, then disconnects each store once: This test starts work it did not wait for (\u0060appending\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(20)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/event-bus.shutdown.spec.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dcc0a1d698cd40ac545da1438639e51747b84f846a73cf6d076a4ea7b16446"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds every probe with maxTimeMS: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/tests/unit/mongodb.topology.spec.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b99d3380075e3d05c9ced5ceb773f8c31ac8366bcb0074c47746c9544373fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: holds back only the publisher that is still busy: the others get the next append at once: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/event-bus.publishing.spec.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dcc70c0053916ffeb536455ff32538058f19fde27298d152d5382a640f64a8"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite executes none of its 8 test cases: example/: The vitest suite in example/ was launched successfully and reported 8 test case(s), every one of them skipped or pending \u2014 zero passed and zero failed. The suite is declared and committed but exercises none of the code it covers, so it cannot detect a regression and its presence overstates how much of this repository is tested. This is not a report that the tests FAIL: the runner never executed them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3b4dd185a42d63ad7e1376ae79cc4072da71cefe6e68877137199121a7ad152b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/core/lib/testing/event-store.conformance.ts: packages/core/lib/testing/event-store.conformance.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in event-store.conformance.describeEventStoreConformance at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-25 13:02:36 \u002B02:00\u0027 --until=\u00272026-10-23 13:02:36 \u002B02:00\u0027 --full-history --no-merges -- packages/core/lib/testing/event-store.conformance.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7559c3fe7d1ead44f24afec2a0c4c731723c322ecd9429d6733610a2eca9e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/core/lib/testing/snapshot-store.conformance.ts: packages/core/lib/testing/snapshot-store.conformance.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in snapshot-store.conformance.describeSnapshotStoreConformance at line 212. 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-07-25..2026-10-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-25 13:02:36 \u002B02:00\u0027 --until=\u00272026-10-23 13:02:36 \u002B02:00\u0027 --full-history --no-merges -- packages/core/lib/testing/snapshot-store.conformance.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"31463c15a4a2b52709021cb17afd941e60dd4c5e439b6155ac92e69aada2556c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: payloads are stored as BSON documents, so a Date is stored and returned as a Date instead of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/tests/unit/mongodb.event-store.conformance.spec.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3161ce6f11871917edd3fcda696aad39cfbdd4240a56fbdabe0f6cd080fcf75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: payloads are stored as BSON documents, so a Date is stored and returned as a Date instead of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/tests/unit/mongodb.snapshot-store.conformance.spec.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccd94ff317a343eda06532af8b2fb3cf5d35672c9f8cbecf7ef0a6a2c08b59c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mysql): the migration runs on MariaDB only (see mariadb.migration.spec.ts) \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":"packages/integration/mariadb/tests/unit/mariadb.migration-sql.spec.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae96db4fef88003cd3f330fd127f782a7336eccdd64932d7b482e03ba4a4ea35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mysql): migrate() runs on MariaDB only, and refuses MySQL before it changes anything (mariadb.mysql.spec.ts). \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":"packages/integration/mariadb/tests/unit/mariadb.migration.spec.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"207fe5becce5d2406d30a452b6c693c1a9a06833117ad0a57b7c4d02852be3b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reads from an unknown pool yield nothing or undefined instead of failing like the SQL stores do. \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":"packages/core/tests/unit/integration/snapshot-store/in-memory.snapshot-store.conformance.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d529ed6d5a1fb04df5efa1f21a7cba99e89a97ec609031728e05a2a447ecb98a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: snapshots are kept as appended, so a Date in a payload is returned as the same Date instead of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/integration/snapshot-store/in-memory.snapshot-store.conformance.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaaea1622053fdd1a58ddecb6aabd511978bbcc6acf7588119a2d50fa5d3763"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: events are kept as serialized, so a Date in a payload is returned as the same Date instead of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/integration/event-store/in-memory.event-store.conformance.spec.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"61175f86528a7e778705f5bd133bd27b616911e165366c0994b68314b17bd87d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 8 project(s) overshoot their size bounds, lowering Project Cohesion to 7.5/10. The most over is \u0060packages/core\u0060 (10563 LoC, 228 module-visible types across 22 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2e4a8199b0383df0b48aa430030566af64c57f9a56c57669871d93c1a7e5ced"},"properties":{"commitSha":"c2a54aa0d62f6dab9a1635e1913fb4eac24dec2f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fa1b54fe860bb0a76ad6a2895ef71895cb2ae2f20307e1e8e27342ec8147aae"},"properties":{"commitSha":"91005c1950edf6ca390c98fff46370d1acf2132d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7202cc5c4681f40eda280621e1da2de4bd5149d6e2aa5a3611e45de2651a2bee"},"properties":{"commitSha":"f6ad9082346494d2b0442b4de30ecfad73c6c1e9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc90052b41a832cf1257b19b82bf1476210b51a4fcf80c03515a56f704e6e62d"},"properties":{"dependency":{"package":"multer","version":"2.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6169b0e5c646778d853e7677e20f8c0f46c8daf29e69773a46f0451e9329e212"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebe94f2b33ab219373d2f85fb44a0d0736cbc435c18fb2018ee9b6248018b14f"}},{"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":"c7ed8121765625d719361dca24d92eec5ae1be4602792ae6bdd012c272652f6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4d5b37e341f1c4446aa33d5a16affdad5034a3937403c54d657c34b1c87f4b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d6703a34c13d44b82a6f0f9b990a322bd4f333a0ac9fa62b223af5e96443c56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6566d4ab782591f4841060f214ed6d0381916e77da3239726242f4460c7ff741"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf039a68de10048a0f764d39acf1ed368aaae27cf81549dfd027ae38d9a3d1b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96cbc6a29e35037973760e54f3e72cb84da1c931b72819739f5e02f4485fe0f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c1efdb94301e4bddc8142087538d0744038b6d94fb00d5086988bc448f77693"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fa5b6a72d8ed91004e2e86dd8bb5257482825c2be934d511d7756460cc2d5e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5dff7da3c7d9a801a557aa0296bb462c8a2136639543432a3e285e5c215a7ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54968062e28a5d77fde478008c22615aa3844cc0445df15dc182f85601b0b5cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22c48bb3d1c468ec3cb924860275ed74de6e46fe4c4dceb2d82874c8e44e27b7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2dc97f4b5c7f84526ab4fe693d6cf22a410d3aa094d94dcf0a960cbc35eab80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00c915cf4d65ad6a02742226093a74c9bfe2daaf6a486ca1339b90609836c746"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a09ea289382f63418e5890e3732baa765d8b59acd879389bef592582985b4165"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b6b6a538337e4822640fb54523019e1400ee0d88a9f3c0e2c5261ee7dd0fd19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7770a4fc1fa0026f16477f5ffc36341e12fccae745e37f17f10182de5e943d2d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98e98bcfd7ec06693785369c983131c5624bb6bb65fe3101f949a645f4c05587"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f64fa56e648787fd0ee0552168fa2b90b8715e4e4444866b2bbc8def8b0ed1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25ab906a9083d7b9a839d8dd1153cab5e7bc169d508a630e70fa23ea8818cb62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3da2c3d23fcc996992d0e75193bfa16526840b235051094794a540724e3007fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11a94f2351ed1a5e7387660e405c4ec1af2a7e49eb3b752e23e9c09efaeb4061"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb22af161245d011066bba06916638d56d71b2d8dd7ae253c6c2886a2f2dced6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mariadb.event-store.ts \u2194 mariadb.snapshot-store.ts: \u0060packages/integration/mariadb/lib/mariadb.event-store.ts\u0060 and \u0060packages/integration/mariadb/lib/mariadb.snapshot-store.ts\u0060 change together 57% of the time (12 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00608ce14037\u0060 fix(mariadb,mongodb): claim gap-safe only on InnoDB and on MongoDB (#\u2026; \u0060e66ae41a\u0060 feat(mariadb): MySQL 8.4, 9.7 and Innovation as tested targets (#646); \u0060b93acfae\u0060 fix(mariadb,mongodb): surface read errors, release connections/cursor\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13284c0fde9abda38b0fa21abfbb84f6f581165da93b97e0ccb5293316cfbc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: postgres.event-store.ts \u2194 postgres.snapshot-store.ts: \u0060packages/integration/postgres/lib/postgres.event-store.ts\u0060 and \u0060packages/integration/postgres/lib/postgres.snapshot-store.ts\u0060 change together 56% of the time (14 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u00602b3f6894\u0060 fix(postgres): per-operation connections, cursor cleanup, conflict ma\u2026; \u0060f98665ea\u0060 Enable strictNullChecks in Typescript to fix multiple typing errors, \u2026; \u006037e0f94e\u0060 \u267B\uFE0F fix fetching postgres collections \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a07c2265a381a28e59ffd60a7b2166d781502b51e06905979e4219056ac55"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mongodb.event-store.ts \u2194 mongodb.snapshot-store.ts: \u0060packages/integration/mongodb/lib/mongodb.event-store.ts\u0060 and \u0060packages/integration/mongodb/lib/mongodb.snapshot-store.ts\u0060 change together 50% of the time (19 of the 38 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u0060b93acfae\u0060 fix(mariadb,mongodb): surface read errors, release connections/cursor\u2026; \u0060f98665ea\u0060 Enable strictNullChecks in Typescript to fix multiple typing errors, \u2026; \u00600a33c8ff\u0060 :sparkles: add listCollections methods to all store integrations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23ac80033a0442212a9a0444ffdfc4d60a75791f6f0743d584675e327cf9812"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: CardCaptureEvent: \u0060CardCaptureEvent\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/e2e/fixtures/banking/event-suite.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bd30bb94157b96e566c6f6b8d033eb5632603fd6bc6b4181fdf797e1808d19"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/tests/unit/mariadb.event-store.spec.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"de88030bfce34da49ba7610fbf30c49c94556ffbde937edbaede351653bc368d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/integration/mongodb/README.md names MongoDB 8, but the manifest declares \u0060mongodb\u0060 6.21.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/README.md"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc078caace91ec4482e38c2610d4614b182a7c8561862589b2e079c6d246ef48"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/src/content/docs/integrations/mariadb.mdx names MariaDB 11, but the manifest declares \u0060mariadb\u0060 3.5.4. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/content/docs/integrations/mariadb.mdx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4136ff50a534b7f28b5f6a08fb9648d0025853a08f9ed234554ca674e407e087"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/src/content/docs/integrations/mongodb.mdx names MongoDB 8, but the manifest declares \u0060mongodb\u0060 6.21.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/content/docs/integrations/mongodb.mdx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460a3b92cb24660a803af6fb8af4b4c8ecd4f51a4cceb67711d61fa93245c8c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/src/content/docs/upgrading/v4.mdx names MongoDB 7, but the manifest declares \u0060mongodb\u0060 6.21.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/content/docs/upgrading/v4.mdx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4730bac3c61d50cda1edf3d848d407c439c336c3709704d327efcc9b07a5f8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/src/content/docs/upgrading/v4.mdx names MongoDB 8, but the manifest declares \u0060mongodb\u0060 6.21.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/content/docs/upgrading/v4.mdx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fdcbd261bbb5d22661f7cdba9a3b9b44e755e53d5994f5fce3e19d55be3cee"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/src/content/docs/upgrading/versioning.mdx names MongoDB 8, but the manifest declares \u0060mongodb\u0060 6.21.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/src/content/docs/upgrading/versioning.mdx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee13d8811dd1240300114aa461c3218ccedad0d7f2b4a1a1791d58fe907791b"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/integration/mariadb\u0060 is a workspace package with 161 test(s) in 17 file(s) (e.g. \u0060packages/integration/mariadb/tests/cross-version/cross-version.spec.ts\u0060, \u0060packages/integration/mariadb/tests/e2e/module-e2e.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/package.json"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbb8a4d8d7b163b72592105c3bfc1bc7bbe7f401dfaa2936b02f52f75a25749"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/integration/mongodb\u0060 is a workspace package with 161 test(s) in 14 file(s) (e.g. \u0060packages/integration/mongodb/tests/cross-version/cross-version.spec.ts\u0060, \u0060packages/integration/mongodb/tests/e2e/module-e2e.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/package.json"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"af725106147ee8b618f1b6573b4c8699b5446251c1437bca2034b43ef0e7bdce"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/integration/postgres\u0060 is a workspace package with 180 test(s) in 9 file(s) (e.g. \u0060packages/integration/postgres/tests/cross-version/cross-version.spec.ts\u0060, \u0060packages/integration/postgres/tests/e2e/module-e2e.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/package.json"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c533267d3b1f2757ee58b4495b51ab64f5d060053d00bca2d4f9037b92ed7fd"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fixtures/cross-version/v3/writer.mjs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bbef8ffe8ac88faba3875ae5eea0287997f0ab1eb916b5401ffca06287d5d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (12 clone groups): 12 duplicated blocks under packages/integration/ have copies in at least two of the sibling directories mariadb, mongodb, postgres \u2014 9 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 12 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 12 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 12 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"febef1eaeb932ac4db26716a46b0593676f4148a2c2251b5f6f69b95bd8310b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (155 matched lines \u00D7 2 locations): packages/integration/mariadb/lib/mariadb.snapshot-store.ts:208 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:197 \u2014 the two spans are one implementation copied and then locally edited \u2014 996 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":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e6026cf9c541dc07c70539996ee63066ead3b51f42117e2610e65b892fecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (72 matched lines \u00D7 2 locations): packages/integration/mongodb/lib/mongodb.event-store.ts:121 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 549 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":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f2332997c168d24e648fba7c8fffd8c46545638714d037021688616b75e218"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): packages/integration/postgres/lib/migration/plan.ts:293 \u00B7 packages/integration/postgres/lib/migration/plan.ts:456 \u2014 the two spans are one implementation copied and then locally edited \u2014 411 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"20264c6c0fdb4c2d0044ab2167f0922b2b7a216d8454e3ff0ddfc85eff147ad9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (68 matched lines \u00D7 2 locations): packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts:69 \u00B7 packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts:226 \u2014 the two spans are one implementation copied and then locally edited \u2014 521 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"31038181fa164b8f989954c0226df21d7c912f8dedf8fab6e6ac94499e923c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (67 matched lines \u00D7 2 locations): packages/integration/mariadb/lib/mariadb.event-store.ts:119 \u00B7 packages/integration/mariadb/lib/mariadb.snapshot-store.ts:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 430 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":"packages/integration/mariadb/lib/mariadb.event-store.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3a9baa2cae2cb995397620dd1c8e8f6f886d023f11bac402a71c962faea78d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): packages/core/lib/command-bus.ts:18 \u00B7 packages/core/lib/query-bus.ts:18 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/command-bus.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4687737707aaf49c7681ebeea663f3af2e174a59abe8b32694f2802f8260fa73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): packages/integration/postgres/lib/postgres.event-store.ts:113 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:64 \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":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3509b18fca30b428f106ba3f795d7666a308758688a1847bca3e8ff7a1a685f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): packages/integration/postgres/lib/postgres.event-store.ts:217 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:161 \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":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7aecb2b2686fd97ef24c4a51f208d1b8343db388075f9b119f16e0b6ca9b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/core/lib/models/event-stream.ts:7 \u00B7 packages/core/lib/models/snapshot-stream.ts:7 \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":"packages/core/lib/models/event-stream.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baa096aee25e1db8bf7833ff3b13011a27ba044527e9eaccaea856945800488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): packages/integration/mariadb/lib/mariadb.snapshot-store.ts:351 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:251 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:311 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c08fc437adbfc73a4a991c1ec779e41161fa07cf074ff606bdaf97c570f0a8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/core/lib/exceptions/integration/event-store-version-conflict.exception.ts:23 \u00B7 packages/core/lib/exceptions/integration/snapshot-store-version-conflict.exception.ts:21 \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":"packages/core/lib/exceptions/integration/event-store-version-conflict.exception.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b78b612bfd6bbd945c82fed0e3bd1adbfb4cb6b09996216eea43316e5fc80e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:877 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:425 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3616cc979bd19a3d73a880a66c192433924e0c62d460db879b48567b3ee45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/integration/mariadb/lib/migration/plan.ts:176 \u00B7 packages/integration/mariadb/lib/migration/plan.ts:297 \u2014 the two spans are one implementation copied and then locally edited \u2014 154 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/plan.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19b85ee136052394cdbe4f34dcb644c542b11d87c7d65172a52c374a920d0b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/core/lib/models/ulid.ts:22 \u00B7 packages/core/lib/models/uuid.ts:12 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/models/ulid.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e434e18c1f12c025b1f644bbff852d4c3bf3a5dbaddd8844efa75373416c5212"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/integration/mongodb/vitest.config.mts:6 \u00B7 packages/integration/postgres/vitest.config.mts:6 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/vitest.config.mts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccf492f1faef0430bc2f9eb7c83cf39e973017a089e99eccc2d675a8a9cac7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/lib/exceptions/application/invalid-command-handler.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/invalid-query-handler.exception.ts:7 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/invalid-command-handler.exception.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f267684a24e4e6bdab600058f25d189889eb515d05a938faa39ad4b85d18b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): packages/core/lib/exceptions/application/missing-aggregate-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-command-handler-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-event-publisher-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-event-serializer-metadata.exception.ts:7 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/missing-aggregate-metadata.exception.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee5eb6460ed03bd88f3cb3fcffec3b32fd586bcdf5cf18989840055693f70cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/integration/mariadb/lib/mariadb.snapshot-store.ts:379 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:281 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:344 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aeb717783d47d3254a12bd2eb59ef2472afe44f5bf7b9aba0af41cb6b2bd67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/integration/mariadb/lib/mariadb.utils.ts:192 \u00B7 packages/integration/mongodb/lib/mongodb.utils.ts:179 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.utils.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e856b7543227ac06651cfd94a668366ded9053bc4265a023be1cb02a61a1a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/integration/postgres/lib/postgres.event-store.ts:293 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:352 \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":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"003f4ee714d94e5b5a101c52ec523e82ba7acf3f4107ec7c3bce82da9109d2a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/core/lib/exceptions/application/event-serialization.exception.ts:34 \u00B7 packages/core/lib/exceptions/application/invalid-event-envelope.exception.ts:51 \u00B7 packages/core/lib/exceptions/application/invalid-event-metadata.exception.ts:41 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/event-serialization.exception.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725740a7f3656c23bb8c90012470ef9f27716174f424bbe5f7f310498819033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/core/lib/exceptions/domain/id-already-registered.error.ts:8 \u00B7 packages/core/lib/exceptions/domain/id-not-found.error.ts:8 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/domain/id-already-registered.error.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e58be8898f113441ef53fc505cd14ea3b468e1be85406171f60eff4da78be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/integration/mariadb/lib/mariadb.snapshot-store.ts:449 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:351 \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":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9361f4cce0cc50f6691d35e80910d5a30bacc765246956e380b9b799ef038315"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/events.ts:34 \u00B7 packages/integration/mongodb/lib/migration/snapshots.ts:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/events.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f09f6fbe090a82cd2a96d867aeffea05fa2da04fc09ce9d0549e9cd5a0b383a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/events.ts:106 \u00B7 packages/integration/mongodb/lib/mongodb.event-store.ts:495 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"packages/integration/mongodb/lib/migration/events.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ffa03187c21f02fb1df5370423e1411e594104bbf09a3a836f55c9c28e12b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/inspect.ts:210 \u00B7 packages/integration/mongodb/lib/migration/inspect.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/inspect.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ab847a730c9acde9cec5fabdc79ca44c386e9507a2222bd791a6ee370623e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts:175 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:245 \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":"packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f939ec854dfe2d35bb287abc2f8c19080f2ac957bc254001294e48b44c66e40f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1749 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:1013 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8188a22dd7282d0f9b0db80e0afa14656bc03d6803ed24998257d898b3ca8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/plan.ts:573 \u00B7 packages/integration/mongodb/lib/migration/plan.ts:659 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0277dc557919c1a799de62a1bdb084dde1780af84685b6834a02921e8b9439ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/integration/mongodb/lib/mongodb.event-store.ts:206 \u00B7 packages/integration/postgres/lib/postgres.event-store.ts:210 \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":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d30b8b009042b7a603f7b2a17c37efd9891a93e7367ead3c97f1ef3d451f01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/lib/helpers/json-event-serializer.ts:150 \u00B7 packages/core/lib/helpers/json-event-serializer.ts:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/helpers/json-event-serializer.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f24c41f946d181f7ef340864ec8bc5c204e3bb711748a1a6204d0f463a9813e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts:255 \u00B7 packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts:319 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf1de6fb490b57982b463c793e022a963d366a1a81f80a8d76d36a78011975a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/testing/unit/index.ts:54 \u00B7 packages/testing/unit/index.ts:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/unit/index.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037673bf08f203e381ee76e9ddd750481ed3f232e296724712156ac45752e7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/lib/event-map.ts:69 \u00B7 packages/core/lib/event-map.ts:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-map.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe55082ccc60857c3b1d64cb04ea0a7663416923826d38e45cb48de5c3d7a065"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/core/lib/exceptions/application/command-handler-not-found.exception.ts:10 \u00B7 packages/core/lib/exceptions/application/missing-command-metadata.exception.ts:13 \u00B7 packages/core/lib/exceptions/application/missing-query-metadata.exception.ts:13 \u00B7 packages/core/lib/exceptions/application/query-handler-not-found.exception.ts:10 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/command-handler-not-found.exception.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd011f8c1e250d666070b36d9453ba44669d76a79ae1c21e9ca3734072cc5170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/lib/exceptions/application/event-not-found.exception.ts:14 \u00B7 packages/core/lib/exceptions/application/snapshot-not-found.exception.ts:14 \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":"packages/core/lib/exceptions/application/event-not-found.exception.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5506315956e814d4525c7dff4cefd7ce9b3757e6d151d9f67c9a844a81a7a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/core/lib/exceptions/integration/event-store-collection-creation.exception.ts:8 \u00B7 packages/core/lib/exceptions/integration/snapshot-store-collection-creation.exception.ts:8 \u00B7 packages/core/lib/exceptions/integration/snapshot-store-persistence.exception.ts:8 \u2014 the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/integration/event-store-collection-creation.exception.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd6eb62cdb9c23abe8de4707e2a7353b9cae61300a95c1b1bf8d6cf307e2228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:446 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:1002 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa34f21cfde4e8c353b4f6c684fd417e1bda554e54937bee4c9e29150d6942c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1026 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:736 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9d30af5a97ac9bc2518e9938b95b1e1cc8f40cfd4c5806896e011f270ed657"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1189 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:955 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6bdb5bac9fda808b532c72b7791209ad561ddf70e54453a2b7288dad7c8db1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/integration/mariadb/lib/migration/migrate.ts:648 \u00B7 packages/integration/mariadb/lib/migration/migrate.ts:659 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"30437a2642ebd5e6f90521e2f65011b3755304fc4b4fba467eb7c35f36f203e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/plan.ts:332 \u00B7 packages/integration/mongodb/lib/migration/plan.ts:361 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d79516ab2ac743a419257503c00a04c2fae03ed4213bc032e630f09fac46f52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/integration/postgres/lib/migration/migrate.ts:58 \u00B7 packages/integration/postgres/lib/postgres.helpers.ts:76 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b0f207b17971bbc9609660dc86ee375be01bce91228e23ee450a8aaa0e13c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/testing/unit/index.ts:86 \u00B7 packages/testing/unit/index.ts:151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/unit/index.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"118b7a839317cc53662c03409d0cf620a016d7ca7559297045bcadc0b1310d4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/core/lib/event-store.ts:307 \u00B7 packages/core/lib/event-store.ts:328 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-store.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f7022b7f05cde84929e962e20396252d1fad97ebdf6b4450af54a01e8ea0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1317 \u00B7 packages/core/lib/testing/event-store.conformance.ts:1366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4cc0d11f1e2153502881edb0635d82746739b4b08fe106612944152c82f078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/integration/mariadb/lib/mariadb.event-store.ts:267 \u00B7 packages/integration/postgres/lib/postgres.event-store.ts:291 \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":"packages/integration/mariadb/lib/mariadb.event-store.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb10414e1080b43ea85c9920e8ba7720fb3a89f5e808ec2a77fd180f90372c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/integration/mariadb/lib/mariadb.snapshot-store.ts:177 \u00B7 packages/integration/mongodb/lib/mongodb.snapshot-store.ts:163 \u00B7 packages/integration/postgres/lib/postgres.snapshot-store.ts:157 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2b49b4ae18628b1156a470f6540108915914e48ed9920761059dcb7c6c9805"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/integration/mongodb/lib/migration/plan.ts:319 \u00B7 packages/integration/mongodb/lib/migration/plan.ts:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd0ec49bd95e33eca47ec55ac545ad3e3731268285c18e5404638342806dec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/core/lib/class-transformer/class-transformer-event-serializer.ts:21 \u00B7 packages/core/lib/helpers/json-event-serializer.ts:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/class-transformer/class-transformer-event-serializer.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cddcd8888f4f04e09fb40263d9b6e54614974126a5e5c70bb39a4c89f8a03e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/core/lib/exceptions/application/invalid-command-handler.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/invalid-query-handler.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/unregistered-event.exception.ts:8 \u2014 the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/invalid-command-handler.exception.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f3ee0eda40450887cef1fe3afe64f580d5bc594c5ddce4974ec26b2e5bb905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): packages/core/lib/exceptions/application/missing-aggregate-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-command-handler-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-event-metadata.exception.ts:7 \u00B7 packages/core/lib/exceptions/application/missing-event-publisher-metadata.exception.ts:7 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/exceptions/application/missing-aggregate-metadata.exception.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425440339da91cdaf9f53eb217f270ead57c73d06dbddcc8118289130cb41e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:386 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:286 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac64d9a7766a62eb433f45cfd8fcaeb39686ee9e6c4246f9eba0f81a77b7541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:396 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:296 \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":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"28116817b02e40608cd8119f206193fba4e8351369aaf9980a2fbfb3eb4e5326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1779 \u00B7 packages/core/lib/testing/event-store.conformance.ts:1797 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff7fb9cbbca36e9c3fd1598fd0de50780a1b6892a22b4c45488e2cfc8bcbd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/core/lib/testing/event-store.conformance.ts:1793 \u00B7 packages/core/lib/testing/event-store.conformance.ts:1807 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e1e4f49d4b899b6cd82452bec96c304f89796223941cb3f6a2c2f7513bcbde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/core/lib/testing/snapshot-store.conformance.ts:1043 \u00B7 packages/core/lib/testing/snapshot-store.conformance.ts:1061 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc05fa1e7afeda8eb50c46338ecf395255c357dfeda01ef66a5e448f19a9b2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 86): (anonymous) has cyclomatic complexity 43 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/registration/plan.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f101186e00016d6510bd4aaa3a430da0dbfa7b8ab3f261441544bbb89b2dc29c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 30): (anonymous) has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a2d8839e2ce12495d51be94d1bfb07dae3e8b312820db1c855a7d1ffff2f81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 42): (anonymous) has cyclomatic complexity 28 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d58b076b8e279122c9b85b8413ab1f0a5d98ba1ee442fec0db90627a32239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce34646d66819e3aae46fc87df8468b2658cd61a514eb6ec1811609ce5917bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e3466f7a709c73870179533c6a12eb610476e6f68bf497e352470bd1833936"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 36): (anonymous) has cyclomatic complexity 20 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/migrate.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1c6205a56463860ff4618c41a61a5d4e599f5002400324150d5647ed8ac5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 20): (anonymous) has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.topology.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ae51026e4897052c03ea25eeed20de2baeccfef2a16af9ad2099d86b714034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/cross-version/manifest.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"481e91c25e5a63000e50fa73e956f0361bcb3bd8e741b5ff942014df3cf3528f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyze (cyclomatic 16, cognitive 16): analyze has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a42de18dc366f2ced5c0dd7eceb35e05f9f818f8d064de9348267c5355f4db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendEvents (cyclomatic 15, cognitive 22): appendEvents has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-store.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a623655aadad9c468bf66e984beec0303cf11924c959ca902016e20172e6548e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"401de19dfc61b0fa0fc91dfff587688544cff17212bb33704ab2a01c68df64d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/plan.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f85a581abefdb396928b268646417c625319f38f8d3c383f54cbb5ef943689"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e00ac870e3e8d139a9bfebe20756ac8070da54f0effa637d28e34a1ec2dfbf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/helpers/json-event-serializer.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d5e435f7a23a4bd5db2b3a2f02ab40201ce7dfcd79739b9287e05b7db39bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/stores/append-validation.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d4f23c2115cabc72d12d1404c657a8027e96dd23198a0950a0b5d9583e4837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/plan.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bea7730b7657b8c924d0ec6fec67605f8a48d614f97041c033a8057f98cf4a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 13, cognitive 13): (top-level) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/command-bus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b38f9d6aafc6f039c976b8600dd704b5f103e420927d53a03a433794bebddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 13, cognitive 13): (top-level) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/query-bus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4991752a96c2c116444e4a6f7816dfc94d7914c2934ef873670fa8c31c3680de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/registration/providers.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5742d2db39a40bb0b8da204251bbcfb15fd6b2589f76fc859027fd34578533c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/lib/testing/event-store.conformance.ts: 1630 lines of code: packages/core/lib/testing/event-store.conformance.ts has 1630 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/event-store.conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86848ab519e3376f16030f8bcfdf46965e5400b3f7f47ab841d4985cd5ca1cdd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/lib/testing/snapshot-store.conformance.ts: 966 lines of code: packages/core/lib/testing/snapshot-store.conformance.ts has 966 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/testing/snapshot-store.conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebb0b5d9738d23a8e87a2cc12de16b48b552ad774e1b77aa8ff1042ee9a2585"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mariadb/lib/migration/migrate.ts: 771 lines of code: packages/integration/mariadb/lib/migration/migrate.ts has 771 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeb27ca41f52a9757e2e6ea090b63ea6bde4e46199ff5bcf9186ce60ded17e3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mongodb/lib/migration/plan.ts: 628 lines of code: packages/integration/mongodb/lib/migration/plan.ts has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/migration/plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef3fc9bccc258d015e20920af209fec2e49512382b622e09663bf53b124c1d9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mongodb/lib/mongodb.event-store.ts: 600 lines of code: packages/integration/mongodb/lib/mongodb.event-store.ts has 600 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71910d59b5f74df6b2b7ebcfef82f328052c3a418a27b3c9a21bd6981666a72b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/postgres/lib/postgres.event-store.ts: 570 lines of code: packages/integration/postgres/lib/postgres.event-store.ts has 570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"074d39b5783953459ac4d577fc03fde9772c165e46761bacf602a6b5fa7241f2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/postgres/lib/migration/plan.ts: 549 lines of code: packages/integration/postgres/lib/migration/plan.ts has 549 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/migration/plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d1267f47f636b07a20436f4e31ef998d17c2af6d2ec5d582dc1a508290092"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mariadb/lib/mariadb.event-store.ts: 536 lines of code: packages/integration/mariadb/lib/mariadb.event-store.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f301c3f2b4d6a0d4966fca0eabc241175909f907cb004a3f2673a3f8398ffb7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mongodb/lib/mongodb.snapshot-store.ts: 525 lines of code: packages/integration/mongodb/lib/mongodb.snapshot-store.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.snapshot-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94775982c33811fabb41cdb27e803c4cc31a0dcbb049f710ab13b1b886442c6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts: 518 lines of code: packages/integration/mariadb/lib/mariadb.snapshot-store.ts has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.snapshot-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73964f0bb7e2d5d8882a65a08b974bdde88a88a5e77ed267ccedaca8dd9cfbd4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/lib/event-bus.ts: 516 lines of code: packages/core/lib/event-bus.ts has 516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-bus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2356fddd269dbc1ef9af7152fdafed57a4872b87a7cddfda9c858b6433c1ae"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mariadb/lib/mariadb.schema.ts: 429 lines of code: packages/integration/mariadb/lib/mariadb.schema.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/mariadb.schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73f5df35ec7947d6cf884460a8f36776398c29187e219ebac334798a059cf09"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/postgres/lib/postgres.snapshot-store.ts: 429 lines of code: packages/integration/postgres/lib/postgres.snapshot-store.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/lib/postgres.snapshot-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc46973567df94b35479a33521370ff861f4eb553d53c24c73157eb54c9992"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/integration/mariadb/lib/migration/sql.ts: 414 lines of code: packages/integration/mariadb/lib/migration/sql.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/sql.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7372794f2658b810aef89ee18571948db0529e723b8547bc5018e827d7806b36"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/lib/event-store.ts: 403 lines of code: packages/core/lib/event-store.ts has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1364da914870f075f2504eac5f0aeec6c42079b52f4363836d041ca5496518"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test-cross-version.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea3077f7f258810d8ced65aa565ad3cfefcef0cde9855ef3f2a3c53e9eb3c1d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test-consumers.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f75289dc4b5cebd52d248b3c623dc1026585876661131e72bf735480426301"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-packages.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53a4dcdb637f9aed69757e6ceaa1347f94e9db8276aba29d90547448b065343"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-packages.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b01fe6660a8d40fc6fccfc4bce7ca5d169e75b2f2b333fc5a441fc11547044a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/vitest.cross-version.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f0dfc852c4dcf3f7801874fb649e63ea61e1eaf831361bf968c8bdd4ac0f52"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/vitest.cross-version.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ae89747531d079ab3a0356e15bc27bbf439c6aff7b5d1a54048f793840c30d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/postgres/vitest.cross-version.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd8a1dfb95249e55c748d794dab803ce40ee6b6f939d5b0e3a1b01f58ae18e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027catalogId\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/sql.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b096958a68933de0e013258af905c0bf9879d67c305d275549d066e7b73d49f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/id.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bea510d386552f602387ac62dfc6292c8aea49305e6437f13953e5499011a5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/id.spec.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"27279ed2841036cefdc6128e1c5e1a3744acc698a94ebd325ca8fb12874bfeca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/ulid.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"933ed5eb290a933d25ea2c6b57b7823d3c0664feb3a80aabae4b646b316ece3e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/ulid.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e62b09c1f1aa559912150d0c12c796eee3ab2b0cc2dc5d8b3f853fe458d1078"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/uuid.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b71d835d4436f9d694dafb193bb0a4331b961c75ecc1a493d245683c7d98d03"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027brand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/tests/unit/models/uuid.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f2f54c3c28d6280b0a635acb86139cabc284d2569096bbe416a184e66ab2e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@arethetypeswrong/cli\u0027: Declared in the root 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":"40ad3d430346bbc43305ae8b51e1ddedcad41a27a8eb12086f8d85190ef5bb54"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027publint\u0027: Declared in the root 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":"33b6a2261f64deca5c8ca31d870ab9f41e0b2997f000450481be1569910b23f0"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): packages/core/lib/decorators/event-handler.decorator.ts \u2192 packages/core/lib/helpers/index.ts \u2192 packages/core/lib/helpers/metadata/index.ts \u2192 packages/core/lib/helpers/metadata/get-aggregate-metadata.ts \u2192 packages/core/lib/decorators/index.ts \u2192 packages/core/lib/decorators/event-handler.decorator.ts (one verified cycle inside a mutually-dependent group of 17 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/decorators/event-handler.decorator.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2865cc2ae7cbfff20a4c9f20423e6eec72b409501ee488fd93d071d6d77726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(process.env.CI) \u0026\u0026 process.env.CI !== \u0027false\u0027\u0060 appears character-identically in 2 files \u2014 packages/testing/cross-version/verify.ts, scripts/test-cross-version.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/cross-version/verify.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cf59a498a37bb8c4a633a429a205c529c46b9b4e672266c13594dd2467fad5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ddl === \u0027none\u0027 \u0026\u0026 !(await catalogExists(this.database))\u0060 appears character-identically in 2 files \u2014 packages/integration/mongodb/lib/mongodb.event-store.ts, packages/integration/mongodb/lib/mongodb.snapshot-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.event-store.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"408705aa9aa07d3400e4640baa9c37a9f7d7b362a7b0e744edb5f8dffc20d31b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter?.direction || StreamReadingDirection.FORWARD\u0060 appears character-identically in 8 files \u2014 packages/core/lib/integration/event-store/in-memory.event-store.ts, packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts, packages/integration/mariadb/lib/mariadb.event-store.ts, packages/integration/mariadb/lib/mariadb.snapshot-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/integration/event-store/in-memory.event-store.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0344f0dcd6e9ae182b20aa153bdd6914dea027adeb98392204e18808cf14b546"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter?.limit || Number.MAX_SAFE_INTEGER\u0060 appears character-identically in 8 files \u2014 packages/core/lib/integration/event-store/in-memory.event-store.ts, packages/core/lib/integration/snapshot-store/in-memory.snapshot-store.ts, packages/integration/mariadb/lib/mariadb.event-store.ts, packages/integration/mariadb/lib/mariadb.snapshot-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/integration/event-store/in-memory.event-store.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6986eb2656e9912108991bc2cb857cd36e2c4878e9ff0cc42e98a6cfd9d42cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plan.action === \u0027migrate\u0027 || plan.action === \u0027resume\u0027\u0060 appears character-identically in 2 files \u2014 packages/integration/mariadb/lib/migration/migrate.ts, packages/integration/postgres/lib/migration/migrate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e42734421bb92dcdfaac45bccac8b3908e76e7c25734406ab1d5e8e8f699f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prototype === Object.prototype || prototype === null\u0060 appears character-identically in 2 files \u2014 packages/core/lib/helpers/json-event-serializer.ts, packages/core/lib/stores/append-validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/helpers/json-event-serializer.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"91562d374366c5240af418b81744ce6cec4b73b44a31d795799b8405af9e0e3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 packages/core/lib/stores/append-arguments.ts, packages/core/lib/stores/append-validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/stores/append-arguments.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"41770e6c0fed1ff964b255e6fde5f984d77981c9b03752ee025254f940783cf3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060encodeValue\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 166 (\u0060encodeValue\u0060) with a piece of \u0060value\u0060 (and at line 173) \u2014 and nowhere in \u0060encodeValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060encodeValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/testing/cross-version/manifest.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5dbfc53698d80f0d3211baec976202679783e30fd97507b4fbf6183f714b3b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060toShell\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 136 (\u0060toShell\u0060) with a piece of \u0060value\u0060 (and at line 139) \u2014 and nowhere in \u0060toShell\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060toShell\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mongodb/lib/mongodb.schema.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaff5c9ebfd5c90a56bf9238cf4fc6b13d1fc299a1462957a62793603859bf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/lib/event-bus.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5dcaeea1c1b036c42fafe0bfbc9eef40d4245afa4f8e946cef0472b67e0f99"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/6 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~0.2 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 4 assertion(s) across the 22796 source line(s) of the 251 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/testing/cross-version/verify.ts (2), packages/integration/mongodb/lib/mongodb.event-store.ts (1), packages/integration/mongodb/lib/mongodb.snapshot-store.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060otherTransactionsOf\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/integration/mariadb/lib/migration/migrate.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9069d83fe2ddbc62290853afa919f42bff66275b8cb5343729e1a8f38521a52"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":36,"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."]}]}